1choice ESP32S2_REV_MIN
2    prompt "Minimum Supported ESP32-S2 Revision"
3    default ESP32S2_REV_MIN_0
4    help
5        Required minimum chip revision. ESP-IDF will check for it and
6        reject to boot if the chip revision fails the check.
7        This ensures the chip used will have some modifications (features, or bugfixes).
8
9        The complied binary will only support chips above this revision,
10        this will also help to reduce binary size.
11
12    config ESP32S2_REV_MIN_0
13        bool "Rev v0.0 (ECO0)"
14    config ESP32S2_REV_MIN_1
15        bool "Rev v1.0 (ECO1)"
16endchoice
17
18config ESP32S2_REV_MIN_FULL
19    int
20    default 0   if ESP32S2_REV_MIN_0
21    default 100 if ESP32S2_REV_MIN_1
22
23config ESP_REV_MIN_FULL
24    int
25    default ESP32S2_REV_MIN_FULL
26
27    #
28    # MAX Revision
29    #
30
31    comment "Maximum Supported ESP32-S2 Revision (Rev v1.99)"
32    # Maximum revision that IDF supports.
33    # It can not be changed by user.
34    # Only Espressif can change it when a new version will be supported in IDF.
35    # Supports all chips starting from ESP32S2_REV_MIN_FULL to ESP32S2_REV_MAX_FULL
36
37config ESP32S2_REV_MAX_FULL
38    int
39    default 199
40    # keep in sync the "Maximum Supported Revision" description with this value
41
42config ESP_REV_MAX_FULL
43    int
44    default ESP32S2_REV_MAX_FULL
45