forked from espressif/esp-idf
esp32c2: fix ut case header imssing
This commit is contained in:
@@ -43,11 +43,14 @@
|
|||||||
#elif CONFIG_IDF_TARGET_ESP32H2
|
#elif CONFIG_IDF_TARGET_ESP32H2
|
||||||
#include "esp32h2/rtc.h"
|
#include "esp32h2/rtc.h"
|
||||||
#include "esp32h2/rom/rtc.h"
|
#include "esp32h2/rom/rtc.h"
|
||||||
|
#elif CONFIG_IDF_TARGET_ESP32C2
|
||||||
|
#include "esp32c2/rtc.h"
|
||||||
|
#include "esp32c2/rom/rtc.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
extern void rtc_clk_select_rtc_slow_clk(void);
|
extern void rtc_clk_select_rtc_slow_clk(void);
|
||||||
|
|
||||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP32C3)
|
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3, ESP32C3, ESP32C2)
|
||||||
|
|
||||||
#define CALIBRATE_ONE(cali_clk) calibrate_one(cali_clk, #cali_clk)
|
#define CALIBRATE_ONE(cali_clk) calibrate_one(cali_clk, #cali_clk)
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@ static RTC_SLOW_ATTR uint32_t s_rtc_force_slow_val;
|
|||||||
#define BROWNOUT "BROWN_OUT_RST"
|
#define BROWNOUT "BROWN_OUT_RST"
|
||||||
#define STORE_ERROR "StoreProhibited"
|
#define STORE_ERROR "StoreProhibited"
|
||||||
|
|
||||||
#elif CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32H2
|
#elif CONFIG_IDF_TARGET_ESP32C3 || CONFIG_IDF_TARGET_ESP32H2 || CONFIG_IDF_TARGET_ESP32C2
|
||||||
#define DEEPSLEEP "DSLEEP"
|
#define DEEPSLEEP "DSLEEP"
|
||||||
#define LOAD_STORE_ERROR "Store access fault"
|
#define LOAD_STORE_ERROR "Store access fault"
|
||||||
#define RESET "RTC_SW_CPU_RST"
|
#define RESET "RTC_SW_CPU_RST"
|
||||||
|
Reference in New Issue
Block a user