Closed stefaandesmet2003 closed 5 years ago
Hi @stefaandesmet2003 ! Thanks for reporting! Indeed, there was a problem with merging firmware and the softdevice binary. It should be fixed in the latest framework package. Would be great if you could test it with your board.
Hi, I have 2 issues : 1) trying to build&upload the nrf51 examples, I run into the following problem. Build is successful, but the build script's last step is to merge 'firmware.hex' and 'userfirmware.hex', but firmware.hex doesn't exist in the build directory. This gives an error on the upload step (see output log below). I can't figure out where 'firmware.hex' is supposed to come from. userfirmware.hex is built from firmware.elf; I can upload this file to the target with openocd, and it works correctly, but it requires the correct nordic SoftDevice to be already present in flash. 2) all the nrf51822.ld files in framework-mbed offset the user app in flash & ram, using offsets for a nordic SoftDevice, even when building with mbed BLE, like the mbed-ble-thermometer example. This causes the device to run out of RAM ( issue #18 ), and wastes ~90k of flash space on a double BLE stack. Is there a way to configure a build with or without nordic softdevice? Thanks for your help, Stefaan
[build step - end]
[upload step ->error ]
I'm using the platformio extension in vscode on ubuntu, with github latest platform-nordicnrf51 (which pulls framework-mbed version 5.51104.190214)