change(esp_hw_support): update esp32 sleep parameters when disabling system sleep IRAM optimization
This commit is contained in:
@@ -156,7 +156,11 @@
|
||||
#define FAST_CLK_SRC_CAL_CYCLES (2048) /* ~ 127.4 us */
|
||||
|
||||
#ifdef CONFIG_IDF_TARGET_ESP32
|
||||
#if !CONFIG_PM_SLP_IRAM_OPT
|
||||
#define DEFAULT_SLEEP_OUT_OVERHEAD_US (476)
|
||||
#else
|
||||
#define DEFAULT_SLEEP_OUT_OVERHEAD_US (212)
|
||||
#endif
|
||||
#define DEFAULT_HARDWARE_OUT_OVERHEAD_US (60)
|
||||
#elif CONFIG_IDF_TARGET_ESP32S2
|
||||
#define DEFAULT_SLEEP_OUT_OVERHEAD_US (147)
|
||||
|
||||
Reference in New Issue
Block a user