This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf.exe for Mac OSX

Hi

is there a possibility to make nrf.exe work under OSX? Is my understanding correct that it is actually written in python, hence, should be portable to mac osx or linux?

I found the code on github, but that were only python scripts. How is the nrf.exe compiled from python to a binary windows executable?

The reason for me asking is that my entire development environment is on Mac except the last step of generating a dfu package. Would be nice to have that available on mac as well.

Parents Reply Children
  • Is there a spec for the file format somewhere, there's snippets on the blog and you can piece it together but I haven't found more. I keep thinking of rolling this into RKNRFGO at some point but I haven't played much with DFU and it would help to have some proper docs before trying it.

  • There is some more information available on github, does that suffice?

  • For me pc-nrfutil did the trick, just followed the instructions on the github project and works like a charm. Thanks!

  • Never mind. I just changed the version of pc-nrfutil into 0.5.0 and it works nicley. ---------------------------- Hi Øyvind. I'm currently trying to use pc-nrfutil in the OS X. But it keep asking me to add '--key-file' parameter which I don't want to use. Windows version didn't ask it. And also, OS X version creates something wrong. it doesn't create correct json file. Version info is missing in there. Can you give me a simple example of use case with nrfutil OS X version?

  • I've just followed the instructions for setting it up on OSX (El Capitan) but its unhappy.

    I've got the right version of Python, installed it all, looks like no faults during installation but when I run

    nrfutil --help Fatal Python error: PyThreadState_Get: no current thread Abort trap: 6 Chriss-MacBook-Pro:pc-nrfutil-master christopher$

    Basically ends up crashing and throwing up an error.