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 RESERVE_RTC_MEM 39 int 40 default 0 41 help 42 This option reserves an area in RTC FAST memory. 43 44config RTC_CLK_CAL_CYCLES 45 int "Number of cycles for RTC_SLOW_CLK calibration" 46 default 3000 47 range 0 32766 48 help 49 When the startup code initializes RTC_SLOW_CLK, it can perform 50 calibration by comparing the RTC_SLOW_CLK frequency with main XTAL 51 frequency. This option sets the number of RTC_SLOW_CLK cycles measured 52 by the calibration routine. Higher numbers increase calibration 53 precision, which may be important for applications which spend a lot of 54 time in deep sleep. Lower numbers reduce startup time. 55 56 When this option is set to 0, clock calibration will not be performed at 57 startup, and approximate clock frequencies will be assumed: 58 59 - 150000 Hz if internal RC oscillator is used as clock source. For this use value 1024. 60 - 32768 Hz if the 32k crystal oscillator is used. For this use value 3000 or more. 61 In case more value will help improve the definition of the launch of the crystal. 62 If the crystal could not start, it will be switched to internal RC. 63endmenu 64 65endif # SOC_FAMILY_ESPRESSIF_ESP32 66