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

NRF51 Custom Board - Keil Works but Makefile Does Not

Hello,

I have an NRF51822 custom board. I am trying to flash the code under

C:\Users\Home\Desktop\nrf51\nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130

I am trying to flash it with KEIL and it works. I can see NORDIC_UART device on the NRF CONNECT app for Android.

However, if I use the default makefile written already in example file directory:

C:\Users\Home\Desktop\nrf51\nRF5_SDK_12.3.0_d7731ad\examples\ble_peripheral\ble_app_uart\pca10028\s130\armgcc

It does not work. I do not give any error. It prints

Applying system reset

Run

as the last two lines on command line interface (cmd)

I compared the RAM start and size with KEIL settings. Everything is same.

I'm using

make erase

make flash_softdevice

make flash

commands.

I also tried the Makefile with the NRF51 DK, it works with DK.

Is there anything in Makefile or Am I doing something wrong? Please help!

Thanks.

Related