Commit Graph

2157 Commits

Author SHA1 Message Date
Aditya Patwardhan
cddc6685f1 Merge branch 'feature/enable_support_for_deterministic_mode_and_ecdsa_192_v5.3' into 'release/v5.3'
Feature/enable support for deterministic mode and ecdsa 192 v5.3

See merge request espressif/esp-idf!40102
2025-06-25 14:37:58 +05:30
nilesh.kale
2a6e018ee8 feat: enable support for deterministic mode for esp32h2 2025-06-25 10:51:01 +05:30
Michael (XIAO Xufeng)
a81456e0d0 Merge branch 'fix/fix_c3_c2_cache_freeze_soc_caps_issue_v5.3' into 'release/v5.3'
cache: fixed SOC_CACHE_FREEZE_SUPPORTED not defined on C3 / C2 issue (v5.3)

See merge request espressif/esp-idf!39884
2025-06-24 23:14:11 +08:00
nilesh.kale
19fcf0e073 feat: enabled ECDSA-P192 support for ESP32H2 2025-06-24 15:03:59 +05:30
armando
2784693977 fix(cache): fixed SOC_CACHE_FREEZE_SUPPORTED not defined on c3/c2 issue 2025-06-24 15:44:56 +08:00
morris
c60f52b724 Merge branch 'contrib/github_pr_16130_v5.3' into 'release/v5.3'
esp_adc: Release the peripheral after calibration (GitHub PR) (v5.3)

See merge request espressif/esp-idf!40003
2025-06-24 12:18:09 +08:00
gaoxu
216cf17fc1 fix(adc): fix P4 ADC2 oneshot error and refactor apb claim macor 2025-06-24 10:33:59 +08:00
Jiang Jiang Jian
dc625ba12b Merge branch 'refactor/p4_touch_channel_increase_1_v5.3' into 'release/v5.3'
refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14 (v5.3)

See merge request espressif/esp-idf!39793
2025-06-23 10:50:12 +08:00
Jiang Jiang Jian
0c7bd3e961 Merge branch 'fix/lp_periph_use_int_raw_v5.3' into 'release/v5.3'
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status (v5.3)

See merge request espressif/esp-idf!39250
2025-06-23 10:42:43 +08:00
laokaiyao
565267ca34 refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14 2025-06-13 19:44:38 +08:00
morris
15bc442a88 Merge branch 'feat/usb-explicit-fifo-config_v5.3' into 'release/v5.3'
feat(usb/hal): Add HAL API to configure custom FIFO layout (backport v5.3)

See merge request espressif/esp-idf!39264
2025-06-03 14:35:32 +08:00
Jiang Jiang Jian
c06e9d3a73 Merge branch 'fix/fix_esp32p4_retention_cost_v5.3' into 'release/v5.3'
fix(esp_hw_support): optimize retention cost and update sleep time compensation (v5.3)

See merge request espressif/esp-idf!38745
2025-05-26 20:01:56 +08:00
Jiang Jiang Jian
96037e9cc3 Merge branch 'fix/fix_usb_hs_phy_leakage_on_deepsleep_v5.3' into 'release/v5.3'
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy (v5.3)

See merge request espressif/esp-idf!39169
2025-05-26 19:56:41 +08:00
Jiang Jiang Jian
b7cdd6ead9 Merge branch 'fix/fix_esp32p4_stuck_in_pd_ana_v5.3' into 'release/v5.3'
fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep (v5.3)

See merge request espressif/esp-idf!39284
2025-05-26 19:56:12 +08:00
Jiang Jiang Jian
b78ef76005 Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.3' into 'release/v5.3'
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.3)

See merge request espressif/esp-idf!39341
2025-05-26 19:54:44 +08:00
morris
46ac830333 Merge branch 'bugfix/lp_uart_baudrate_limitation_v5.3' into 'release/v5.3'
fix(uart): LP UART does not have the pre-divider for its clock source (v5.3)

See merge request espressif/esp-idf!37595
2025-05-23 17:10:39 +08:00
wuzhenghui
85aad225d0 fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32 2025-05-22 15:14:39 +08:00
Song Ruo Jing
8baffe22cb fix(uart): LP UART does not have the pre-divider for its clock source
Closes https://github.com/espressif/esp-idf/issues/15427
2025-05-22 11:51:19 +08:00
igor.masar
d98a828c7e feat(usb/hal): Add support for explicit FIFO configuration
Introduce a new HAL API `usb_dwc_hal_set_fifo_config()` that allows advanced users
to manually configure RX, Non-Periodic TX, and Periodic TX FIFO sizes. This offers
fine-grained control beyond the previous bias-based sizing approach.

The HAL function no longer returns `esp_err_t`, and internal validations are enforced
via `HAL_ASSERT()`. Responsibility for input validation has been moved to the HCD layer.

FIFO configuration must be applied before any USB pipes are created or activated.
This feature is intended for use during `usb_host_install()`.

If no custom FIFO configuration is provided (i.e., all values are zero),
the driver falls back to a bias-based default layout based on Kconfig settings
(`CONFIG_USB_HOST_HW_BUFFER_BIAS_*`). Bias resolution is done inside `hcd_port_init()`.

The `port_obj_t` structure has been extended with a `fifo_config` field, which stores
the configuration to allow re-application after a USB port reset.

Obsolete FIFO bias enums (`usb_hal_fifo_bias_t`, `hcd_port_fifo_bias_t`) and related
APIs (`hcd_port_set_fifo_bias()`) have been removed in favor of the new structure-based mechanism.

The HCD initialization and port reset flow has been updated to use the explicit
FIFO configuration.

USB Host maintainer documentation (`maintainers.md`) has been updated accordingly.
Test cases were updated to remove the usage of removed bias API and now rely on default
or custom FIFO configuration.
2025-05-20 15:44:54 +02:00
wuzhenghui
6866e9d40e fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep 2025-05-20 16:01:20 +08:00
Song Ruo Jing
7c4a6bf9d6 fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise 2025-05-20 11:54:15 +08:00
Sudeep Mohanty
ee995a79f3 change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status
This commit updates the LP I2C and LP UART drivers to use the raw
interrupt status without enabling the interrupts.
2025-05-19 10:38:07 +02:00
wuzhenghui
e0d1641281 fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy 2025-05-15 16:05:34 +08:00
C.S.M
87c6979b97 fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2 2025-05-08 13:01:30 +08:00
wuzhenghui
1b47abed1b feat(esp_hw_support): use non-lock regi2c fast-up cpll/mpll enable process after sleep wakeup 2025-05-07 11:42:33 +08:00
Adam Múdry
d29f0f3e21 feat(sdmmc): Concurrent use of SDMMC peripheral
Host and device (card, etc.) initialization is not thread-safe.
After initialization transactions are serialized and guarded by mutex.
Changed `SDMMC_HOST_DEFAULT()` default deinit function to `sdmmc_host_deinit_slot`
which has a slot number as argument.
2025-05-05 18:58:58 +08:00
Jiang Jiang Jian
dcd92c96bf Merge branch 'fix/rmii_ref_ckl_v5.3' into 'release/v5.3'
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode (v5.3)

See merge request espressif/esp-idf!38040
2025-04-27 14:21:28 +08:00
laokaiyao
781ccfbd0c fix(touch): fixed tie option take no effect 2025-04-21 20:46:33 +08:00
morris
3fc84fdbca Merge branch 'fix/usb-hal-dwc-host-channel-num_v5.3' into 'release/v5.3'
fix(usb/hal/dwc): Correct host channel number calculation (backport v5.3)

See merge request espressif/esp-idf!37373
2025-04-16 10:21:29 +08:00
morris
3f9d5cac2a Merge branch 'bugfix/clear_ledc_gamma_ram_v5.3' into 'release/v5.3'
fix(ledc): left-off gamma ram registers should be cleared (v5.3)

See merge request espressif/esp-idf!37573
2025-04-16 10:19:51 +08:00
morris
7c447b5525 Merge branch 'bugfix/gpio_dump_io_config_v5.3' into 'release/v5.3'
fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32 (v5.3)

See merge request espressif/esp-idf!37909
2025-04-16 10:17:44 +08:00
morris
13cf4ba87c Merge branch 'bugfix/sdmmc_high_prio_timeout_v5.3' into 'release/v5.3'
fix(sdmmc): move DMA descriptor refilling into the ISR (v5.3)

See merge request espressif/esp-idf!37688
2025-04-15 14:47:50 +08:00
morris
5ad0818c9f Merge branch 'refactor/ana_cmpr_driver_v5.3' into 'release/v5.3'
refactor(ana_cmpr): enhanced the driver implementation (v5.3)

See merge request espressif/esp-idf!38389
2025-04-15 10:57:27 +08:00
morris
3816f5f281 Merge branch 'fix/parlio_add_gdma_fifo_reset_v5.3' into 'release/v5.3'
fix(parlio_tx): add clock and fifo reset in disable function (v5.3)

See merge request espressif/esp-idf!36274
2025-04-15 10:47:25 +08:00
morris
cff4d595e5 Merge branch 'fix/jpeg_decoder_collective_backport_v5.3' into 'release/v5.3'
fix(jpeg_decoder): JPEG Decoder collective backport to v5.3

See merge request espressif/esp-idf!37508
2025-04-15 10:24:04 +08:00
Marius Vikhammer
6d8f288bbc Merge branch 'bugfix/p4_lpwdt_efuse_v5.3' into 'release/v5.3'
fix(lpwdt): P4 LP-WDT now takes into account the EFUSE_WDT_DELAY for the timeout (v5.3)

See merge request espressif/esp-idf!38393
2025-04-15 10:22:09 +08:00
morris
5a3ef8e515 Merge branch 'contrib/github_pr_15484_v5.3' into 'release/v5.3'
fix(twai): fixed twai assert fail during recover (GitHub PR) (v5.3)

See merge request espressif/esp-idf!37989
2025-04-15 10:20:15 +08:00
morris
8bb21fda7c Merge branch 'feat/enable_l2mem_burst_buffer_mode_v5.3' into 'release/v5.3'
improve AXI-ICM QoS function (v5.3)

See merge request espressif/esp-idf!37469
2025-04-15 10:10:52 +08:00
Marius Vikhammer
c15953acee fix(lpwdt): P4 LP-WDT now takes into account the EFUSE_WDT_DELAY forthe timeout 2025-04-14 14:52:23 +08:00
morris
f4968da7ce fix(ana_cmpr): ETM event not work for Unit 1 2025-04-14 14:42:21 +08:00
diplfranzhoepfinger
1d7d24b160 fix(twai): fixed twai assert fail when recover
driver try start new frame in ISR however already bus off

Closes https://github.com/espressif/esp-idf/issues/9697
2025-04-10 20:07:16 +08:00
Ondrej Kosta
87e77f3154 fix(esp_eth): fixed emac_ll_pause_frame_enable for ESP32P4 2025-04-01 08:34:45 +02:00
Ondrej Kosta
9f4acf245a fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode
fixed units returned and used by periph_rtc_mpll_freq_set function
2025-04-01 08:34:45 +02:00
Renze Nicolai
cb7cdb315e fix: add missing break statements to usb_serial_jtag_ll_phy_select,
Closes https://github.com/espressif/esp-idf/pull/15499
2025-03-31 10:39:18 +08:00
Song Ruo Jing
0077f642df fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access 2025-03-20 17:09:36 +08:00
Song Ruo Jing
47f1a2c81b fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32
Closes https://github.com/espressif/esp-idf/issues/14931
2025-03-20 17:09:28 +08:00
morris
8a1c9e3cfa fix(axi_icm): qos can be applied to read and write independently 2025-03-12 21:37:29 +08:00
Ivan Grokhotkov
f824a827dc fix(sdmmc): move DMA descriptor refilling into the ISR
Previously, as DMA descriptors were processed, the task performing
SDMMC transfer would get woken up and would refill the descriptors.
This design didn't work correctly when higher priority tasks occupied
the CPU for too long, resulting in SDMMC transfer timing out.

This change moves DMA descriptor refilling into SDMMC ISR. Now the
"DMA done" interrupt is delivered back to task context only when
the entire transfer is completed.

Closes https://github.com/espressif/esp-idf/issues/13934
2025-03-12 13:06:57 +08:00
Song Ruo Jing
0ced5fbd21 fix(ledc): overflowed integer argument in ledc_hal_clear_left_off_fade_param 2025-03-07 20:30:20 +08:00
igor.masar
e0679b5ba0 fix(usb/hal/dwc): Correct host channel number calculation
The hardware field `ghwcfg2.numhstchnl` is zero-based, meaning the actual
number of available host channels is `numhstchnl + 1`. This off-by-one
error caused the USB Host controller to report N-1 channels instead of N,
leading to premature "No more HCD channels available" errors when
connecting multiple devices.

This issue affects ESP32-S2, ESP32-S3, and ESP32-P4.
2025-03-07 18:30:44 +08:00