nRF5 SDK v12.1.0
Modules | Functions

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...
 

Detailed Description

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.

Function Documentation

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.

Return values
NRF_SUCCESSIf 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.

Return values
NRF_SUCCESSIf the user initialization was run successfully.

Documentation feedback | Developer Zone | Subscribe | Updated