| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Modules | Functions
Bootloader
Bootloader modules

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

Return values

  NRF_SUCCESS | If the user initialization was run successfully.