change(example): sleep iram optimization support for esp_timer demo

This commit is contained in:
Li Shuai
2025-11-21 15:31:25 +08:00
parent 9ed3a7a49a
commit c2de93eca9
2 changed files with 3 additions and 1 deletions
@@ -4,3 +4,6 @@ CONFIG_ESP_TIMER_PROFILING=y
# NEWLIB_NANO_FORMAT is enabled by default on ESP32-C2
# This example needs 64-bit integer formatting, this is why this option is disabled
CONFIG_NEWLIB_NANO_FORMAT=n
# Put sleep related source code in IRAM
CONFIG_PM_SLP_IRAM_OPT=y