# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
# SPDX-License-Identifier: Apache-2.0

config SOC_FAMILY_ESPRESSIF_ESP32
	select PM_STATE_SET_IRQ_UNLOCKED

if SOC_FAMILY_ESPRESSIF_ESP32

rsource "*/Kconfig"

menu "MAC Config"

config ESP_MAC_ADDR_UNIVERSE_WIFI_STA
	bool

config ESP_MAC_ADDR_UNIVERSE_WIFI_AP
	bool

config ESP_MAC_ADDR_UNIVERSE_ETH
	bool

config ESP_MAC_ADDR_UNIVERSE_BT
	bool

config ESP_MAC_ADDR_UNIVERSE_IEEE802154
	bool

config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_ONE
	bool

config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_TWO
	bool

config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR
	bool

# Insert chip-specific MAC config
rsource "*/Kconfig.mac"

endmenu

config RESERVE_RTC_MEM
	int
	default 24
	help
	  This option reserves an area (bytes) in RTC FAST memory.
	  It is used to keep the RTC timer retention data at a fixed
	  address so time reads stay valid across sleep. SoCs without
	  RTC retention memory ignore this value.

config SOC_ESP32_ENABLE_PVT
	bool "Auto adjust hp & lp voltage using pvt function"
	depends on SOC_SERIES_ESP32C5 || SOC_SERIES_ESP32C6 || SOC_SERIES_ESP32P4
	default n if SOC_SERIES_ESP32C6
	default y
	help
	  If enabled, hp & lp voltage can be auto adjusted by the PVT
	  characteristic. Otherwise, internal voltage is set to a fixed
	  dbias. This is required for stable mass production; disable for
	  debugging only.

rsource "Kconfig.ulp"

endif # SOC_FAMILY_ESPRESSIF_ESP32
