File tree Expand file tree Collapse file tree 3 files changed +0
-35
lines changed Expand file tree Collapse file tree 3 files changed +0
-35
lines changed Original file line number Diff line number Diff line change 6
6
7
7
cmake_minimum_required (VERSION 3.13.1 )
8
8
9
- # Enable Zephyr runner options which request mass erase if so
10
- # configured.
11
- #
12
- # Note that this also disables the default "leave" option when
13
- # targeting STM32 DfuSe devices with dfu-util, making the chip stay in
14
- # the bootloader after flashing.
15
- #
16
- # That's the right thing, because mcuboot has nothing to do since the
17
- # chip was just erased. The next thing the user is going to want to do
18
- # is flash the application. (Developers can reset DfuSE devices
19
- # manually to test mcuboot behavior on an otherwise erased flash
20
- # device.)
21
- macro (app_set_runner_args )
22
- if (CONFIG_ZEPHYR_TRY_MASS_ERASE )
23
- board_runner_args (dfu-util "--dfuse-modifiers=force:mass-erase" )
24
- board_runner_args (pyocd "--flash-opt=-e=chip" )
25
- board_runner_args (nrfjprog "--erase" )
26
- endif ()
27
- endmacro ()
28
-
29
9
# find_package(Zephyr) in order to load application boilerplate:
30
10
# http://docs.zephyrproject.org/application/application.html
31
11
find_package (Zephyr REQUIRED HINTS $ENV{ZEPHYR_BASE} )
Original file line number Diff line number Diff line change @@ -546,20 +546,6 @@ config BOOT_USB_DFU_DETECT_DELAY
546
546
547
547
endif # BOOT_USB_DFU_GPIO
548
548
549
- config ZEPHYR_TRY_MASS_ERASE
550
- bool "Try to mass erase flash when flashing MCUboot image (DEPRECATED)"
551
- select DEPRECATED
552
- help
553
- If y, attempt to configure the Zephyr build system's "flash"
554
- target to mass-erase the flash device before flashing the
555
- MCUboot image. This ensures the scratch and other partitions
556
- are in a consistent state.
557
-
558
- This is not available for all targets.
559
-
560
- This option has been deprecated, to perform a mass erase when
561
- flashing a board, `west flash --erase` should be used instead.
562
-
563
549
config BOOT_USE_BENCH
564
550
bool "Enable benchmark code"
565
551
default n
Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ CONFIG_BOOT_SIGNATURE_KEY_FILE="root-ec-p256.pem"
16
16
# by reliability reason.
17
17
CONFIG_BOOT_UPGRADE_ONLY=y
18
18
19
- # CONFIG_ZEPHYR_TRY_MASS_ERASE is not set
20
19
# CONFIG_BOARD_ENABLE_DCDC is not set
21
20
CONFIG_SOC_SERIES_NRF52X=y
22
21
CONFIG_SOC_NRF52832_QFAA=y
You can’t perform that action at this time.
0 commit comments