Hi, trying to build Blink for RedBear Lab nRF51822 using the nRF5 boards support, downloaded to Arduino 1.6.13 on Linux 32 bit OpenSuSE, using
https://raw.githubusercontent.com/spark … index.json
installed with BoardManager.
But build fails with:
…
/home/mikem/.arduino15/packages/SparkFun/tools/nrfutil/0.5.2-SFE/dist/nrfutil dfu genpkg --application “/tmp/arduino_build_367071/Blink.ino.bin” “/tmp/arduino_build_367071/Blink.ino.zip”
fork/exec /home/mikem/.arduino15/packages/SparkFun/tools/nrfutil/0.5.2-SFE/dist/nrfutil: exec format error
and indeed /home/mikem/.arduino15/packages/SparkFun/tools/nrfutil/0.5.2-SFE/dist/nrfutil turns out to be an ARM executable not a i686-linux-gnu executable:
file /home/mikem/.arduino15/packages/SparkFun/tools/nrfutil/0.5.2-SFE/dist/nrfutil
/home/mikem/.arduino15/packages/SparkFun/tools/nrfutil/0.5.2-SFE/dist/nrfutil: ELF 32-bit LSB executable, ARM, EABI5 version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=57df86d5b84818fe7c0bb84b7d15100b607fe520, stripped
Seems that https://cdn.sparkfun.com/assets/learn_t … ux.tar.bz2 (the origin of the nrfutils package) contains an ARM executable instead of the expected processor type:
Could this be fixed please? Im expecting some SparkFun nRF52832 Breakout boards soon and the build for that chip also suffers from the same problem.
Cheers.