Skip to content

Commit

Permalink
Merge branch 'bugfix/fix_CI_fast_template_build_failure' into 'master'
Browse files Browse the repository at this point in the history
CI: fix fast template app due to function unused.

See merge request espressif/esp-idf!21849
  • Loading branch information
suda-morris committed Dec 30, 2022
2 parents 42509fa + 0479cce commit b23eb42
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/esp_hw_support/sleep_modes.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit b23eb42

Please sign in to comment.