This code gathers the CPU frequency configuration from the ESP32 registers. This code is based on top of the ESP-IDF rtc_clk_cpu_freq_get_config function .
This might be needed to calculate I2C clock speeds and such.
This is untested, it's a proof of concept.
Depends on the changes to RTCCNTL.
This code gathers the CPU frequency configuration from the ESP32 registers. This code is based on top of the ESP-IDF
rtc_clk_cpu_freq_get_config
function .This might be needed to calculate I2C clock speeds and such.
This is untested, it's a proof of concept. Depends on the changes to
RTCCNTL
.