Преглед на файлове

Merge branch 'feat/kconfig_c3_v1.0_dev' into 'master'

esp32c3: add development option for v1.0 chips

See merge request espressif/esp-idf!24205
Michael (XIAO Xufeng) преди 2 години
родител
ревизия
702e97e9be
променени са 2 файла, в които са добавени 15 реда и са изтрити 7 реда
  1. 6 6
      components/esp_hw_support/port/esp32c2/Kconfig.hw_support
  2. 9 1
      components/esp_hw_support/port/esp32c3/Kconfig.hw_support

+ 6 - 6
components/esp_hw_support/port/esp32c2/Kconfig.hw_support

@@ -36,14 +36,14 @@ config ESP_REV_MIN_FULL
 
 config ESP32C2_REV_MAX_FULL
     int
-    default 199
+    default 299 if ESP32C2_REV2_DEVELOPMENT
+    default 199 if !ESP32C2_REV2_DEVELOPMENT
     # keep in sync the "Maximum Supported Revision" description with this value
 
+config ESP_REV_MAX_FULL
+    int
+    default ESP32C2_REV_MAX_FULL
+
 config ESP32C2_REV2_DEVELOPMENT
     bool "Develop on ESP32-C2 v2.0 (Preview)"
     default y if IDF_CI_BUILD
-
-config ESP_REV_MAX_FULL
-    int
-    default 299 if ESP32C2_REV2_DEVELOPMENT
-    default ESP32C2_REV_MAX_FULL if !ESP32C2_REV2_DEVELOPMENT

+ 9 - 1
components/esp_hw_support/port/esp32c3/Kconfig.hw_support

@@ -19,6 +19,8 @@ choice ESP32C3_REV_MIN
         bool "Rev v0.3 (ECO3)"
     config ESP32C3_REV_MIN_4
         bool "Rev v0.4 (ECO4)"
+    config ESP32C3_REV_MIN_100
+        bool "Rev v1.0 (ECO6)"
 endchoice
 
 config ESP32C3_REV_MIN_FULL
@@ -28,6 +30,7 @@ config ESP32C3_REV_MIN_FULL
     default 2 if ESP32C3_REV_MIN_2
     default 3 if ESP32C3_REV_MIN_3
     default 4 if ESP32C3_REV_MIN_4
+    default 100 if ESP32C3_REV_MIN_100
 
 config ESP_REV_MIN_FULL
     int
@@ -45,9 +48,14 @@ config ESP_REV_MIN_FULL
 
 config ESP32C3_REV_MAX_FULL
     int
-    default 99
+    default 199 if ESP32C3_REV100_DEVELOPMENT
+    default 99 if !ESP32C3_REV100_DEVELOPMENT
     # keep in sync the "Maximum Supported Revision" description with this value
 
 config ESP_REV_MAX_FULL
     int
     default ESP32C3_REV_MAX_FULL
+
+config ESP32C3_REV100_DEVELOPMENT
+    bool "Develop on ESP32-C3 v1.0 (Preview)"
+    default y if IDF_CI_BUILD