1# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd. 2# SPDX-License-Identifier: Apache-2.0 3 4config SOC_SERIES_ESP32C2 5 select RISCV 6 select RISCV_SOC_HAS_GP_RELATIVE_ADDRESSING 7 select DYNAMIC_INTERRUPTS 8 select CLOCK_CONTROL 9 select PINCTRL 10 select RISCV_ISA_RV32I 11 select RISCV_ISA_EXT_M 12 select RISCV_ISA_EXT_C 13 select RISCV_ISA_EXT_ZICSR 14 select HAS_ESPRESSIF_HAL 15 16if SOC_SERIES_ESP32C2 17 18config SOC_ESP32C2_REV_2_0 19 bool "SOC is revision v2.0 (ECO4)" 20 help 21 ESP32-C2 revision v2.0 has updated ROM functions. 22 23config MAC_BB_PD 24 bool "Power down MAC and baseband of Wi-Fi and Bluetooth when PHY is disabled" 25 depends on SOC_SERIES_ESP32C2 && TICKLESS_KERNEL 26 help 27 If enabled, the MAC and baseband of Wi-Fi and Bluetooth will be powered 28 down when PHY is disabled. Enabling this setting reduces power consumption 29 by a small amount but increases RAM use by approximately 4 KB(Wi-Fi only), 30 2 KB(Bluetooth only) or 5.3 KB(Wi-Fi + Bluetooth). 31 32endif # SOC_SERIES_ESP32C2 33