← index #8395PR #17911
Off-topic · high · value 1.273
QUERY · ISSUE

xtal freq auto config for ESP8266

openby abishekmuthianopened 2022-03-09updated 2022-03-30
port-esp8266

Greetings developers and contributors.

For ESP32 boards XTAL_FREQ_AUTO can be set using sdkconfig so that single firmware can be used with different crystal frequencies, Where as for ESP8266 boards such configuration is not available and is left to the flashing tool to patch the header for correct flashing mode, flashing frequency.

This causes issue with flashing tools such as esp-web-tools which doesn't patch the header and expects correct XTAL frequency to be set in the firmware(https://github.com/NabuCasa/esp-web-flasher/issues/103#issuecomment-1061993698).

CANDIDATE · PULL REQUEST

xiao_esp32c5 support (IDF v5.5)

closedby AZKKXLopened 2025-08-13updated 2025-08-13

Summary

The is esp32c5 officially supported in IDF v5.5
Pulling together changes and generic board support needed here.

Some details

  1. #define MICROPY_PY_MACHINE_I2S (0)
  2. As of the release/v5.5 version of ESP-IDF, there is only one configuration option for XTAL_FREQ, which is XTAL_FREQ_AUTO. This causes configuration options like CONFIG_XTAL_FREQ_40 added in sdkconfig to not take effect. I have made simple modifications in the source code, which can be adjusted once ESP-IDF opens up the configuration options in the future.
  3. Reference links:https://github.com/micropython/micropython/issues/17903 and https://github.com/espressif/esp-idf/issues/17426

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied