-
CONFIG_DISABLE_FLASH_PATCH
¶
Disable Cortex-M4 Flash Patch capabilities
Type: bool
Help¶
The flash patch can be used by malicious code to circumvent secure boot checks. Note that disabling flash patching also disables breakpoints.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At <nRF>/lib/flash_patch/Kconfig:7
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:9
→ <BuildDir>/Kconfig/Kconfig.modules:1
→ <nRF>/Kconfig.nrf:26
→ <nRF>/lib/Kconfig:15
Menu path: (Top) → Modules → Nordic nRF Connect → Libraries
config DISABLE_FLASH_PATCH bool "Disable Cortex-M4 Flash Patch capabilities" depends onSOC_NRF52840
&&REBOOT
help The flash patch can be used by malicious code to circumvent secure boot checks. Note that disabling flash patching also disables breakpoints.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)