Merge branch 'feature/esp_timer_s31' into 'master'

test(esp_timer): enable ESP32-S31 target tests

Closes IDF-14693

See merge request espressif/esp-idf!47270
This commit is contained in:
Marius Vikhammer
2026-04-07 11:01:50 +08:00
3 changed files with 8 additions and 0 deletions
@@ -7,3 +7,5 @@ components/esp_timer/test_apps:
disable:
- if: CONFIG_NAME == "dfs" and SOC_CLK_XTAL32K_SUPPORTED != 1
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
#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
@@ -43,6 +43,8 @@ static uint32_t supported_freq[] = {8, 16, 32, 48, 64, 96};
static uint32_t supported_freq[] = {8, 16, 24, 32};
#elif CONFIG_IDF_TARGET_ESP32P4
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
static SemaphoreHandle_t s_alarm_finished;