ESP32H2: Add system support for ESP32H2

This commit is contained in:
Cao Sen Miao
2022-12-06 13:46:03 +08:00
parent 171b849831
commit 8cc9260f86
20 changed files with 1233 additions and 9 deletions
+2
View File
@@ -36,6 +36,8 @@
#include "esp32c2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rtc.h"
#endif
#include "sdkconfig.h"
@@ -36,6 +36,8 @@
#include "esp32h4/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rom/ets_sys.h"
#endif
/* We abuse 'timer_arg' field of ETSTimer structure to hold a pointer to esp_timer */
+2
View File
@@ -31,6 +31,8 @@
#include "esp32c2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rtc.h"
#endif
__attribute__((unused)) static const char* TAG = "system_time";