Commit Graph

128 Commits

Author SHA1 Message Date
Song Ruo Jing
2b01b7c6f8 refactor(clk): add soc_clk_calibration_clk_src_t for all targets
Cleaned up RTC calibration clock selection code
2025-07-30 20:01:46 +08:00
C.S.M
69224e4f43 Merge branch 'feat/usb_serial_jtag_h4' into 'master'
feat(usb_serial_jtag): Add usb serial jtag support for esp32h4

Closes IDF-12396

See merge request espressif/esp-idf!40736
2025-07-29 16:38:30 +08:00
Song Ruo Jing
2fbd8779d6 Merge branch 'feature/esp32h4_rtcio_support' into 'master'
feat(lp_io): Add LP_IO support for ESP32H4

Closes IDF-12393

See merge request espressif/esp-idf!40599
2025-07-28 19:58:05 +08:00
Armando (Dou Yiwen)
9e2d857c9a Merge branch 'feat/h4_psram' into 'master'
psram: h4 support

Closes IDF-12351 and IDF-12350

See merge request espressif/esp-idf!40484
2025-07-28 09:39:41 +00:00
C.S.M
df8a9d26c2 feat(usb_serial_jtag): Add usb serial jtag support for esp32h4 2025-07-28 15:12:38 +08:00
Song Ruo Jing
6b0eb7fcb3 fix(lp_io): w1ts/w1tc register access performance is improved
by avoiding "read-modify-write" operation. The registers designed to be
write only.
2025-07-28 11:17:32 +08:00
Song Ruo Jing
63050580f5 feat(lp_io): Add LP_IO support for ESP32H4 2025-07-28 11:17:32 +08:00
armando
9be8dccef5 feat(psram): psram support on h4 2025-07-28 10:16:48 +08:00
Chen Ji Chang
cfca52255e Merge branch 'feat/support_rmt_on_h4' into 'master'
feat(rmt): support rmt on ESP32-H4

Closes IDF-12402

See merge request espressif/esp-idf!40523
2025-07-25 19:41:24 +08:00
Chen Jichang
d6a9a0f5d5 feat(rmt): support rmt on esp32-h4 2025-07-24 10:47:13 +08:00
C.S.M
6f7ca07018 Merge branch 'fix/fix_gpspi_flash_frequency' into 'master'
refactor(spi_flash): Refactor gpspi flash for making it's clock accurate

Closes IDF-13566

See merge request espressif/esp-idf!40651
2025-07-23 16:46:30 +08:00
Kevin (Lao Kaiyao)
1a242d132c Merge branch 'feature/support_i2s_and_etm_on_h4' into 'master'
feat(i2s & etm): support i2s and etm on esp32-h4

Closes IDF-12385, IDF-12355, and IDF-13396

See merge request espressif/esp-idf!39698
2025-07-22 20:27:11 +08:00
C.S.M
332614165b refactor(spi_flash): Refactor gpspi flash for making it's clock accurate 2025-07-22 11:59:45 +08:00
laokaiyao
263a056486 feat: add i2s & etm sleep retention entry on H4 2025-07-22 10:05:12 +08:00
C.S.M
b765ad43cf feat(spi_flash): Add flash suspend support on esp32h21, esp32h4 2025-07-21 19:24:00 +08:00
C.S.M
50aee21d33 feat(spi_flash): Add basic support for esp32h4 2025-07-21 19:24:00 +08:00
laokaiyao
424991faaf feat(i2s): support new sync feature on H4 2025-07-18 15:51:37 +08:00
laokaiyao
0a110478ea feat(modem_etm): support modem etm on h4 2025-07-18 15:51:34 +08:00
laokaiyao
026370e5b3 feat(etm): support etm on esp32-h4 2025-07-18 15:51:00 +08:00
laokaiyao
3992f734bf feat(i2s): support i2s on esp32-h4 2025-07-18 15:48:02 +08:00
armando
b25bde3378 change(cache): use bus id to get cache vaddr bus 2025-07-18 01:15:06 +00:00
armando
84ae601fef feat(cache): msync driver support on h4 2025-07-18 01:15:06 +00:00
morris
0999aeedbd refactor(timg): clean up soc layer meta data 2025-07-17 10:33:08 +08:00
morris
ccd092d7dc refactor(hal): clean up some hal file dependency on sdkconfig.h 2025-07-17 10:33:08 +08:00
C.S.M
97a6b3bbab feat(i2c): Bringup i2c peripheral for esp32h4 2025-07-14 11:59:28 +08:00
Song Ruo Jing
b3fd9b6afa fix(clk): XTAL_X2 clock is not usable on H21 MPW and H4 BETA5 2025-07-10 16:35:58 +08:00
Song Ruo Jing
caa382047b fix(clk): ESP32H21 uses RC_SLOW_D4 as RTC slow clock 2025-07-10 16:35:58 +08:00
Song Ruo Jing
28df79aee8 feat(clk): Add basic clock support for esp32h4 2025-07-10 16:35:53 +08:00
morris
ce92b0ab60 Merge branch 'refactor/remove_deprecated_uart_rom_functions' into 'master'
refactor(uart)!: deprecate esp_rom_uart.h

See merge request espressif/esp-idf!39423
2025-07-10 15:56:56 +08:00
morris
c4d7b1cfce refactor(uart)!: deprcated esp_rom_uart.h 2025-07-08 18:56:17 +08:00
Marius Vikhammer
a68022f5be fix(system): fixed cpu_stall function stuck issue on H4
cpu_utility_ll_stall_cpu() used to busy-wait check stalled status
after stalling the core. On H4 it turns out that this status will
not be set if the core happens to be in WFI state when stalled.

If this happened the stall function would just wait forever for
the status.
2025-07-08 10:56:58 +08:00
wuzhenghui
971787f0cb feat(esp_hw_support): add esp32h4 pmu initial support 2025-07-01 10:40:20 +08:00
Song Ruo Jing
cde716e093 feat(regi2c): add regi2c support for esp32h4 2025-06-27 17:18:33 +08:00
wuzhenghui
d62930223e change(hal): simplify some enable/disable function in pau_ll 2025-06-20 20:11:55 +08:00
wuzhenghui
86ea927ef9 change(hal): avoid the read-modify-write for a WT register in pau_ll 2025-06-20 20:11:55 +08:00
wuzhenghui
4a887a7b5a change(hal): move regdma related API from lp_aon_ll to pau_ll 2025-06-20 20:11:54 +08:00
wuzhenghui
aeba99290f feat(hal): add esp32h4 PAU initial support 2025-06-20 20:11:54 +08:00
Wu Zheng Hui
5d8e56b4c9 Merge branch 'feat/support_esp32h4_modem_clock' into 'master'
feat(esp_hw_support): add esp32h4 modem clock initial support

Closes PM-445

See merge request espressif/esp-idf!39948
2025-06-20 17:27:09 +08:00
wuzhenghui
d876dae93c change(hal): rename xx_force_clock to xx_clock_force 2025-06-18 11:54:16 +08:00
wuzhenghui
d8acb7b656 change(hal): remove modem_lpcon_ll_get_date 2025-06-18 11:50:13 +08:00
wuzhenghui
c7f114e0a9 change(hal): add union enum type for modem peripheral 32k source selection 2025-06-18 11:48:48 +08:00
wuzhenghui
78baff95ec feat(hal): add esp32h4 modem_clock hal layer 2025-06-17 21:56:11 +08:00
Song Ruo Jing
3e2945b595 fix(gpio): remove GPIO_OUTPUT_SET macro for ESP32P4
Use GPIO_OUTPUT_SET led to compilation error

Closes https://github.com/espressif/esp-idf/issues/16050
2025-06-11 20:56:12 +08:00
Song Ruo Jing
60bef64f5c feat(gpio): esp_rom_gpio_connect_in/out_signal now has their hal implementation 2025-06-11 20:41:37 +08:00
Marius Vikhammer
eb76e6341d Merge branch 'feature/h4_core_support' into 'master'
feat(core): bringup dual-core for H4

Closes IDF-12317, IDF-12319, IDF-12484, IDF-12311, and IDF-12293

See merge request espressif/esp-idf!39279
2025-05-28 14:42:58 +08:00
Marius Vikhammer
e527554144 feat(core): bringup dual-core for H4 2025-05-26 17:11:12 +02:00
Yuan Yu
18091976ec fix(hal): Wrap LL macros with atomic env in do-while for control safety
- Standardize all LL macros using atomic env variables with `do { ... } while (0)`
- Prevent potential macro misuse in control flow constructs (e.g., if/else)
- Affected targets: esp32, esp32c2, esp32c5, esp32s3, esp32p4, etc.
- Affected modules include: LCD, I2S, TIMER, and others
2025-05-22 14:42:11 +08:00
Song Ruo Jing
9ef152c220 feat(regi2c): add regi2c support for esp32h21 2025-05-19 21:46:40 +08:00
wanckl
0ed5a94ab0 feat(driver_gpio): add esp32h4 basic gpio support 2025-05-15 10:35:49 +08:00
nilesh.kale
f19e8e6970 fix: re-enabled ecdsa support for esp32c5-eco2 2025-04-28 20:58:09 +05:30