NordicSemiconductor / Nordic-Thingy52-FW

Nordic Thingy:52 software development kit. This kit is designed to assist users in developing their own custom firmware for Thingy. Please see http://www.nordicsemi.com/thingy for the latest news and software releases.
Other
210 stars 133 forks source link

Build bootloader_secure #12

Closed rpiper closed 6 years ago

rpiper commented 7 years ago

The bootloader_secure project would not build. The Makefiles were missing several drivers source files and includes. Also, the linker scripts' FLASH region sizes needed to be increased. I was still getting linker errors on the function SEGGER_RTT_printf until the fix was made to macros_common.h.

Both the release and debug versions are now building successfully. I have tested these builds on the Thingy:52 by fully erasing, flashing s132_nrf52_3.0.0_softdevice.hex, and then flashing nrf52832_xxaa_s132.hex. I get the blinking yellow LED, and see it advertising as "ThingyDfu". I tested RTT printing on the debug version using SEGGER RTT Viewer.

koffes commented 7 years ago

Thank you for your contribution! We will have a look at your changes. Some/all of these issues have been resolved in our local repo.