From 0479cce5d9b72d37daebb6aed58937485d250c22 Mon Sep 17 00:00:00 2001 From: zhangwenxu Date: Fri, 30 Dec 2022 15:23:14 +0800 Subject: [PATCH] CI: fix fast template app due to function unused. --- components/esp_hw_support/sleep_modes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/esp_hw_support/sleep_modes.c b/components/esp_hw_support/sleep_modes.c index 2cbac760d870..81861b59cdfa 100644 --- a/components/esp_hw_support/sleep_modes.c +++ b/components/esp_hw_support/sleep_modes.c @@ -219,6 +219,7 @@ static void RTC_IRAM_ATTR __attribute__((used, noinline)) esp_wake_stub_start(vo * must be simple enough to ensure that there is no litteral data before the * wake stub entry, otherwise, the litteral data before the wake stub entry * will not be CRC checked. */ +#if !CONFIG_IDF_TARGET_ESP32C6 // TODO: WIFI-5150 static void __attribute__((section(".rtc.entry.text"))) esp_wake_stub_entry(void) { #define _SYM2STR(s) # s @@ -233,6 +234,7 @@ static void __attribute__((section(".rtc.entry.text"))) esp_wake_stub_entry(void #endif } +#endif // !CONFIG_IDF_TARGET_ESP32C6 // TODO: WIFI-5150 #endif // SOC_PM_SUPPORT_DEEPSLEEP_CHECK_STUB_ONLY /* Wake from deep sleep stub