mirror of
https://github.com/espressif/ESP8266_RTOS_SDK.git
synced 2025-07-04 08:03:31 +08:00
feat(bootloader): remove unused option
Users can enable/disable these option at "app_update".
This commit is contained in:
@ -39,18 +39,6 @@ config LOG_BOOTLOADER_LEVEL
|
||||
default 4 if LOG_BOOTLOADER_LEVEL_DEBUG
|
||||
default 5 if LOG_BOOTLOADER_LEVEL_VERBOSE
|
||||
|
||||
config BOOTLOADER_CHECK_APP_SUM
|
||||
bool "Check APP binary data sum before loading"
|
||||
default y
|
||||
help
|
||||
If enable this option, bootloader will check the sum of app binary data before load it to run.
|
||||
|
||||
config BOOTLOADER_CHECK_APP_HASH
|
||||
bool "Check APP binary data hash before loading"
|
||||
default n
|
||||
help
|
||||
If enable this option, bootloader will check the hash of app binary data before load it to run.
|
||||
|
||||
config BOOTLOADER_SPI_WP_PIN
|
||||
int "SPI Flash WP Pin when customising pins via efuse (read help)"
|
||||
range 0 33
|
||||
|
@ -5,11 +5,3 @@ $(SECURE_BOOT_SIGNING_KEY):
|
||||
@echo "Keep key file safe after generating."
|
||||
@echo "(See secure boot documentation for risks & alternatives.)"
|
||||
@exit 1
|
||||
|
||||
ifdef CONFIG_BOOTLOADER_CHECK_APP_SUM
|
||||
CFLAGS += -DCONFIG_ENABLE_BOOT_CHECK_SUM=1
|
||||
endif
|
||||
|
||||
ifdef CONFIG_BOOTLOADER_CHECK_APP_HASH
|
||||
CFLAGS += -DCONFIG_ENABLE_BOOT_CHECK_SHA256=1
|
||||
endif
|
||||
|
Reference in New Issue
Block a user