Distributing an application to perform DFU over USB using nrfutil

Our devices are updateable over a usb serial connection.

So far I have been using the "nrfutil dfu usb-serial" command.  

I have created an application that checks current firmware version, then does the update if necessary.  I had embedded the nrfutil app, but am finding on macos that this is very problematic - I can't sandbox it, or create a hardened runtime for it as it essential needs recompiling.

I can't be the first to do this. Is there a recommended approach?

Parents Reply
  • I understand that, and have it working.

    However to distribute as part of a package for mac it has to be compiled in a secure way, called "Hardened Runtime".  The link you gave is not compatible with this method.

    I can ask our users to install manually but on mac this is very awkard (download, save to /usr/local/bin, run "chmod +x nrfutil" in a terminal, in that directory, then run "nrfutil install nrf5-tools").  I was hoping that you could suggest something more user friendly.
     

    If you have an alternative suggestions or any way you can help I would appreciate it.

Children
Related