nRF5 SDK v14.1.0
Macros
DFU Bootloader configuration

Macros

#define NRF_DFU_INACTIVITY_TIMEOUT_MS
 Timeout in ms before automatically starting a valid application due to inactivity. More...
 
#define NRF_DFU_POST_SD_BL_TIMEOUT_MS
 Timeout in ms before automatically starting a valid application after a bootloader or SoftDevice update. More...
 
#define NRF_DFU_WORKAROUND_PRE_SDK_14_1_0_SD_BL_UPDATE
 Workaround for updating SD+BL with a SD that has increased size. Only valid for updates of SD+BL with BL from SDK 12.x.y - 14.0.x. This workaround has no effect in 14.1.x. More...
 
#define FLASH_BUFFER_COUNT
 Number of flash buffers. More...
 
#define FLASH_BUFFER_LENGTH
 Length of a flash buffer, in bytes. More...
 

Detailed Description

Macro Definition Documentation

#define FLASH_BUFFER_COUNT

Number of flash buffers.

Must be a power of two.

Note
This is an NRF_CONFIG macro.
#define FLASH_BUFFER_LENGTH

Length of a flash buffer, in bytes.

Must be a multiple of the word size.

Note
This is an NRF_CONFIG macro.
#define NRF_DFU_INACTIVITY_TIMEOUT_MS

Timeout in ms before automatically starting a valid application due to inactivity.

Minimum value: 100 Maximum value: 60000000

Note
This is an NRF_CONFIG macro.
#define NRF_DFU_POST_SD_BL_TIMEOUT_MS

Timeout in ms before automatically starting a valid application after a bootloader or SoftDevice update.

Minimum value: 100 Maximum value: 60000000

Note
This is an NRF_CONFIG macro.
#define NRF_DFU_WORKAROUND_PRE_SDK_14_1_0_SD_BL_UPDATE

Workaround for updating SD+BL with a SD that has increased size. Only valid for updates of SD+BL with BL from SDK 12.x.y - 14.0.x. This workaround has no effect in 14.1.x.

Set to 1 to activate.

Note
This is an NRF_CONFIG macro.

Documentation feedback | Developer Zone | Subscribe | Updated