Commit Graph

469 Commits

Author SHA1 Message Date
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
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
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
f808fb9eaf feat(sdm): add sleep retention support 2025-08-11 10:15:40 +08:00
morris
83512e3e7c feat(sdm): enhance the thread safety 2025-08-11 10:13:57 +08:00
Chen Ji Chang
6c8d12a670 Merge branch 'feat/support_pcnt_on_h21' into 'master'
feat(pcnt): support pcnt on esp32h21

Closes IDF-11566, IDF-11567, IDF-9907, IDF-9739, IDF-8469, and IDF-9768

See merge request espressif/esp-idf!40889
2025-08-10 01:36:03 +08:00
gaoxu
db32e42122 feat(uart): support uart on ESP32H4 2025-08-08 14:48:12 +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
6bfdc93593 feat(uart): add DTR and DSR signals support for UART 2025-08-05 16:45:46 +08:00
laokaiyao
c415c060bd feat(i2s): add PLL240M clock source on S3 and C6
Closes https://github.com/espressif/esp-idf/issues/17056
2025-08-05 15:01:04 +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
laokaiyao
263a056486 feat: add i2s & etm sleep retention entry on H4 2025-07-22 10:05:12 +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
28df79aee8 feat(clk): Add basic clock support for esp32h4 2025-07-10 16:35:53 +08:00
Song Ruo Jing
6d293c8582 feat(clk): Add basic clock support for esp32h21 2025-06-16 15:05:32 +08:00
Laukik Hase
0d8a1f5427 refactor(hal): Refactor the APM LL/HAL APIs 2025-06-06 18:28:47 +05:30
Song Ruo Jing
8262915e28 refactor(regi2c): remove regi2c_defs.h from some targets 2025-05-19 21:46:40 +08:00
Yuan Yu
9a109ca17c fix(peripherals): Correct typo in periph_inttrput_t
Corrected the typo in the type name from 'periph_inttrput_t' to 'periph_interrupt_t'.
2025-05-15 18:40:57 +08:00
wanckl
8a60934c4f feat(driver_twai): support legacy targets in new driver 2025-04-30 10:38:55 +08:00
C.S.M
f66a750af9 Merge branch 'feat/uart_dma_support' into 'master'
feat(uhci): Add uhci(uart-dma) support on ESP32C3, ESP32P4, ESP32C6, ESP32S3🚴🏼‍♂️

See merge request espressif/esp-idf!37494
2025-04-28 00:42:42 +08:00
C.S.M
1a3db8e025 feat(uhci): Add uhci (uart-dma) support on esp32c3, esp32c6, esp32s3, esp32p4 2025-04-27 15:28:23 +08:00
gaoxu
bf335a38f7 fix(adc): fix adc do not enable/disable regi2c registers 2025-04-25 14:39:01 +08:00
Marius Vikhammer
503a9faa9f change(core): clean-up leftover todo items in code 2025-04-23 16:15:19 +08:00
Wu Zheng Hui
d98c580d40 Merge branch 'fix/esp32p4_xtal_path_not_on_top' into 'master'
fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain

See merge request espressif/esp-idf!38328
2025-04-15 14:54:13 +08:00
wuzhenghui
5fbc742248 fix(esp_hw_support): fix esp32p4 xtal_xpd depends on TOP power domain 2025-04-09 17:10:57 +08:00
Li Shuai
29a470b530 fix(esp_hw_support): fix modem wakeup req always high caused by pmu min slp cycle update 2025-04-09 15:26:57 +08:00
wanckl
51873d46aa feat(driver_spi): add h21 spi drivers supports 2025-04-03 11:27:29 +08:00
Li Shuai
157faa3344 feat(esp_hw_support): support runtime clock for peripherals to be ungated during sleep 2025-03-18 10:42:15 +08:00
Wan Lei
68b79fc138 Merge branch 'fix/spi_master_halt_using_rc_fast' into 'master'
fix(spi_master): fix spi halt when remove device who using rc_fast

See merge request espressif/esp-idf!31079
2025-02-12 15:18:22 +08:00
wanlei
cc7adfa068 fix(spi_master): fix spi halt when remove device who using rc_fast 2025-02-10 10:51:33 +08:00
wuzhenghui
c0f98621d7 fix(examples): fix esp32c5 ulp examples 2025-02-08 16:04:49 +08:00
Igor Udot
5f37de2889 Merge branch 'feat/lp-uart-wakeup-mode3' into 'master'
Added support for UART wakeup modes

Closes IDF-10202

See merge request espressif/esp-idf!31965
2025-02-06 11:15:37 +08:00
igor.udot
f742a05b28 feat: supports lp uart wakeup 2025-02-05 14:54:48 +08:00
Brett Regnier
01abdcbe43 change(soc): Fix spelling mistake in soc/interrupts.h
Merges https://github.com/espressif/esp-idf/pull/15273
Closes https://github.com/espressif/esp-idf/issues/15272
2025-01-24 10:46:47 +08:00
Marius Vikhammer
267a8776a0 feat(intr): clean up and support interrupts on H21 2025-01-20 15:10:30 +08:00
C.S.M
5e4fd8ee52 refactor(bod): Move brownout handling file from esp_system to esp_hw_support 2025-01-08 14:41:37 +08:00
Marius Vikhammer
d8de8c6e40 Merge branch 'bugfix/enable_additional_lp_io_wakeup' into 'master'
fix(lp_io): enable setting edge type wakeup sources for targets that support this

See merge request espressif/esp-idf!35122
2024-12-26 10:41:23 +08:00
gaoxu
1efea28c69 feat(interrupt): rename interrupt martix reg base 2024-12-24 19:13:32 +08:00
gaoxu
8b2470a4ab feat(lp_timer): add soc caps that lp timer and brownout share intr source 2024-12-20 22:43:11 +08:00
Marius Vikhammer
c35f188efb fix(lp_io): allow edge wakeup types for LP-IO on chips which support it 2024-12-17 10:00:48 +08:00
Mahavir Jain
9ee8daf336 Merge branch 'feature/esp_tee' into 'master'
feat(security): Support for ESP-TEE

Closes IDF-6902, IDF-8268, IDF-9389, IDF-10479, IDF-10480, IDF-10482, IDF-10755, and IDF-11438

See merge request espressif/esp-idf!32050
2024-12-02 21:18:06 +08:00
Laukik Hase
ba2af7f611 feat(esp_tee): Support for ESP-TEE - hal, soc and freertos components 2024-12-02 12:19:46 +05:30
wuzhenghui
3ae1929e58 fix(esp_driver_gptimer): do gptimer retention by timer unit rather than timer group 2024-11-29 16:25:26 +08:00
Song Ruo Jing
aa35807198 fix(clk): add an inevitable kconfig option to be selected to use rc32k 2024-11-26 21:20:32 +08:00