From 914fc9f899e8f0e251180b13abc4c4e5e3a0c7ca Mon Sep 17 00:00:00 2001 From: Marius Vikhammer Date: Fri, 11 Jul 2025 09:45:50 +0800 Subject: [PATCH] test(lp_core): re-enabled C5 lp-core test --- components/ulp/test_apps/.build-test-rules.yml | 1 + .../lp_core/lp_core_basic_tests/main/test_lp_core.c | 8 +++----- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/components/ulp/test_apps/.build-test-rules.yml b/components/ulp/test_apps/.build-test-rules.yml index b3c0386d56..8045f63c2e 100644 --- a/components/ulp/test_apps/.build-test-rules.yml +++ b/components/ulp/test_apps/.build-test-rules.yml @@ -4,6 +4,7 @@ components/ulp/test_apps/lp_core/lp_core_basic_tests: disable: - if: SOC_LP_CORE_SUPPORTED != 1 - if: CONFIG_NAME == "xtal" and SOC_CLK_LP_FAST_SUPPORT_XTAL != 1 + - if: CONFIG_NAME == "lp_vad" and SOC_LP_VAD_SUPPORTED != 1 components/ulp/test_apps/lp_core/lp_core_hp_uart: disable: diff --git a/components/ulp/test_apps/lp_core/lp_core_basic_tests/main/test_lp_core.c b/components/ulp/test_apps/lp_core/lp_core_basic_tests/main/test_lp_core.c index 232df235f2..8de43884c4 100644 --- a/components/ulp/test_apps/lp_core/lp_core_basic_tests/main/test_lp_core.c +++ b/components/ulp/test_apps/lp_core/lp_core_basic_tests/main/test_lp_core.c @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: 2023-2024 Espressif Systems (Shanghai) CO LTD + * SPDX-FileCopyrightText: 2023-2025 Espressif Systems (Shanghai) CO LTD * * SPDX-License-Identifier: Apache-2.0 */ @@ -131,8 +131,7 @@ TEST_CASE("Test LP core delay", "[lp_core]") #define LP_TIMER_TEST_DURATION_S (5) #define LP_TIMER_TEST_SLEEP_DURATION_US (20000) -#if !TEMPORARY_DISABLED_FOR_TARGETS(ESP32C5) -#if SOC_DEEP_SLEEP_SUPPORTED && CONFIG_RTC_FAST_CLK_SRC_RC_FAST +#if SOC_DEEP_SLEEP_SUPPORTED static void do_ulp_wakeup_deepsleep(lp_core_test_commands_t ulp_cmd) { @@ -229,8 +228,7 @@ TEST_CASE_MULTIPLE_STAGES("LP Timer can wakeup lp core periodically during deep do_ulp_wakeup_with_lp_timer_deepsleep, check_reset_reason_and_sleep_duration); -#endif //#if SOC_DEEP_SLEEP_SUPPORTED && CONFIG_RTC_FAST_CLK_SRC_RC_FAST -#endif //!TEMPORARY_DISABLED_FOR_TARGETS(ESP32C5) +#endif //#if SOC_DEEP_SLEEP_SUPPORTED TEST_CASE("LP Timer can wakeup lp core periodically", "[lp_core]") {