sparkfun / nRF52832_Breakout

Breakout board for the Nordic nRF52832, a BLE/ANT/2.4GHz, Cortex-M4F SoC.
Other
74 stars 39 forks source link

Compiling the bootloader #7

Closed No1089 closed 6 years ago

No1089 commented 6 years ago

Hi, I am trying to compile the bootloader, but I am not succeeding. I want to use the Ruuvitag and need to redefine the serial pins - hence I am not using a direct upload of the precompiled .hex files. Running make gives me countless errors - first being that the SDK is not seeing armgcc. It is looking for a specific armgcc version, so I had to manually edit this. The second issue is that nrf.h is not being picked up. (fatal error: nrf.h: No such file or directory)

So I am a bit lost at the moment. Any ideas? I am compiling on OSX High Sierra. Tearing my hair out at the moment. Is it possibly because I am using SDK 15 vs. 11?

No1089 commented 6 years ago

And that solved it! While I was typing this I realised the SDK version is the problem. My biggest issue was it not finding armgcc - which led me to download all possible SDKs, before eventually editing the hardcoded path.