Commit Graph

121 Commits

Author SHA1 Message Date
Alexey Lapshin
177dee612f Merge branch 'feature/enable_misalign_optimization_for_iperf' into 'master'
feat(newlib): enable libc misalign optimized functions

Closes IDF-13820

See merge request espressif/esp-idf!41148
2025-08-22 22:14:53 +04:00
Alexey Lapshin
913d38ba14 fix(newlib): fix CONFIG_LIBC_OPTIMIZED_MISALIGNED_ACCESS for c2/c3/c6/h2/h21
PMP configurations for load and store addresses may
have different permissions (e.g., "R" vs. "RW").

Due to the timing alignment of internal signals, the address
permission check may be incorrectly applied during the second
part of a misaligned access transaction.

As a workaround, insert two instructions (e.g. ADDI/NOP) between
accessing to different memory regions. This spacing avoids the
false permission check caused by signal timing overlap.
2025-08-22 13:46:43 +08:00
gaoxu
41f954facf feat(h21_mp): update H21_MP soc headers 2025-08-21 14:19:41 +08:00
morris
661590940a refactor(etm): enhance thread safety and clean up soc macros 2025-08-18 14:58:24 +08:00
Chen Ji Chang
7324fc6dd9 Merge branch 'refactor/use_gdma_link_in_rmt' into 'master'
refactor(rmt): use gdma link list driver to mount buffer

Closes IDFGH-15289 and IDFGH-15421

See merge request espressif/esp-idf!39350
2025-08-14 10:49:19 +08:00
Wan Lei
7d1e974f77 Merge branch 'bugfix/twai_driver_cxx_test' into 'master'
fix(twai): fixed build errors in cxx environment

Closes IDFGH-16058

See merge request espressif/esp-idf!40818
2025-08-14 09:41:23 +08:00
morris
d75789beb9 fix(twai): fixed build errors in cxx environment
Closes https://github.com/espressif/esp-idf/issues/16999
2025-08-12 21:25:38 +08:00
Konstantin Kondrashov
4bf5d62683 fix(efuse): ESP32-H21 no issues on BLOCK9 with AES_XTS and ECDSA keys 2025-08-11 17:49:43 +05:30
Chen Jichang
7d0d7c52db fix(rmt): deal with spurious RX done interrupts on ESP32
Closes https://github.com/espressif/esp-idf/issues/15948
2025-08-11 14:22:28 +08:00
morris
83512e3e7c feat(sdm): enhance the thread safety 2025-08-11 10:13:57 +08:00
Chen Jichang
e6f5a9ab5a feat(pcnt): support pcnt on esp32h21 2025-08-08 14:45:16 +08:00
Chen Jichang
587583cc5f remove(pcnt): remove unused retention reg 2025-08-08 14:45:16 +08:00
Song Ruo Jing
8651d6c240 Merge branch 'feature/uart_dtr_dsr_support' into 'master'
feat(uart): add DTR and DSR signals support for UART

Closes IDF-13392, IDFGH-4377, and IDFGH-15328

See merge request espressif/esp-idf!40508
2025-08-07 17:28:28 +08:00
Song Ruo Jing
2319386d9d Merge branch 'bugfix/gpio_esp32_workaround' into 'master'
fix(gpio): fix ESP32 GPIO sleep mode handling

Closes IDF-13626

See merge request espressif/esp-idf!40988
2025-08-07 17:14:58 +08:00
Song Ruo Jing
9a2984b4c0 fix(gpio): fix ESP32 GPIO sleep mode handling
The previous workaround does not work, the backup/restore should apply to RTC IO registers.
Also moved the workaround to sleep_gpio.c to avoid gpio hal using kconfig.
2025-08-05 21:02:09 +08:00
Song Ruo Jing
6bfdc93593 feat(uart): add DTR and DSR signals support for UART 2025-08-05 16:45:46 +08:00
wanckl
37c6608ab3 feat(driver_spi): support esp32h4 spi driver 2025-08-05 15:08:02 +08:00
Chen Ji Chang
ee779a0b72 Merge branch 'feat/support_twai_on_h21' into 'master'
feat(twai): support twai on esp32h21

Closes IDF-11574 and IDF-11575

See merge request espressif/esp-idf!40888
2025-08-01 15:35:35 +08:00
Chen Jichang
b670fe9b50 feat(twai): support twai on esp32h21 2025-07-31 10:56:45 +08:00
Song Ruo Jing
48233e0e7e refactor(ledc): remove deprecated LEDC_USE_RTC8M_CLK macro for v6.0 2025-07-30 20:01:47 +08:00
Song Ruo Jing
f61e780f60 refactor(clk): deprecate rtc_cal_sel_t enum 2025-07-30 20:01:46 +08:00
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
Song Ruo Jing
248c87ac78 Merge branch 'bugfix/release_console_uart_pins' into 'master'
fix(console): release default console UART pins if console is switched in bootloader

Closes IDFGH-15851

See merge request espressif/esp-idf!40578
2025-07-30 19:27:47 +08:00
C.S.M
5611d88e6a Merge branch 'feat/usb_serial_jtag_h21' into 'master'
feat(usb_serial_jtag): Add usb serial jtag support for esp32h21

Closes IDF-11616

See merge request espressif/esp-idf!40873
2025-07-30 18:46:55 +08:00
C.S.M
ef299a8d4e feat(usb_serial_jtag): Add usb serial jtag support for esp32h21 2025-07-30 11:17:31 +08:00
Song Ruo Jing
a4bd638385 refactor(uart): use U0RXD_GPIO_NUM and U0TXD_GPIO_NUM macros when possible 2025-07-29 21:59:49 +08:00
Chen Jichang
bbb78fedbb feat(rmt): support rmt on esp32h21 2025-07-29 10:46:20 +08:00
C.S.M
b765ad43cf feat(spi_flash): Add flash suspend support on esp32h21, esp32h4 2025-07-21 19:24:00 +08:00
morris
0999aeedbd refactor(timg): clean up soc layer meta data 2025-07-17 10:33:08 +08:00
morris
0296c30908 feat(soc): introduce the soc_caps_full.h for internal use only 2025-07-17 10:33:08 +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
armando
15331216d5 change(cache): updated cache registers 2025-06-27 10:34:22 +08:00
Alexey Lapshin
fdb4212f7d fix(soc): fix stddef.h missed include in pmu_struct.h headers 2025-06-25 18:01:50 +07:00
Song Ruo Jing
6d293c8582 feat(clk): Add basic clock support for esp32h21 2025-06-16 15:05:32 +08:00
Song Ruo Jing
da4ac0c56a feat(gpio): update GPIO capabilities IO0-29 for ESP32-C61 ECO3 2025-06-09 19:09:49 +08:00
laokaiyao
f5748246ea change(ecdsa): update ecdsa soc headers of h21 2025-05-29 14:55:14 +08:00
nilesh.kale
7926ffd13f feat(hal): enabled hardware deterministic mode in ESP32H21 2025-05-27 14:54:13 +05:30
laokaiyao
10aef84983 change(etm): update etm soc headers of h21 2025-05-27 10:31:30 +08:00
Chen Jichang
4bfd180a94 fix(i2c): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled 2025-05-22 17:27:18 +08:00
Chen Jichang
9837138659 fix(gptimer): only call esp_pm APIs when CONFIG_PM_ENABLE is enabled 2025-05-22 17:27:18 +08:00
Song Ruo Jing
8262915e28 refactor(regi2c): remove regi2c_defs.h from some targets 2025-05-19 21:46:40 +08:00
Song Ruo Jing
9ef152c220 feat(regi2c): add regi2c support for esp32h21 2025-05-19 21:46:40 +08:00
armando
45db752f2f feat(mmu): supported esp_mmu_map and flash_mmap drivers on esp32h21 2025-05-13 14:58:19 +08:00
wanckl
8a60934c4f feat(driver_twai): support legacy targets in new driver 2025-04-30 10:38:55 +08:00
Marius Vikhammer
1256078ea2 feat(esp32h21): added support for misc core system features 2025-04-28 11:42:25 +08:00
Mahavir Jain
f7724eedef Merge branch 'feature/enable_secure_boot_for_esp32h21' into 'master'
feat: enable secure boot support for esp32h21

Closes IDF-11500 and IDF-12161

See merge request espressif/esp-idf!36618
2025-04-28 11:37:37 +08:00
nilesh.kale
c65858287a feat: enabled secure boot support esp32h21 2025-04-25 17:48:25 +05:30
gaoxu
bf335a38f7 fix(adc): fix adc do not enable/disable regi2c registers 2025-04-25 14:39:01 +08:00