mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
fix(esp_system): Fix build when ANTI_ROLLBACK=y and PANIC_SILENT_REBOOT=y
Fix a case when two options are set as CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK=y CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT=y Closes https://github.com/espressif/esp-idf/issues/13417
This commit is contained in:
parent
962d9de65e
commit
00f2e33008
@ -114,7 +114,7 @@ endif()
|
||||
# need to introduce panic "event" concept to remove this dependency (IDF-2194)
|
||||
idf_component_optional_requires(PRIVATE esp_gdbstub)
|
||||
|
||||
if(NOT CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT)
|
||||
if(NOT CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT OR CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK)
|
||||
idf_component_optional_requires(PRIVATE esp_app_format)
|
||||
endif()
|
||||
|
||||
|
6
tools/test_apps/system/build_test/partitions.csv
Normal file
6
tools/test_apps/system/build_test/partitions.csv
Normal file
@ -0,0 +1,6 @@
|
||||
# Name, Type, SubType, Offset, Size, Flags
|
||||
nvs, data, nvs, 0xA000, 0x4000,
|
||||
otadata, data, ota, 0xE000, 0x2000,
|
||||
ota_0, app, ota_0, , 1M,
|
||||
ota_1, app, ota_1, , 1M,
|
||||
nvs_key, data, nvs_keys, , 4K,
|
|
@ -0,0 +1,8 @@
|
||||
CONFIG_IDF_TARGET="esp32"
|
||||
CONFIG_BOOTLOADER_LOG_LEVEL_NONE=y
|
||||
CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE=y
|
||||
CONFIG_BOOTLOADER_APP_ANTI_ROLLBACK=y
|
||||
CONFIG_ESPTOOLPY_FLASHSIZE_4MB=y
|
||||
CONFIG_PARTITION_TABLE_CUSTOM=y
|
||||
CONFIG_PARTITION_TABLE_OFFSET=0x9000
|
||||
CONFIG_ESP_SYSTEM_PANIC_SILENT_REBOOT=y
|
Loading…
Reference in New Issue
Block a user