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

Configuring LEDs for bootloader_secure-Example on custom-board

Hello,

I am using the bootloader_secure-Example on a custom-board and I want to configure a LED as status-indication.

Since I am on a custom-board I disabled the functions leds_init() and buttons_init(), that would provide some functionality when using a nRF52-DK. I also included the GPIOTE_ENABLED-section inside the sdk_config.h for the bootloader_secure-Example.

Afterwards I tried to simply trigger the LED with the following commands:

nrf_gpio_cfg_output(27);
nrf_gpio_pin_set(27);

Is there any reason why this might not work with the bootloader_secure-Example?

Besides some significant overhead it doesnt take much more in my application-programm to configure the LEDs on my custom-board, but it seems I might have overlooked something...

Any ideas?

Related