This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52 BLE applications not working with gcc

Hi All,

I am new to the nRF processors (but not new to embedded progarming). Trying to use the evaluation board with the examples on the SDK. After realizing the freeware Keil can't link most of the due to code size limitations, I tried to get gcc to compile and flash.

I have set it up using the tutorial and it seems to be working fine on blinky. However when I try to compile BLE applications such as ble_app_proximity the compilation and linkage succeeds but when loading the app to the board it hangs and doesn't advertise. The weird thing is that the built .hex file size is 134K, while the prebuilt one, which works, is 457K.

Here's some environment info:

  1. Using Windows 10 pro
  2. Using gcc 6.3.1 (latest)
  3. Using SDK 13.0.0 (latest)
  4. using Nordic DK EVB (perhaps the version is 400150, not sure where to get the version from)
  5. Processor is nrf5283 (as far as I know).
  6. Using the directory nRF5_SDK_13.0.0_04a0bfd\examples\ble_peripheral\ble_app_proximity\pca10040\s132\armgcc I would be happy to provide further information as needed. Please help...

Thanks

Nir Tal

Related