mirror of
https://github.com/espressif/esp-idf.git
synced 2026-04-27 19:13:21 +00:00
test(esp_timer): enable ESP32-S31 target tests
This commit is contained in:
@@ -7,3 +7,5 @@ components/esp_timer/test_apps:
|
|||||||
disable:
|
disable:
|
||||||
- if: CONFIG_NAME == "dfs" and SOC_CLK_XTAL32K_SUPPORTED != 1
|
- if: CONFIG_NAME == "dfs" and SOC_CLK_XTAL32K_SUPPORTED != 1
|
||||||
reason: The test requires the XTAL32K clock to measure the esp_timer timing accuracy
|
reason: The test requires the XTAL32K clock to measure the esp_timer timing accuracy
|
||||||
|
- if: CONFIG_NAME == "dfs" and SOC_PM_SUPPORTED != 1
|
||||||
|
reason: The test requires the PM functionality
|
||||||
|
|||||||
@@ -39,4 +39,8 @@
|
|||||||
#undef IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL
|
#undef IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL
|
||||||
#define IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL 1900
|
#define IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL 1900
|
||||||
|
|
||||||
|
#elif CONFIG_IDF_TARGET_ESP32S31
|
||||||
|
#undef IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL
|
||||||
|
#define IDF_PERFORMANCE_MAX_ESP_TIMER_GET_TIME_PER_CALL 1200
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -43,6 +43,8 @@ static uint32_t supported_freq[] = {8, 16, 32, 48, 64, 96};
|
|||||||
static uint32_t supported_freq[] = {8, 16, 24, 32};
|
static uint32_t supported_freq[] = {8, 16, 24, 32};
|
||||||
#elif CONFIG_IDF_TARGET_ESP32P4
|
#elif CONFIG_IDF_TARGET_ESP32P4
|
||||||
static uint32_t supported_freq[] = {10, 20, 40, 90, 180, 360};
|
static uint32_t supported_freq[] = {10, 20, 40, 90, 180, 360};
|
||||||
|
#elif CONFIG_IDF_TARGET_ESP32S31
|
||||||
|
static uint32_t supported_freq[] = {10, 20, 40, 90, 180, 320};
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static SemaphoreHandle_t s_alarm_finished;
|
static SemaphoreHandle_t s_alarm_finished;
|
||||||
|
|||||||
Reference in New Issue
Block a user