sparkfun / Arduino_Boards

Board definitions for SparkFun-manufactured AVR, ARM, and ESP-based Arduino boards.
263 stars 125 forks source link

Incorrect nrfutil linking for Sparkfun nRF52832 Breakout #18

Open dcellucci opened 7 years ago

dcellucci commented 7 years ago

Hello,

I was having trouble compiling sketches using the Sparkfun board definition for the nRF52832, and I ended up identifying that the nrfutil executable linked in platform.txt was faulty. I am running OSX 10.10 with Xcode CLT 7.2 and Anaconda 4.1.6. I suspect it's because the version of nrfutil in this repository was built for a later version of OSX (it says it was built for 10.12)

I found that replacing the nrfutil in the Sparkfun/tools folder with a symlink to the executable whose path is found using which nrfutil fixed the problem. However, probably something more robust is in order.

ToniCorinne commented 7 years ago

@jimblom think you could take a look at this?

dsanders11 commented 6 years ago

Ran into this same issue, 8 months later. It should be as simple as SparkFun simply rebuilding the package with the OS target being an earlier version like 10.9 or 10.10.