722 Commits

Author SHA1 Message Date
Tomas Rezucha
3132ffbcd7 feat(hal/usb): Explicitly enable clock and reset USB WRAP on init 2025-01-07 09:10:23 +01:00
Marius Vikhammer
b07761825e Merge branch 'feature/dcache_write_flash_panic' into 'master'
feat(panic): panic immediately on an attempt to write to flash via dcache

See merge request espressif/esp-idf!34190
2025-01-03 10:12:30 +08:00
Tomas Rezucha
f029ad207f Merge branch 'fix/usb_ctrl_nyet' into 'master'
fix(usb/host): Fix reaction on High-Speed NYET packet

See merge request espressif/esp-idf!35737
2025-01-02 17:25:35 +08:00
Marius Vikhammer
096cb409d9 feat(panic): panic immediatly if trying to write to flash through cache on ESP32-S3
Updated S3 to use PMS protection for writing to flash through cache. This means we get
a panic quicker for this illegal behavior than we did before, making the source of the error
easier to track down.
2024-12-27 17:58:33 +08:00
morris
0c909888f9 Merge branch 'feat/rgb_lcd_increase_pclk' into 'master'
feat(lcd): increase the upper limit of pclk frequency for RGB LCD

See merge request espressif/esp-idf!35845
2024-12-24 16:23:05 +08:00
Wu Zheng Hui
bba3063b52 Merge branch 'fix/fix_p4_deepsleep_io_leakage' into 'master'
fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage

Closes PM-204

See merge request espressif/esp-idf!35633
2024-12-24 15:36:09 +08:00
morris
d39388fe4f feat(lcd): increase the upper limit of pclk frequency for RGB LCD 2024-12-23 22:01:34 +08:00
wuzhenghui
58786528fd
fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage 2024-12-23 21:17:31 +08:00
laokaiyao
7086f4ca6d fix(i2s): add check for the tdm frame bits num 2024-12-23 14:39:07 +08:00
C.S.M
bd5945d1cc Merge branch 'feat/auto_suspend_waiti' into 'master'
feat(spi_flash): Add config for adding auto check status after suspend to improve performance

See merge request espressif/esp-idf!35628
2024-12-20 16:35:21 +08:00
Song Ruo Jing
4535c27224 Merge branch 'contrib/github_pr_14923' into 'master'
GPIO: Add gpio_get_io_config(). (GitHub PR)

Closes IDFGH-14117 and IDFGH-14127

See merge request espressif/esp-idf!35266
2024-12-19 21:02:50 +08:00
Wan Lei
3bdab3a191 Merge branch 'feat/c5_twaifd_lowlevel_support' into 'master'
feat(twai): c5 twaifd basic low level support

See merge request espressif/esp-idf!34081
2024-12-19 11:27:29 +08:00
Song Ruo Jing
c749ec66f6 fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
Closes https://github.com/espressif/esp-idf/issues/14931
2024-12-18 22:38:25 +08:00
wanckl
fe48cbc3c0 feat(twai): c5 twaifd low level support and deprecate old types header 2024-12-18 19:23:25 +08:00
C.S.M
81426057b5 feat(spi_flash): Add config for adding auto check status after suspend to improve performance 2024-12-18 14:55:25 +08:00
Armando
f1b0c5dcb4 feat(cache): added cache invalidate all ll apis 2024-12-18 11:33:28 +08:00
Tomas Rezucha
3fd2f53c68 fix(usb/host): Fix reaction on High-Speed NYET packet
In Scatter-Gather DMA mode, the USB-DWC will automatically enable
PING protocol if an OUT packet is NACKed by the High-Speed device.
The PING bit must be manually reset.
2024-12-17 17:45:54 +01:00
wuzhenghui
7d0d95b7d8
fix(esp_hw_support): fix mspi clock freq changed after lightsleep 2024-12-13 15:47:49 +08:00
Armando
35a74630dc change(flash): add fdummy rin update 2024-11-28 14:53:20 +08:00
Armando
1eef2e8c19 feat(mspi): supported flash 120MHz SDR timing tuning on ESP32P4 2024-11-28 14:53:19 +08:00
morris
5cae5090c2 fix(hal): integer overflow found by coverity
actually these "bugs" are harmless from the perspective of the hardware
2024-11-27 09:57:37 +08:00
morris
8da529e5eb Merge branch 'refactor/i2c_ll_trm_sync' into 'master'
refactor(i2c): rename some LL functions according to TRM descriptions

See merge request espressif/esp-idf!35049
2024-11-22 10:13:29 +08:00
laokaiyao
9b779d8b3c feat(i2s): support to select PDM data format 2024-11-21 19:04:55 +08:00
morris
3fb7461eb0 refactor(i2c): rename some LL functions according to TRM descriptions 2024-11-20 19:16:23 +08:00
Song Ruo Jing
582c99041c Merge branch 'bugfix/uart_8_16_bit_access' into 'master'
fix(uart): fix 8/16-bit uart register access

Closes IDF-10256

See merge request espressif/esp-idf!34846
2024-11-13 17:17:26 +08:00
Armando (Dou Yiwen)
ed8ec9de0b Merge branch 'feat/sdmmc_uhs_tuning' into 'master'
sdmmc: UHS-I support for SDR50 (100MHz, 50MB/s), DDR50 (50MHz, 50MB/s)

Closes IDF-10294, IDF-11447, and IDF-8886

See merge request espressif/esp-idf!34441
2024-11-13 11:05:10 +08:00
Marius Vikhammer
f8ddcee8cd Merge branch 'refactor/cache_err_panic' into 'master'
refactor(panic): refactor and unify cache panic errors

See merge request espressif/esp-idf!34382
2024-11-13 10:19:38 +08:00
Armando
9e3b7e4558 feat(sdmmc): supported UHS-I SDR50 (100Mhz) and DDR50 mode 2024-11-13 09:47:45 +08:00
Song Ruo Jing
e6ef4d1791 fix(uart): fix 8/16-bit uart register access 2024-11-12 16:52:10 +08:00
C.S.M
941d0e0779 feat(i2c_slave): refactor i2c slave api to version 2 inorder to solve some existing problem 2024-11-08 18:04:29 +08:00
morris
712e6ad927 fix(gpio): improve set level performance
by avoid "read-modify-write" operation. The registers designed to be
write only.

Related to https://github.com/espressif/esp-idf/issues/14674
2024-11-07 16:29:28 +08:00
Marius Vikhammer
9c5dde5536 refactor(panic): refactor and unify cache panic errors 2024-11-07 11:39:40 +08:00
Tomas Rezucha
1805efb0b2 Merge branch 'feat/dynamic_usb_hal' into 'master'
feat(hal/usb): Make USB-DWC HAL&LL configuration independent

Closes IDF-11437

See merge request espressif/esp-idf!34045
2024-10-30 18:32:32 +08:00
laokaiyao
c007ec5f17 feat(touch): update doc and example for touch version 2 2024-10-30 10:02:49 +08:00
laokaiyao
1cd9dd5001 refactor(touch): refactor touch low-level for s2 & s3 2024-10-30 10:02:49 +08:00
Gao Xu
ffcf40cee3 Merge branch 'feature/esp32c61_i2s_support' into 'master'
feat(i2s): support i2s on esp32c61

Closes IDF-9312 and IDF-9313

See merge request espressif/esp-idf!32905
2024-10-25 11:18:44 +08:00
Tomas Rezucha
d837cae2b0 feat(hal/usb): Make USB-DWC HAL&LL configuration independent
Previously, we included symbols from soc/usb_dwc_cfg.h and configured
the HAL and LL according to it. Now we get the configuration in runtime
from USB-DWC registers.

Added missing definition for USB FS peripheral on ESP32-P4.
2024-10-24 16:54:20 +02:00
Tomas Rezucha
c1f5d3067f feat(hal/usb): Add USB UTMI PHY HAL
* Add a bare-bones HAL API for the USB UTMI PHY
* Split USB-DWC LL per target
2024-10-24 15:18:30 +08:00
gaoxu
8ab0cdde60 feat(i2s): support i2s on esp32c61 2024-10-22 15:12:38 +08:00
laokaiyao
5be7860c54 fix(i2s): fix i2s half sample rate issue 2024-09-30 22:16:52 +08:00
Song Ruo Jing
6afbc06666 feat(gdma): add retention support for esp32p4, esp32c5, esp32c61 2024-09-24 12:33:41 +08:00
laokaiyao
c6e7e82524 change(sdm): delete the confusing part in sdm programming guide 2024-09-13 14:13:20 +08:00
laokaiyao
d9d316b97d refactor(sdm): add check and error info to the clock division 2024-09-13 14:13:20 +08:00
Song Ruo Jing
2cef80666b Merge branch 'feature/gpio_add_direction' into 'master'
feat(gpio): allow appending mode to IOs

See merge request espressif/esp-idf!33181
2024-09-12 18:20:11 +08:00
Song Ruo Jing
e1d3d830ce refactor(gpio): public some IO configuration functions
This allows different peripheral drivers to act on the same IO.
2024-09-11 18:07:46 +08:00
wuzhenghui
05e74480f5
feat(esp_system): gate some clock by default to optmize esp32p4 active power 2024-09-11 10:53:00 +08:00
C.S.M
5141f01e56 fix(i2c): Fix the wrong return value of esp32,esp32s2,esp32s3 2024-09-09 19:15:02 +08:00
C.S.M
3ccdd8b397 fix(i2c): Fix possible error state in clear the bus,
Closes https://github.com/espressif/esp-idf/issues/13647
2024-09-06 14:28:26 +08:00
Zhu Li Qun
b9c58c550c Merge branch 'bugfix/fix_s3c3_wrong_ext32k_config_bug' into 'master'
fix(ext_32k): fix the external 32K issue on C3&S3

See merge request espressif/esp-idf!33150
2024-09-04 11:30:55 +08:00
Armando (Dou Yiwen)
85bc5acfc7 Merge branch 'change/sdmmc_ll_layer' into 'master'
sdmmc: full ll layer

Closes IDF-10544 and IDF-10251

See merge request espressif/esp-idf!33156
2024-09-04 10:54:37 +08:00