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 MAC_BB_PD
19	bool "Power down MAC and baseband of Wi-Fi and Bluetooth when PHY is disabled"
20	depends on SOC_SERIES_ESP32C2 && TICKLESS_KERNEL
21	help
22	  If enabled, the MAC and baseband of Wi-Fi and Bluetooth will be powered
23	  down when PHY is disabled. Enabling this setting reduces power consumption
24	  by a small amount but increases RAM use by approximately 4 KB(Wi-Fi only),
25	  2 KB(Bluetooth only) or 5.3 KB(Wi-Fi + Bluetooth).
26
27endif # SOC_SERIES_ESP32C2
28