Merge branch 'feature/esp32s31_clock_support' into 'master'

feat(clk): support for esp32s31 clock tree

Closes IDF-14696 and IDF-14871

See merge request espressif/esp-idf!47048
This commit is contained in:
Song Ruo Jing
2026-04-03 11:04:42 +08:00
54 changed files with 1241 additions and 658 deletions
@@ -63,11 +63,11 @@
``XTAL32K_CLK`` 的时钟源可以是连接到 ``32K_XP````32K_XN`` 管脚的 32 kHz 晶振,也可以是外部电路生成的 32 kHz 时钟信号。如果使用外部电路生成的时钟信号,该信号必须连接到 ``32K_XN`` 管脚,并且在 ``32K_XP`` 管脚和地之间连接一个 1 nF 的电容。此时,``32K_XP`` 管脚不能用作 GPIO 管脚。
.. only:: esp32p4
.. only:: esp32p4 or esp32s31
``XTAL32K_CLK`` 的时钟源是连接到 ``XTAL_32K_P````XTAL_32K_N`` 管脚的 32 kHz 晶振。
.. only:: not esp32 and not esp32p4
.. only:: not esp32 and not esp32p4 and not esp32s31
``XTAL32K_CLK`` 的时钟源可以是连接到 ``XTAL_32K_P````XTAL_32K_N`` 管脚的 32 kHz 晶振,也可以是外部电路生成的 32 kHZ 时钟信号。如果使用外部电路生成的时钟信号,该信号必须连接到 ``XTAL_32K_P`` 管脚。