Commit 9315654d authored by Jamie McCrae's avatar Jamie McCrae Committed by Dominik Ermel
Browse files

zephyr: Disable and deprecate flash erase



This deprecates the flash erase Kconfig for zephyr, if this action
is required then the board should be flashed using west with the
`--erase` argument supplied instead.

Signed-off-by: default avatarJamie McCrae <jamie.mccrae@nordicsemi.no>
parent 3618f51e
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -481,8 +481,8 @@ config BOOT_USB_DFU_DETECT_DELAY
endif # BOOT_USB_DFU_GPIO

config ZEPHYR_TRY_MASS_ERASE
	bool "Try to mass erase flash when flashing MCUboot image"
	default y
	bool "Try to mass erase flash when flashing MCUboot image (DEPRECATED)"
	select DEPRECATED
	help
	  If y, attempt to configure the Zephyr build system's "flash"
	  target to mass-erase the flash device before flashing the
@@ -491,6 +491,9 @@ config ZEPHYR_TRY_MASS_ERASE

	  This is not available for all targets.

	  This option has been deprecated, to perform a mass erase when
	  flashing a board, `west flash --erase` should be used instead.

config BOOT_USE_BENCH
        bool "Enable benchmark code"
        default n