esp32c6: add esp_timer support

pull/9803/head
wuzhenghui 2022-07-12 20:44:58 +08:00 zatwierdzone przez morris
rodzic ab09c07fdd
commit 308e4dcbfa
4 zmienionych plików z 8 dodań i 0 usunięć

Wyświetl plik

@ -34,6 +34,8 @@
#include "esp32h2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C2
#include "esp32c2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rtc.h"
#endif
#include "sdkconfig.h"

Wyświetl plik

@ -34,6 +34,8 @@
#include "esp32c2/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32H2
#include "esp32h2/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rom/ets_sys.h"
#endif
/* We abuse 'timer_arg' field of ETSTimer structure to hold a pointer to esp_timer */

Wyświetl plik

@ -29,6 +29,8 @@
#include "esp32h2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C2
#include "esp32c2/rtc.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rtc.h"
#endif
__attribute__((unused)) static const char* TAG = "system_time";

Wyświetl plik

@ -26,6 +26,8 @@
#include "esp32h2/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32C2
#include "esp32c2/rom/ets_sys.h"
#elif CONFIG_IDF_TARGET_ESP32C6
#include "esp32c6/rom/ets_sys.h"
#endif
static void test_correct_delay_timer_func(void* arg)