2024-05-30 04:58:15 +08:00
|
|
|
# Copyright (c) 2024 Espressif Systems (Shanghai) Co., Ltd.
|
2024-05-21 03:27:02 +08:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
config SOC_SERIES_ESP32C6
|
|
|
|
select RISCV
|
|
|
|
select RISCV_GP
|
|
|
|
select DYNAMIC_INTERRUPTS
|
|
|
|
select CLOCK_CONTROL
|
|
|
|
select PINCTRL
|
|
|
|
select RISCV_ISA_RV32I
|
2024-05-30 04:58:15 +08:00
|
|
|
select RISCV_ISA_EXT_A
|
2024-05-21 03:27:02 +08:00
|
|
|
select RISCV_ISA_EXT_M
|
|
|
|
select RISCV_ISA_EXT_C
|
|
|
|
select RISCV_ISA_EXT_ZICSR
|
|
|
|
select HAS_ESPRESSIF_HAL
|
2024-08-02 23:20:38 +08:00
|
|
|
select HAS_PM
|
|
|
|
select HAS_POWEROFF
|
2024-05-21 03:27:02 +08:00
|
|
|
|
|
|
|
if SOC_SERIES_ESP32C6
|
|
|
|
|
|
|
|
config ESP32_PHY_MAX_WIFI_TX_POWER
|
|
|
|
int "Max WiFi TX power (dBm)"
|
|
|
|
range 10 20
|
|
|
|
default 20
|
|
|
|
help
|
|
|
|
Set maximum transmit power for WiFi radio. Actual transmit power for high
|
|
|
|
data rates may be lower than this setting.
|
|
|
|
|
|
|
|
config ESP32_PHY_MAX_TX_POWER
|
|
|
|
int
|
|
|
|
default ESP32_PHY_MAX_WIFI_TX_POWER
|
|
|
|
|
|
|
|
config MAC_BB_PD
|
|
|
|
bool "Power down MAC and baseband of Wi-Fi and Bluetooth when PHY is disabled"
|
|
|
|
depends on SOC_SERIES_ESP32C6 && TICKLESS_KERNEL
|
|
|
|
help
|
|
|
|
If enabled, the MAC and baseband of Wi-Fi and Bluetooth will be powered
|
|
|
|
down when PHY is disabled. Enabling this setting reduces power consumption
|
|
|
|
by a small amount but increases RAM use by approximately 4 KB(Wi-Fi only),
|
|
|
|
2 KB(Bluetooth only) or 5.3 KB(Wi-Fi + Bluetooth).
|
|
|
|
|
|
|
|
endif # SOC_SERIES_ESP32C6
|