Basic bootloader. More...
Modules | |
Application start | |
Information | |
Functions | |
uint32_t | nrf_bootloader_init (void) |
Function for initializing the bootloader. More... | |
uint32_t | nrf_bootloader_user_init (void) |
Function for customizing the bootloader initialization. More... | |
Basic bootloader.
The bootloader module can be used to implement a basic bootloader that can be extended with, for example, Device Firmware Update (DFU) support or custom functionality.
uint32_t nrf_bootloader_init | ( | void | ) |
Function for initializing the bootloader.
This function is the entry point of all bootloader operations. If DFU functionality is compiled in, the DFU process is initialized when running this function.
NRF_SUCCESS | If the bootloader was successfully initialized. Any other return code indicates that the operation failed. |
uint32_t nrf_bootloader_user_init | ( | void | ) |
Function for customizing the bootloader initialization.
This function is called during the initialization of the bootloader. It is implemented as weak function that can be overridden in the main file of the application.
NRF_SUCCESS | If the user initialization was run successfully. |