1- comment "NOTE! Support of ESP32-P4 rev. <2 .0 and >=2 .0 is mutually exclusive"
1+ comment "NOTE! Support of ESP32-P4 rev. <3 .0 and >=3 .0 is mutually exclusive"
22comment "Read the help text of the option below for explanation"
33
4- config ESP32P4_SELECTS_REV_LESS_V2
5- bool "Select ESP32-P4 revisions <2 .0 (No >=2 .x Support)"
4+ config ESP32P4_SELECTS_REV_LESS_V3
5+ bool "Select ESP32-P4 revisions <3 .0 (No >=3 .x Support)"
66 default y
77 help
88 Select this option to support ESP32-P4 revisions 0.x and 1.x.
9- Revision 2.0 and revisions less than 2.0 have huge hardware difference.
10- Revisions higher than 2.0 (included) is not compatible with 0.x and 1.x.
9+ Revisions higher than 3.0 (included) and revisions less than 3.0
10+ have huge hardware difference.
11+ Revisions higher than 3.0 (included) is not compatible with 0.x and 1.x.
1112
1213choice ESP32P4_REV_MIN
1314 prompt "Minimum Supported ESP32-P4 Revision"
@@ -21,26 +22,26 @@ choice ESP32P4_REV_MIN
2122 this will also help to reduce binary size.
2223
2324 config ESP32P4_REV_MIN_0
24- depends on ESP32P4_SELECTS_REV_LESS_V2
25+ depends on ESP32P4_SELECTS_REV_LESS_V3
2526 bool "Rev v0.0"
2627 config ESP32P4_REV_MIN_1
27- depends on ESP32P4_SELECTS_REV_LESS_V2
28+ depends on ESP32P4_SELECTS_REV_LESS_V3
2829 bool "Rev v0.1"
2930 config ESP32P4_REV_MIN_100
30- depends on ESP32P4_SELECTS_REV_LESS_V2
31+ depends on ESP32P4_SELECTS_REV_LESS_V3
3132 bool "Rev v1.0"
32- config ESP32P4_REV_MIN_200
33- bool "Rev v2 .0"
34- depends on !ESP32P4_SELECTS_REV_LESS_V2
35- select ESPTOOLPY_NO_STUB if (IDF_ENV_FPGA || IDF_ENV_BRINGUP)
33+ config ESP32P4_REV_MIN_300
34+ bool "Rev v3 .0"
35+ depends on !ESP32P4_SELECTS_REV_LESS_V3
36+ select ESPTOOLPY_NO_STUB # TODO: IDF-13911
3637endchoice
3738
3839config ESP32P4_REV_MIN_FULL
3940 int
4041 default 0 if ESP32P4_REV_MIN_0
4142 default 1 if ESP32P4_REV_MIN_1
4243 default 100 if ESP32P4_REV_MIN_100
43- default 0 if ESP32P4_REV_MIN_200 # TODO: IDF-13410. To be updated to 200 when chip efuse is burnt
44+ default 300 if ESP32P4_REV_MIN_300
4445
4546config ESP_REV_MIN_FULL
4647 int
@@ -50,15 +51,19 @@ config ESP_REV_MIN_FULL
5051 # MAX Revision
5152 #
5253
53- comment "Maximum Supported ESP32-P4 Revision (Rev v2.99)"
54+ comment "Maximum Supported ESP32-P4 Revision (Rev v1.99)"
55+ depends on ESP32P4_SELECTS_REV_LESS_V3
56+ comment "Maximum Supported ESP32-P4 Revision (Rev v3.99)"
57+ depends on !ESP32P4_SELECTS_REV_LESS_V3
5458 # Maximum revision that IDF supports.
5559 # It can not be changed by user.
5660 # Only Espressif can change it when a new version will be supported in IDF.
5761 # Supports all chips starting from ESP32P4_REV_MIN_FULL to ESP32P4_REV_MAX_FULL
5862
5963config ESP32P4_REV_MAX_FULL
6064 int
61- default 199 #TODO: IDF-13574
65+ default 399 if !ESP32P4_SELECTS_REV_LESS_V3
66+ default 199 if ESP32P4_SELECTS_REV_LESS_V3
6267 # keep in sync the "Maximum Supported Revision" description with this value
6368
6469config ESP_REV_MAX_FULL
@@ -78,6 +83,6 @@ config ESP_EFUSE_BLOCK_REV_MIN_FULL
7883
7984config ESP_EFUSE_BLOCK_REV_MAX_FULL
8085 int
81- default 99
86+ default 199
8287 comment "Maximum Supported ESP32-P4 eFuse Block Revision (eFuse Block Rev v0.99)"
8388 # The revision in the comment must correspond to the default value of ESP_EFUSE_BLOCK_REV_MAX_FULL
0 commit comments