diff --git a/components/newlib/test_apps/.build-test-rules.yml b/components/newlib/test_apps/.build-test-rules.yml index fcc2d44faf..8383b02ebc 100644 --- a/components/newlib/test_apps/.build-test-rules.yml +++ b/components/newlib/test_apps/.build-test-rules.yml @@ -1,7 +1,3 @@ # Documentation: .gitlab/ci/README.md#manifest-file-to-control-the-buildtest-apps components/newlib/test_apps/newlib: - disable: - - if: IDF_TARGET == "esp32c5" - temporary: true - reason: not supported yet # TODO: [ESP32C5] IDF-8675, IDF-10312 diff --git a/components/newlib/test_apps/newlib/README.md b/components/newlib/test_apps/newlib/README.md index bf47d80ec6..3a502b1f86 100644 --- a/components/newlib/test_apps/newlib/README.md +++ b/components/newlib/test_apps/newlib/README.md @@ -1,2 +1,2 @@ -| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | +| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-P4 | ESP32-S2 | ESP32-S3 | +| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | -------- | diff --git a/components/newlib/test_apps/newlib/main/CMakeLists.txt b/components/newlib/test_apps/newlib/main/CMakeLists.txt index 34ce489cd0..ec619cce43 100644 --- a/components/newlib/test_apps/newlib/main/CMakeLists.txt +++ b/components/newlib/test_apps/newlib/main/CMakeLists.txt @@ -9,5 +9,5 @@ idf_component_register(SRCS "test_setjmp.c" "test_stdatomic.c" "test_time.c" - PRIV_REQUIRES unity vfs cmock driver esp_timer spi_flash test_utils pthread esp_psram + PRIV_REQUIRES unity vfs cmock esp_timer spi_flash test_utils pthread esp_psram WHOLE_ARCHIVE) diff --git a/components/newlib/test_apps/newlib/main/test_time.c b/components/newlib/test_apps/newlib/main/test_time.c index 37b7e78c2e..584b658880 100644 --- a/components/newlib/test_apps/newlib/main/test_time.c +++ b/components/newlib/test_apps/newlib/main/test_time.c @@ -43,6 +43,8 @@ #include "esp32h2/rtc.h" #elif CONFIG_IDF_TARGET_ESP32P4 #include "esp32p4/rtc.h" +#elif CONFIG_IDF_TARGET_ESP32C5 +#include "esp32c5/rtc.h" #endif #if SOC_CACHE_INTERNAL_MEM_VIA_L1CACHE diff --git a/components/newlib/test_apps/newlib/pytest_newlib.py b/components/newlib/test_apps/newlib/pytest_newlib.py index 3d59ed842f..78c01517d5 100644 --- a/components/newlib/test_apps/newlib/pytest_newlib.py +++ b/components/newlib/test_apps/newlib/pytest_newlib.py @@ -31,7 +31,6 @@ def validate_sbom(dut: Dut) -> None: @pytest.mark.generic -@pytest.mark.temp_skip_ci(targets=['esp32c5'], reason='not support yet') # TODO: [ESP32C5] IDF-8675, IDF-10312 @pytest.mark.parametrize( 'config', [ diff --git a/examples/storage/.build-test-rules.yml b/examples/storage/.build-test-rules.yml index b7ca975466..e28311bda0 100644 --- a/examples/storage/.build-test-rules.yml +++ b/examples/storage/.build-test-rules.yml @@ -176,9 +176,3 @@ examples/storage/wear_levelling: disable_test: - if: IDF_TARGET not in ["esp32", "esp32c3"] reason: only one target per arch needed - -examples/system/base_mac_address: - disable_test: - - if: IDF_TARGET == "esp32c5" - temporary: true - reason: target test failed, runner not burnt efuse # TODO: [ESP32C5] IDF-10337 diff --git a/examples/system/.build-test-rules.yml b/examples/system/.build-test-rules.yml index f7c2230280..25030dccbf 100644 --- a/examples/system/.build-test-rules.yml +++ b/examples/system/.build-test-rules.yml @@ -7,10 +7,6 @@ examples/system/app_trace_basic: reason: target esp32c6, esp32h2, esp32p4, esp32c5 is not supported yet examples/system/base_mac_address: - disable_test: - - if: IDF_TARGET == "esp32c5" - temporary: true - reason: target test failed # TODO [ESP32C5] IDF-10347 depends_components: - esp_hw_support diff --git a/examples/system/base_mac_address/pytest_base_mac_address.py b/examples/system/base_mac_address/pytest_base_mac_address.py index 6e3b61b9f8..3d7fedb30b 100644 --- a/examples/system/base_mac_address/pytest_base_mac_address.py +++ b/examples/system/base_mac_address/pytest_base_mac_address.py @@ -5,8 +5,6 @@ from pytest_embedded import Dut @pytest.mark.supported_targets -# TODO: [ESP32C5] IDF-10337 -@pytest.mark.temp_skip_ci(targets=['esp32c5'], reason='c5 runners not burnt mac efuse') @pytest.mark.generic def test_base_mac_address(dut: Dut) -> None: def get_hex_r(num_bytes: int) -> str: diff --git a/tools/test_apps/system/.build-test-rules.yml b/tools/test_apps/system/.build-test-rules.yml index cdeed8fac0..4d704049da 100644 --- a/tools/test_apps/system/.build-test-rules.yml +++ b/tools/test_apps/system/.build-test-rules.yml @@ -30,10 +30,6 @@ tools/test_apps/system/eh_frame: reason: the other targets are not tested yet tools/test_apps/system/esp_intr_dump: - disable_test: - - if: IDF_TARGET == "esp32c5" - temporary: true - reason: target test failed # TODO [ESP32C5] IDF-10344 tools/test_apps/system/g0_components: enable: diff --git a/tools/test_apps/system/esp_intr_dump/expected_output/esp32c5.txt b/tools/test_apps/system/esp_intr_dump/expected_output/esp32c5.txt new file mode 100644 index 0000000000..babd37e68b --- /dev/null +++ b/tools/test_apps/system/esp_intr_dump/expected_output/esp32c5.txt @@ -0,0 +1,36 @@ +CPU 0 interrupt status: + Int Level Type Status + 0 1 Level Used: FROM_CPU_INTR0 + 1 * * Reserved + 2 1 Level Used: SYSTIMER_TARGET0 + 3 1 Level Used: TG0_WDT_LEVEL + 4 1 Level Used: UART0 + 5 * * Free + 6 * * Reserved + 7 * * Free + 8 * * Free + 9 * * Free + 10 * * Free + 11 * * Free + 12 * * Free + 13 * * Free + 14 * * Free + 15 * * Free + 16 * * Free + 17 * * Free + 18 * * Free + 19 * * Free + 20 * * Free + 21 * * Free + 22 * * Free + 23 * * Free + 24 * * Reserved + 25 * * Reserved + 26 * * Free + 27 * * Free + 28 * * Free + 29 * * Free + 30 * * Free + 31 * * Free +Interrupts available for general use: 24 +Shared interrupts: 0 diff --git a/tools/test_apps/system/esp_intr_dump/pytest_esp_intr_dump.py b/tools/test_apps/system/esp_intr_dump/pytest_esp_intr_dump.py index 16e73e026f..9beab78984 100644 --- a/tools/test_apps/system/esp_intr_dump/pytest_esp_intr_dump.py +++ b/tools/test_apps/system/esp_intr_dump/pytest_esp_intr_dump.py @@ -48,8 +48,6 @@ def test_esp_intr_dump_shared(dut: Dut) -> None: # TODO: IDF-9512, Update the expected output of dual core RISC-V chips when the issue is resolved @pytest.mark.supported_targets -# TODO: [ESP32C5] IDF-10344 -@pytest.mark.temp_skip_ci(targets=['esp32c5'], reason='c5 test failed') @pytest.mark.generic def test_esp_intr_dump_expected_output(dut: Dut) -> None: dut.expect_exact(PROMPT, timeout=30)