Hi all,
I am currently trying to develop my own Secure BLE DFU bootloader from the example provided in the SDK 12.3.0. I don't work on the DK, I have my own board with a nRF522832.
The example works fine but when I try to remove one of these lines in the main, the application transferred via DFU is no longer runned by the bootloader. I don't understand because these lines don't seem to be in relation with BLE or DFU functions:
/**@brief Function for initialization of LEDs. */ static void leds_init(void) { bsp_board_leds_init(); bsp_board_led_on(BSP_BOARD_LED_2); } /**@brief Function for initializing the button module. */ static void buttons_init(void) { nrf_gpio_cfg_sense_input(BOOTLOADER_BUTTON, BUTTON_PULL, NRF_GPIO_PIN_SENSE_LOW); //nrf_gpio_cfg_sense_input(30, BUTTON_PULL, NRF_GPIO_PIN_SENSE_LOW); } [...] leds_init(); buttons_init();
I don't need these lines as I have my own pin config, can I get rid of them ?
I have the same problem if I keep these lines but just change the pin number from BOOTLOADER_BUTTON to 30 (which is a button in my pin config).
Thanks