Skip to content

Commit e43ded7

Browse files
author
Wang Tao
committed
Merge branch 'feat/support_esp32c2_eco4' into 'master'
feat(wifi):support esp32c2 chip version 2.0 wifi Closes WIFI-6637、IDF-10216、WIFI-6669 See merge request espressif/esp-idf!32511
2 parents 8971215 + 82a9514 commit e43ded7

File tree

8 files changed

+561
-2
lines changed

8 files changed

+561
-2
lines changed

components/esp_hw_support/port/esp32c2/Kconfig.hw_support

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,15 @@ choice ESP32C2_REV_MIN
1313
bool "Rev v1.0 (ECO1)"
1414
config ESP32C2_REV_MIN_1_1
1515
bool "Rev v1.1 (ECO2)"
16+
config ESP32C2_REV_MIN_200
17+
bool "Rev v2.0 (ECO4)"
1618
endchoice
1719

1820
config ESP32C2_REV_MIN_FULL
1921
int
2022
default 100 if ESP32C2_REV_MIN_1
2123
default 101 if ESP32C2_REV_MIN_1_1
24+
default 200 if ESP32C2_REV_MIN_200
2225

2326
config ESP_REV_MIN_FULL
2427
int

components/esp_rom/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,11 @@ else() # Regular app build
166166
# For ESP32S2, inclusion of ROM driver do not depend on CONFIG_SPI_FLASH_ROM_IMPL
167167
rom_linker_script("spiflash_legacy")
168168

169+
elseif(target STREQUAL "esp32c2")
170+
if(CONFIG_ESP32C2_REV_MIN_FULL GREATER_EQUAL 200)
171+
rom_linker_script("eco4")
172+
endif()
173+
169174
elseif(target STREQUAL "esp32c3")
170175

171176
if(CONFIG_ESP32C3_REV_MIN_FULL GREATER_EQUAL 3)

0 commit comments

Comments
 (0)