|
|
@@ -83,6 +83,11 @@ extern "C" {
|
|
|
#include "esp_private/crosscore_int.h"
|
|
|
#include "esp_timer.h" /* required for FreeRTOS run time stats */
|
|
|
|
|
|
+#if CONFIG_IDF_TARGET_ESP32
|
|
|
+#include "esp32/clk.h"
|
|
|
+#elif CONFIG_IDF_TARGET_ESP32S2BETA
|
|
|
+#include "esp32s2beta/clk.h"
|
|
|
+#endif
|
|
|
|
|
|
#include <esp_heap_caps.h>
|
|
|
|