kopia lustrzana https://github.com/espressif/esp-idf
esp32c3: Adds ECO4 revision
rodzic
4b2098bc58
commit
73164b87ae
|
@ -501,7 +501,7 @@ menu "Security features"
|
||||||
config SECURE_BOOT
|
config SECURE_BOOT
|
||||||
bool "Enable hardware Secure Boot in bootloader (READ DOCS FIRST)"
|
bool "Enable hardware Secure Boot in bootloader (READ DOCS FIRST)"
|
||||||
default n
|
default n
|
||||||
depends on IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || ESP32C3_REV_MIN_3 || IDF_TARGET_ESP32S3
|
depends on IDF_TARGET_ESP32 || IDF_TARGET_ESP32S2 || ESP32C3_REV_MIN >= 3 || IDF_TARGET_ESP32S3
|
||||||
select ESPTOOLPY_NO_STUB if !IDF_TARGET_ESP32 && !IDF_TARGET_ESP32S2
|
select ESPTOOLPY_NO_STUB if !IDF_TARGET_ESP32 && !IDF_TARGET_ESP32S2
|
||||||
help
|
help
|
||||||
Build a bootloader which enables Secure Boot on first boot.
|
Build a bootloader which enables Secure Boot on first boot.
|
||||||
|
|
|
@ -39,6 +39,8 @@ menu "ESP32C3-Specific"
|
||||||
bool "Rev 2"
|
bool "Rev 2"
|
||||||
config ESP32C3_REV_MIN_3
|
config ESP32C3_REV_MIN_3
|
||||||
bool "Rev 3"
|
bool "Rev 3"
|
||||||
|
config ESP32C3_REV_MIN_4
|
||||||
|
bool "Rev 4"
|
||||||
endchoice
|
endchoice
|
||||||
|
|
||||||
config ESP32C3_REV_MIN
|
config ESP32C3_REV_MIN
|
||||||
|
@ -47,6 +49,7 @@ menu "ESP32C3-Specific"
|
||||||
default 1 if ESP32C3_REV_MIN_1
|
default 1 if ESP32C3_REV_MIN_1
|
||||||
default 2 if ESP32C3_REV_MIN_2
|
default 2 if ESP32C3_REV_MIN_2
|
||||||
default 3 if ESP32C3_REV_MIN_3
|
default 3 if ESP32C3_REV_MIN_3
|
||||||
|
default 4 if ESP32C3_REV_MIN_4
|
||||||
|
|
||||||
config ESP32C3_DEBUG_OCDAWARE
|
config ESP32C3_DEBUG_OCDAWARE
|
||||||
bool "Make exception and panic handlers JTAG/OCD aware"
|
bool "Make exception and panic handlers JTAG/OCD aware"
|
||||||
|
|
|
@ -152,7 +152,7 @@ else() # Regular app build
|
||||||
rom_linker_script("newlib-time")
|
rom_linker_script("newlib-time")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CONFIG_ESP32C3_REV_MIN_3)
|
if(CONFIG_ESP32C3_REV_MIN_3 OR CONFIG_ESP32C3_REV_MIN_4)
|
||||||
rom_linker_script("eco3")
|
rom_linker_script("eco3")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue