platformio / platform-nordicnrf51

Nordic nRF51: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/nordicnrf51
Apache License 2.0
20 stars 25 forks source link

NRF51822 with S130 does not work after update to v4.3 #30

Open plapointe6 opened 5 years ago

plapointe6 commented 5 years ago

Hello,

I have some code working on a BLE Nano v1.5 (NRF51822) with nrf framework v4.2 However, when I update the platform to v4.3, it doesn't work anymore.

Here is the relevant log messages :

Processing redBearLabBLENano (platform: nordicnrf51; board: redBearLabBLENano; framework: arduino)
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
PLATFORM: Nordic nRF51 > RedBearLab BLE Nano 1.5
HARDWARE: NRF51822 16MHz 32KB RAM (256KB Flash)
DEBUG: CURRENT(cmsis-dap) ON-BOARD(cmsis-dap) EXTERNAL(blackmagic, jlink, stlink)
Warning! Cannot find an appropriate softdevice binary!

I am pretty sure that the issue is related to this warning above (Cannot find an appropriate softdevice binary).

I use the softdevice S130, here is the relevant platformio.ini config :

[env:redBearLabBLENano]
platform = nordicnrf51
board = redBearLabBLENano
framework = arduino
build_flags = -DNRF51_S130