1# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
2# SPDX-License-Identifier: Apache-2.0
3
4config SOC_SERIES_ESP32C3
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	select HAS_PM
16	select HAS_POWEROFF
17
18if SOC_SERIES_ESP32C3
19
20config SOC_ESP32C3_FH4X
21	select SOC_ESP32C3_REV_1_1
22
23config SOC_ESP32C3_REV_1_1
24	bool "SOC is revision v1.1"
25	help
26	  ESP32-C3 revision v1.1 has updated ROM functions for Wi-Fi and BLE that
27	  can free up to 35kB of RAM.
28
29config MAC_BB_PD
30	bool "Power down MAC and baseband of Wi-Fi and Bluetooth when PHY is disabled"
31	depends on SOC_SERIES_ESP32C3 && TICKLESS_KERNEL
32	default n
33	help
34	  If enabled, the MAC and baseband of Wi-Fi and Bluetooth will be powered
35	  down when PHY is disabled. Enabling this setting reduces power consumption
36	  by a small amount but increases RAM use by approximately 4 KB(Wi-Fi only),
37	  2 KB(Bluetooth only) or 5.3 KB(Wi-Fi + Bluetooth).
38
39endif # SOC_SERIES_ESP32C3
40