bootloader: add definition of esp_clk_apb_freq Closes IDFGH-1734 See merge request espressif/esp-idf!5913
@@ -58,3 +58,12 @@ void bootloader_clock_configure(void)
}
#endif
+
+#ifdef BOOTLOADER_BUILD
+int esp_clk_apb_freq(void)
+{
+ return rtc_clk_apb_freq_get();
+}
+#endif // BOOTLOADER_BUILD