mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-24 09:25:48 +00:00
feat(esp_timer): Support systimer for ESP32P4
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
#include "esp_rom_sys.h"
|
||||
#include "esp_sleep.h"
|
||||
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C6) // TODO IDF-6770
|
||||
#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32P4) // TODO IDF-7528
|
||||
|
||||
static void timer_cb1(void *arg)
|
||||
{
|
||||
@@ -53,4 +53,4 @@ TEST_CASE("Test the periodic timer does not handle lost events during light slee
|
||||
TEST_ESP_OK(esp_timer_delete(periodic_timer));
|
||||
}
|
||||
|
||||
#endif //#!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C6)
|
||||
#endif //#!TEMPORARY_DISABLED_FOR_TARGETS(ESP32P4)
|
||||
|
@@ -15,19 +15,7 @@
|
||||
#include "spi_flash_mmap.h"
|
||||
#include "esp_rom_sys.h"
|
||||
#include "esp_private/spi_flash_os.h"
|
||||
#if CONFIG_IDF_TARGET_ESP32
|
||||
#include "esp32/rom/ets_sys.h" // for ETSTimer type
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#include "esp32s2/rom/ets_sys.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32S3
|
||||
#include "esp32s3/rom/ets_sys.h"
|
||||
#elif CONFIG_IDF_TARGET_ESP32C3
|
||||
#include "esp32c3/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
|
||||
#include "rom/ets_sys.h"
|
||||
|
||||
static void test_correct_delay_timer_func(void* arg)
|
||||
{
|
||||
|
Reference in New Issue
Block a user