Compiling sketches for the nRF52840 proc board results in the below errors (debug output at the bottom for completeness):
arm-none-eabi-g++: error: softfp: No such file or directory
arm-none-eabi-g++: error: fpv4-sp-d16: No such file or directory
This occurs no matter the OS or Arduino IDE version (1.8.19, 2.0.0-rc5). Searching the Net turned up at least one reference to the board library version including breaking changes, so I tried installing Arduino Mbed OS Nano Boards versions older than the current 3.0.0, but the Boards Manager only lists versions back to 2.0.0, not as old as the 1.3.1 listed in the Hookup Guide. Everything from 2.0.0 to 3.0.0 exhibits the same behavior.
I can get limited functionality by letting the IDE auto-identify it as the Nano 33 BLE but this is pretty dodgy.
Can someone tell me if I’m overlooking anything?
Using board ‘sfnrf52840pb’ from platform in folder: C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0
Using core ‘arduino’ from platform in folder: C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0
Detecting libraries used…
“C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -c -w -g3 -nostdlib “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/defines.txt” “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/cxxflags.txt” -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 softfp fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino/api/deprecated” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino/api/deprecated-avr-comp” “-iprefixC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino” “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/includes.txt” “C:\Users\jmcmahon\AppData\Local\Temp\arduino-sketch-7DCB38309A5D2B59B996DA9BE88A5117\sketch\sketch_mar25a.ino.cpp” -o nul
Error while detecting libraries included by C:\Users\jmcmahon\AppData\Local\Temp\arduino-sketch-7DCB38309A5D2B59B996DA9BE88A5117\sketch\sketch_mar25a.ino.cpp
Generating function prototypes…
“C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4/bin/arm-none-eabi-g++” -c -w -g3 -nostdlib “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/defines.txt” “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/cxxflags.txt” -DARDUINO_ARCH_NRF52840 -mcpu=cortex-m4 softfp fpv4-sp-d16 -w -x c++ -E -CC -DARDUINO=10607 -DARDUINO_ARDUINO_NANO33BLE -DARDUINO_ARCH_MBED_NANO -DARDUINO_ARCH_MBED -DARDUINO_LIBRARY_DISCOVERY_PHASE=1 “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino/api/deprecated” “-IC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino/api/deprecated-avr-comp” “-iprefixC:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\cores\arduino” “@C:\Users\jmcmahon\AppData\Local\Arduino15\packages\arduino\hardware\mbed_nano\3.0.0\variants\SF_MM_nRF52840_PB/includes.txt” “C:\Users\jmcmahon\AppData\Local\Temp\arduino-sketch-7DCB38309A5D2B59B996DA9BE88A5117\sketch\sketch_mar25a.ino.cpp” -o “C:\Users\jmcmahon\AppData\Local\Temp\arduino-sketch-7DCB38309A5D2B59B996DA9BE88A5117\preproc\ctags_target_for_gcc_minus_e.cpp”
arm-none-eabi-g++: error: softfp: No such file or directory
arm-none-eabi-g++: error: fpv4-sp-d16: No such file or directory