1# Copyright (c) 2023 Espressif Systems (Shanghai) Co., Ltd.
2# SPDX-License-Identifier: Apache-2.0
3
4if SOC_FAMILY_ESPRESSIF_ESP32
5
6rsource "*/Kconfig"
7
8menu "MAC Config"
9
10config ESP_MAC_ADDR_UNIVERSE_WIFI_STA
11	bool
12
13config ESP_MAC_ADDR_UNIVERSE_WIFI_AP
14	bool
15
16config ESP_MAC_ADDR_UNIVERSE_ETH
17	bool
18
19config ESP_MAC_ADDR_UNIVERSE_BT
20	bool
21
22config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_ONE
23	bool
24
25config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_TWO
26	bool
27
28config ESP_MAC_UNIVERSAL_MAC_ADDRESSES_FOUR
29	bool
30
31# Insert chip-specific MAC config
32rsource "*/Kconfig.mac"
33
34endmenu
35
36menu "RTC Clock Config"
37
38config RTC_CLK_CAL_CYCLES
39	int "Number of cycles for RTC_SLOW_CLK calibration"
40	default 3000
41	range 0 32766
42	help
43	  When the startup code initializes RTC_SLOW_CLK, it can perform
44	  calibration by comparing the RTC_SLOW_CLK frequency with main XTAL
45	  frequency. This option sets the number of RTC_SLOW_CLK cycles measured
46	  by the calibration routine. Higher numbers increase calibration
47	  precision, which may be important for applications which spend a lot of
48	  time in deep sleep. Lower numbers reduce startup time.
49
50	  When this option is set to 0, clock calibration will not be performed at
51	  startup, and approximate clock frequencies will be assumed:
52
53	  - 150000 Hz if internal RC oscillator is used as clock source. For this use value 1024.
54	  - 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more.
55	    In case more value will help improve the definition of the launch of the crystal.
56	    If the crystal could not start, it will be switched to internal RC.
57endmenu
58
59endif # SOC_FAMILY_ESPRESSIF_ESP32
60