I'm trying to test the console component on a device with automatic light sleep enabled, without success. (IDF 5.2.2).
If I disable light sleep, everything works fine, however as soon as I include the following in my code, the line noise prompt never appears:
// Enable automatic light sleep
esp_pm_config_t pm_config = {
.max_freq_mhz = 160,
.min_freq_mhz = 10, // Minimum frequency for light sleep
.light_sleep_enable = true};
ESP_ERROR_CHECK(esp_pm_configure(&pm_config));
What can I do to make console commands work when my device is in auto-sleep mode?
ESP32-S3 Console Component with Automatic Light Sleep
-
- Posts: 31
- Joined: Sun Oct 27, 2019 3:12 pm
Who is online
Users browsing this forum: Baidu [Spider], Bing [Bot], Majestic-12 [Bot] and 262 guests