test(freertos): enable tests for esp32-s31

This commit is contained in:
Marius Vikhammer
2026-01-19 15:46:02 +08:00
parent 3bf3249cd6
commit 7b8d0a0cf2
7 changed files with 12 additions and 17 deletions
@@ -8,9 +8,7 @@ components/esp_system/test_apps/esp_system_unity_tests:
disable:
- if: (CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1)
- if: (CONFIG_NAME == "psram_with_pd_top" and (SOC_SPIRAM_SUPPORTED != 1 or SOC_PM_SUPPORT_TOP_PD != 1))
- if: IDF_TARGET == "esp32s31"
temporary: true
reason: cannot pass build because of pm not supported yet # TODO: [ESP32S31] IDF-14648
- if: (CONFIG_NAME == "pd_vddsdio" and (SOC_LIGHT_SLEEP_SUPPORTED != 1))
components/esp_system/test_apps/linux_apis:
enable:
@@ -1,2 +1,2 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- | --------- |
+2 -1
View File
@@ -6,7 +6,8 @@ menu "FreeRTOS"
config FREERTOS_SMP
bool "Run the Amazon SMP FreeRTOS kernel instead (FEATURE UNDER DEVELOPMENT)"
depends on !IDF_TARGET_ESP32P4 && !IDF_TARGET_ESP32H4 #TODO: IDF-8113: Enable P4/H4 support on AMZ SMP
# TODO: IDF-8113: Enable P4/H4/S31 support on AMZ SMP
depends on !IDF_TARGET_ESP32P4 && !IDF_TARGET_ESP32H4 && !IDF_TARGET_ESP32S31
default "n"
help
Amazon has released an SMP version of the FreeRTOS Kernel which can be found via the following link:
@@ -3,9 +3,6 @@
components/freertos/test_apps/build_tests/freertos_build_test:
disable:
- if: CONFIG_NAME == "timers_disabled" and IDF_TARGET != "esp32"
- if: IDF_TARGET in ["esp32s31"]
temporary: true
reason: not support yet, smp build failed # TODO: [ESP32S31] IDF-14685
depends_components:
- freertos
- esp_system # trigger on changes to idle / tick hooks, wdt, entry point to freertos code
@@ -20,12 +17,9 @@ components/freertos/test_apps/build_tests/orig_inc_path:
components/freertos/test_apps/freertos:
disable:
- if: CONFIG_NAME == "smp" and IDF_TARGET in ["esp32p4"]
- if: CONFIG_NAME == "smp" and IDF_TARGET in ["esp32p4", "esp32s31"]
temporary: true
reason: target(s) not supported yet
- if: IDF_TARGET in ["esp32s31"]
temporary: true
reason: not support yet # TODO: [ESP32S31] IDF-14685
- if: CONFIG_NAME == "psram" and SOC_SPIRAM_SUPPORTED != 1
depends_components:
- freertos
@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- | --------- |
This project tests building with different FreeRTOS configurations.
@@ -1,5 +1,5 @@
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- |
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-H21 | ESP32-H4 | ESP32-P4 | ESP32-S2 | ESP32-S3 | ESP32-S31 |
| ----------------- | ----- | -------- | -------- | -------- | -------- | --------- | -------- | --------- | -------- | -------- | -------- | -------- | --------- |
@@ -730,6 +730,7 @@ static void test_susp_task(void *arg)
vTaskSuspend(NULL);
}
#if SOC_GPTIMER_SUPPORTED
TEST_CASE("Test xTaskSuspendAll on all cores pends all tasks and xTaskResumeAll on all cores resumes all tasks", "[freertos]")
{
volatile bool has_run[TEST_PENDED_NUM_BLOCKED_TASKS];
@@ -786,6 +787,7 @@ TEST_CASE("Test xTaskSuspendAll on all cores pends all tasks and xTaskResumeAll
vTaskDelete(susp_task);
vSemaphoreDelete(done_sem);
}
#endif //SOC_GPTIMER_SUPPORTED
#endif // !CONFIG_FREERTOS_UNICORE
/* ---------------------------------------------------------------------------------------------------------------------