using
Code: Select all
rtc_clk_cpu_freq_set
Is it possible to change the frequency to 10Mhz or 20Mhz too?
Reason why I'm asking is trying to bring the power consumption down in active mode.
Thanks!
Code: Select all
rtc_clk_cpu_freq_set
Code: Select all
esp_pm_config_esp32_t pm_config = {
.max_cpu_freq =RTC_CPU_FREQ_80M,
.min_cpu_freq = RTC_CPU_FREQ_XTAL,
.light_sleep_enable = true
};
esp_err_t ret;
if((ret = esp_pm_configure(&pm_config)) != ESP_OK) {
printf("pm config error %s\n", \
ret == ESP_ERR_INVALID_ARG ? \
"ESP_ERR_INVALID_ARG":"ESP_ERR_NOT_SUPPORTED");
}
Code: Select all
Python requirements from /Users/Laetterman/esp/esp-idf/requirements.txt are satisfied.
CXX build/arduino/libraries/SD_MMC/src//SD_MMC.o
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp: In member function 'bool fs::SDMMCFS::begin(const char*, bool)':
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: sorry, unimplemented: non-trivial designated initializers not supported
/Users/Laetterman/esp/hello_world4/components/arduino/libraries/SD_MMC/src/SD_MMC.cpp:59:5: warning: missing initializer for member 'sdmmc_host_t::command_timeout_ms' [-Wmissing-field-initializers]
make[1]: *** [libraries/SD_MMC/src//SD_MMC.o] Error 1
make: *** [component-arduino-build] Error 2
Users browsing this forum: No registered users and 128 guests