Merge branch 'bugfix/fix_CI_fast_template_build_failure' into 'master'

CI: fix fast template app due to function unused.

See merge request espressif/esp-idf!21849
This commit is contained in:
morris 2022-12-30 17:17:14 +08:00
commit b23eb428d1

View File

@ -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