Commit Graph

539 Commits

Author SHA1 Message Date
Tomas Rezucha
4e4c9dc726 fix(usb/host): Set SCHED_INFO for all channels
Although the hardware documentation suggests that SCHED_INFO is only used
for periodic channels, empirical evidence shows that omitting this configuration
on non-periodic channels can cause them to freeze.
Therefore, we set this field for all channels to ensure reliable operation.
2025-02-06 08:17:59 +01:00
Mahavir Jain
649f9a72ae Merge branch 'feat/support_aes_pseudo_round_func_in_esp32h2_eco5_v5.4' into 'release/v5.4'
Support AES and XTS-AES's pseudo round function in ESP32H2-ECO5 (v5.4)

See merge request espressif/esp-idf!36463
2025-01-23 13:20:20 +08:00
morris
206b3a22ad Merge branch 'feat/spi_std_timing_and_bit_trans_v5.4' into 'release/v5.4'
feat(driver_spi): support adjust master rx to standard timing (v5.4)

See merge request espressif/esp-idf!36399
2025-01-23 10:38:07 +08:00
harshal.patil
b06a4c198a feat(bootloader_support): Permanently enable XTS-AES pseudo rounds when FE release mode is enabled 2025-01-21 12:28:23 +05:30
wanckl
6c6454357c feat(driver_spi): support using SPI_DEVICE_STD_TIMING to adjust master rx in standard timing 2025-01-17 10:51:47 +08:00
Tomas Rezucha
ac3a3f801d feat(hal/usb): Explicitly enable clock and reset USB WRAP on init 2025-01-08 09:25:42 +01:00
morris
cfc878a650 Merge branch 'refactor/cleanup_usb_phy_backport_v5.4' into 'release/v5.4'
fix(usb/host): Fix reaction on High-Speed NYET packet (backport v5.4)

See merge request espressif/esp-idf!36119
2025-01-08 10:22:50 +08:00
Jiang Jiang Jian
7cd2a1483e Merge branch 'fix/fix_p4_deepsleep_io_leakage_v5.4' into 'release/v5.4'
fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage (v5.4)

See merge request espressif/esp-idf!36008
2025-01-07 10:53:13 +08:00
Tomas Rezucha
8e35c7854d 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.
2025-01-02 10:57:14 +01:00
wuzhenghui
c7c70a8ec6 fix(esp_hw_support): fix esp32p4 JTAG pad deepsleep current leakage 2024-12-26 16:03:42 +08:00
Song Ruo Jing
7167b04e6e fix(uart): fix 8/16-bit uart register access 2024-12-25 15:32:06 +08:00
morris
85e86626ff refactor(i2c): rename some LL functions according to TRM descriptions 2024-11-22 10:14:22 +08:00
morris
e422e12f17 Merge branch 'feat/dynamic_usb_hal_backport_v5.4' into 'release/v5.4'
feat(hal/usb): Make USB-DWC HAL&LL configuration independent backport v5.4

See merge request espressif/esp-idf!34812
2024-11-18 21:40:16 +08:00
Tomas Rezucha
68a95f5c94 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-11-15 00:36:10 +08:00
C.S.M
56625cda88 feat(i2c_slave): refactor i2c slave api to version 2 inorder to solve some existing problem 2024-11-14 18:02:15 +08:00
morris
a5fee4b8cc 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-08 11:44:08 +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
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
laokaiyao
ecb52d3af3 refactor(i2s): rename the confusing port number 2024-10-23 18:16:57 +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
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
wanckl
473f39c31f fix(driver_spi): move macro GPIO_MATRIX_DELAY_NS out from soc.h 2024-09-03 13:55:00 +08:00
C.S.M
bc80476411 fix(mspi): Refactor mspi ll/soc for c5 and c61 2024-08-15 15:08:56 +08:00
morris
9716d9e5ca refactor(brownout): correct names comments in the LL driver 2024-08-07 10:46:57 +08:00
morris
7dc6a2f562 Merge branch 'refactor/pcnt_isr_handling' into 'master'
refactor(pcnt): ISR handling

Closes IDF-10329

See merge request espressif/esp-idf!31911
2024-07-09 10:12:18 +08:00
morris
6d223f1921 refactor(pcnt): ISR handling 2024-07-08 14:52:14 +08:00
Song Ruo Jing
4cd74f51db fix(ledc): clear ledc_mem_force_pd when LEDC peripheral is in use
And enable target test for C5 and P4
2024-07-05 15:11:57 +08:00
nilesh.kale
469942225b fix(hal): updated naming style for power up and down api for mpi peripheral
This commit updated APIs' naming style to ensure consistency throughout
all other peripherals.
2024-07-03 10:49:20 +05:30
morris
722ce211af fix(rmt): power up memory block 2024-06-28 10:58:04 +08:00
Alexey Lapshin
b0ba5689f1 Merge branch 'feature/gcc-fanalyzer' into 'master'
feat(ci): add gnu static analyzer job

See merge request espressif/esp-idf!30902
2024-06-19 19:31:53 +08:00
Alexey Lapshin
ed6e497c6f feat(build): add COMPILER_STATIC_ANALYZER option 2024-06-18 14:25:37 +08:00
morris
0365cb0bc7 change(wdt): create wdt_periph.c in soc component 2024-06-18 09:59:06 +08:00
laokaiyao
865e3ee2de feat(touch_sens): touch sensor driver-ng on P4 2024-06-12 12:09:17 +08:00
Gao Xu
78c40fd19a Merge branch 'esp32p4/add_adc_support' into 'master'
feat(adc): support ADC oneshot/continuous mode on ESP32P4

Closes IDF-6496 and IDF-6497

See merge request espressif/esp-idf!28281
2024-06-05 16:31:59 +08:00
gaoxu
795f3fe377 feat(adc): support ADC continuous mode on ESP32P4 2024-06-03 16:50:39 +08:00
Song Ruo Jing
dca7c286d0 feat(uart): support uart module sleep retention on c6/h2/p4 2024-06-03 12:40:43 +08:00
laokaiyao
42cee2b94a fix(i2s): reserve some invalid registers on S2 2024-05-27 10:46:48 +08:00
Wan Lei
e1ed893550 Merge branch 'fix/spi_flash_replace_gpio_hal' into 'master'
fix(spi_flash): replace gpio_hal_iomux_func_sel

See merge request espressif/esp-idf!29478
2024-05-24 22:15:34 +08:00
wanlei
8762c4d1df fix(spi_flash): replace gpio_hal_iomux_func_sel 2024-05-23 16:29:22 +08:00
morris
bfc29da19a feat(rmt): add driver support on esp32c5
MP version
2024-05-23 11:23:14 +08:00
Armando
10d3912c70 feat(xip_psram): support xip psram feature on esp32p4 2024-05-22 15:56:07 +08:00
gaoxu
6d82c324bb feat(adc): move adc periph enable/reset functions to ll layer 2024-05-22 15:23:58 +08:00
gaoxu
c1edeca849 fix(dma): feat(adc): support ADC oneshot mod on ESP32P4 2024-05-22 15:23:58 +08:00