mirror of
https://github.com/espressif/esp-idf.git
synced 2025-11-01 23:51:49 +01:00
On the ESP32S2, rtc_clk_cal(RTC_CAL_RTC_MUX) measures the frequency of the 90kHz RTC clock regardless of the selected slow clock frequency. Keep track which clock is selected and pass the argument to rtc_clk_cal accordingly. fix clock choices update rtc 32k xtal code for s2 missed api in rtc.h bootloader_clock: update for S2
Bootloader Support Component ============================ Overview -------- "Bootloader support" contains APIs which are used by the bootloader but are also needed for the main app. Code in this component needs to be aware of being executed in a bootloader environment (no RTOS available, BOOTLOADER_BUILD macro set) or in an esp-idf app environment (RTOS running, need locking support.)