Macros | |
#define | NRF_BL_APP_CRC_CHECK_SKIPPED_ON_GPREGRET2 |
Skip CRC integrity check of the application when bit 1 (0-indexed) is set in the GPREGRET2 register. More... | |
#define | NRF_BL_APP_CRC_CHECK_SKIPPED_ON_SYSTEMOFF_RESET |
Skip integrity check of the application when waking up from the System Off state. More... | |
#define | NRF_BL_APP_SIGNATURE_CHECK_REQUIRED |
Perform signature check on the app. Requires the signature to be sent in the init packet. More... | |
#define | NRF_BL_DFU_ALLOW_UPDATE_FROM_APP |
Whether to allow the app to receive firmware updates for the bootloader to activate. More... | |
#define | NRF_BL_DFU_ENTER_METHOD_BUTTON |
Enter DFU mode on button press. More... | |
#define | NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN |
Button for entering DFU mode. More... | |
#define | NRF_BL_DFU_ENTER_METHOD_PINRESET |
Enter DFU mode on pin reset. More... | |
#define | NRF_BL_DFU_ENTER_METHOD_GPREGRET |
Enter DFU mode when bit 1 (0-indexed) is set in the NRF_POWER_GPREGRET register. More... | |
#define | NRF_BL_DFU_ENTER_METHOD_BUTTONLESS |
Enter DFU mode when the Boolean enter_buttonless_dfu in DFU settings is true. More... | |
#define | NRF_BL_DFU_CONTINUATION_TIMEOUT_MS |
Timeout in ms when expecting an update immediately. More... | |
#define | NRF_BL_DFU_INACTIVITY_TIMEOUT_MS |
Timeout in ms before automatically starting a valid application due to inactivity. More... | |
#define | NRF_BL_WDT_MAX_SCHEDULER_LATENCY_MS |
Maximum latency of the scheduler in miliseconds. More... | |
#define | NRF_BL_FW_COPY_PROGRESS_STORE_STEP |
Number of pages copied after which progress in the settings page is updated. More... | |
#define NRF_BL_APP_CRC_CHECK_SKIPPED_ON_GPREGRET2 |
Skip CRC integrity check of the application when bit 1 (0-indexed) is set in the GPREGRET2 register.
Only CRC checks can be skipped. For other boot validation types, the GPREGRET2 register is ignored.
Set to 1 to activate.
#define NRF_BL_APP_CRC_CHECK_SKIPPED_ON_SYSTEMOFF_RESET |
Skip integrity check of the application when waking up from the System Off state.
Only CRC checks can be skipped. For other boot validation types, the reset state is ignored.
Set to 1 to activate.
#define NRF_BL_APP_SIGNATURE_CHECK_REQUIRED |
Perform signature check on the app. Requires the signature to be sent in the init packet.
Set to 1 to activate.
#define NRF_BL_DFU_ALLOW_UPDATE_FROM_APP |
Whether to allow the app to receive firmware updates for the bootloader to activate.
Enable this to allow the app to instruct the bootloader to activate firmware. The bootloader will do its own postvalidation.
Set to 1 to activate.
#define NRF_BL_DFU_CONTINUATION_TIMEOUT_MS |
Timeout in ms when expecting an update immediately.
This timeout is used after updating the SoftDevice, when there is already a valid application present. The bootloader will enter DFU mode for a short time instead of booting the old application to allow the host to immediately transfer a new application if it wishes.
Minimum value: 100 Maximum value: 60000000
#define NRF_BL_DFU_ENTER_METHOD_BUTTON |
Enter DFU mode on button press.
Set to 1 to activate.
#define NRF_BL_DFU_ENTER_METHOD_BUTTON_PIN |
Button for entering DFU mode.
Following options are available:
#define NRF_BL_DFU_ENTER_METHOD_BUTTONLESS |
Enter DFU mode when the Boolean enter_buttonless_dfu in DFU settings is true.
Set to 1 to activate.
#define NRF_BL_DFU_ENTER_METHOD_GPREGRET |
Enter DFU mode when bit 1 (0-indexed) is set in the NRF_POWER_GPREGRET register.
Set to 1 to activate.
#define NRF_BL_DFU_ENTER_METHOD_PINRESET |
Enter DFU mode on pin reset.
Set to 1 to activate.
#define NRF_BL_DFU_INACTIVITY_TIMEOUT_MS |
Timeout in ms before automatically starting a valid application due to inactivity.
If 0, no inactivity timer will be used. Values 1-99 are invalid.
Minimum value: 0 Maximum value: 60000000
#define NRF_BL_FW_COPY_PROGRESS_STORE_STEP |
Number of pages copied after which progress in the settings page is updated.
Progress stored in the settings page allows the bootloader to resume copying the new firmware in case of interruption (reset). If the value is small, then the resume point is more accurate. However, it also impacts negatively on flash wear.
#define NRF_BL_WDT_MAX_SCHEDULER_LATENCY_MS |
Maximum latency of the scheduler in miliseconds.
Maximum latency of the scheduler is compared with watchdog counter reload value (CRV). If latency is big enough, the watchdog will be fed from internal timer handler along with feed from user function. If latency is smaller than CRV, the watchdog will not be internally fed once it will be externally fed. Maximum latency is mainly affected by flash operations.