From d7d636d1f2a9f04b71da25fee82655363687bf96 Mon Sep 17 00:00:00 2001 From: Jamie McCrae Date: Thu, 28 Nov 2024 07:53:18 +0000 Subject: [PATCH] soc: expressif: esp32c3: Fix wrong placement of Kconfig Fixes a wrong placement of a Kconfig which was put into the wrong file and was bleeding through to every board Signed-off-by: Jamie McCrae --- soc/espressif/esp32c3/Kconfig | 8 ++++++++ soc/espressif/esp32c3/Kconfig.soc | 7 ------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/soc/espressif/esp32c3/Kconfig b/soc/espressif/esp32c3/Kconfig index 571a7ba1dd8..3e5455ddeb7 100644 --- a/soc/espressif/esp32c3/Kconfig +++ b/soc/espressif/esp32c3/Kconfig @@ -17,6 +17,14 @@ config SOC_SERIES_ESP32C3 if SOC_SERIES_ESP32C3 +config SOC_ESP32C3_FH4X + select SOC_ESP32C3_REV_1_1 + +config SOC_ESP32C3_REV_1_1 + bool "SOC is revision v1.1" + help + ESP32-C3 revision v1.1 has updated ROM functions for Wi-Fi and BLE that + can free up to 35kB of RAM. config MAC_BB_PD bool "Power down MAC and baseband of Wi-Fi and Bluetooth when PHY is disabled" diff --git a/soc/espressif/esp32c3/Kconfig.soc b/soc/espressif/esp32c3/Kconfig.soc index 44699949359..1c7f134a837 100644 --- a/soc/espressif/esp32c3/Kconfig.soc +++ b/soc/espressif/esp32c3/Kconfig.soc @@ -22,7 +22,6 @@ config SOC_ESP32C3_FH4 config SOC_ESP32C3_FH4X bool select SOC_ESP32C3 - select SOC_ESP32C3_REV_1_1 help ESP32C3_FH4X @@ -50,12 +49,6 @@ config SOC_ESP32C3 help ESP32C3 -config SOC_ESP32C3_REV_1_1 - bool "SOC is revision v1.1" - help - ESP32-C3 revision v1.1 has updated ROM functions for Wi-Fi and BLE that - can free up to 35kB of RAM. - config SOC_SERIES default "esp32c3" if SOC_SERIES_ESP32C3