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

nrf51-DK kit flashes but not working

For nrf 51 - DK , I flashed s130_nrf51_1.0.0_API
and then using keil uvision I copied over ble_app_uart_s130_pca_10028 and tried to compile the code,

The code failed to compile with error: C:\Keil_v5\ARM\PACK\NordicSemiconductor\nRF_Drivers\3.0.1\gpiote\nrf_drv_gpiote.c(43): error: #20: identifier "GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS" is undefined

To avoid the error I changed :

#define GPIOTE_ENABLED 0 

to

#define GPIOTE_ENABLED 1 

and it compiled successfully.

But, I dont see the LED5 or any LED blinking. I am sure my KIT is fine, but what am I missing or how do I run a demo and which one?

Related