1- config ESP32P4_REV_LESS_V2_SUPPORT
2- bool "Support ESP32-P4 revisions <2.0"
1+ comment "NOTE! Support of ESP32-P4 rev. <2.0 and >=2.0 is mutually exclusive"
2+ comment "Read the help text of the option below for explanation"
3+
4+ config ESP32P4_SELECTS_REV_LESS_V2
5+ bool "Select ESP32-P4 revisions <2.0 (No >=2.x Support)"
36 default y
47 help
5- Enable this option to support ESP32-P4 revisions 0.x and 1.x.
8+ Select this option to support ESP32-P4 revisions 0.x and 1.x.
69 Revision 2.0 and revisions less than 2.0 have huge hardware difference.
7-
8- comment "NOTE! Support of ESP32-P4 rev. <2.0 and >=2.0 is mutually exclusive"
9- comment "Read the help text of the option below for explanation"
10+ Revisions higher than 2.0 (included) is not compatible with 0.x and 1.x.
1011
1112choice ESP32P4_REV_MIN
1213 prompt "Minimum Supported ESP32-P4 Revision"
@@ -20,14 +21,17 @@ choice ESP32P4_REV_MIN
2021 this will also help to reduce binary size.
2122
2223 config ESP32P4_REV_MIN_0
24+ depends on ESP32P4_SELECTS_REV_LESS_V2
2325 bool "Rev v0.0"
2426 config ESP32P4_REV_MIN_1
27+ depends on ESP32P4_SELECTS_REV_LESS_V2
2528 bool "Rev v0.1"
2629 config ESP32P4_REV_MIN_100
30+ depends on ESP32P4_SELECTS_REV_LESS_V2
2731 bool "Rev v1.0"
2832 config ESP32P4_REV_MIN_200
2933 bool "Rev v2.0"
30- depends on !ESP32P4_REV_LESS_V2_SUPPORT
34+ depends on !ESP32P4_SELECTS_REV_LESS_V2
3135 select ESPTOOLPY_NO_STUB if (IDF_ENV_FPGA || IDF_ENV_BRINGUP)
3236endchoice
3337
@@ -36,7 +40,7 @@ config ESP32P4_REV_MIN_FULL
3640 default 0 if ESP32P4_REV_MIN_0
3741 default 1 if ESP32P4_REV_MIN_1
3842 default 100 if ESP32P4_REV_MIN_100
39- default 0 if ESP32P4_REV_MIN_200 # To be updated to 200 when chip efuse is burnt
43+ default 0 if ESP32P4_REV_MIN_200 # TODO: IDF-13410. To be updated to 200 when chip efuse is burnt
4044
4145config ESP_REV_MIN_FULL
4246 int
@@ -54,7 +58,7 @@ config ESP_REV_MIN_FULL
5458
5559config ESP32P4_REV_MAX_FULL
5660 int
57- default 299
61+ default 199 #TODO: IDF-13574
5862 # keep in sync the "Maximum Supported Revision" description with this value
5963
6064config ESP_REV_MAX_FULL
0 commit comments