morris
435cf83a52
Merge branch 'refactor/p4_touch_channel_increase_1_v5.4' into 'release/v5.4'
...
refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14 (v5.4)
See merge request espressif/esp-idf!39792
2025-06-30 10:19:58 +08:00
morris
e055bd526f
Merge branch 'feat/usb-explicit-fifo-config_v5.4' into 'release/v5.4'
...
feat(usb/hal): Add HAL API to configure custom FIFO layout (backport v5.4)
See merge request espressif/esp-idf!39265
2025-06-30 10:18:31 +08:00
morris
ddc3001ad4
Merge branch 'fix/fix_c3_c2_cache_freeze_soc_caps_issue_v5.4' into 'release/v5.4'
...
cache: fixed SOC_CACHE_FREEZE_SUPPORTED not defined on C3 / C2 issue (v5.4)
See merge request espressif/esp-idf!39883
2025-06-30 10:16:58 +08:00
yanzihan@espressif.com
34b8f67a89
feat(esp_hw_support): use pvt to auto control digital ldo and rtc ldo for esp32p4
2025-06-25 18:22:02 +08:00
armando
18d17ebd23
fix(cache): fixed SOC_CACHE_FREEZE_SUPPORTED not defined on c3/c2 issue
2025-06-25 09:48:42 +08:00
laokaiyao
c8a6d41c27
refactor(touch): adjust touch channel number on P4 from 0-13 to 1-14
2025-06-19 14:17:49 +08:00
wanckl
ea03622621
ci(esp32c61): remove c61 support from readme on 5.4
2025-06-17 15:09:40 +08:00
Song Ruo Jing
ec373b51b8
fix(uart): correct C3/S3 module enable porcedure to avoid undesired line noise
2025-05-27 14:15:33 +08:00
Jiang Jiang Jian
871aeae6ad
Merge branch 'fix/lp_periph_use_int_raw_v5.4' into 'release/v5.4'
...
change(lp-core): Update LP I2C and LP UART drivers to use raw interrupt status (v5.4)
See merge request espressif/esp-idf!39249
2025-05-27 11:11:29 +08:00
Jiang Jiang Jian
b53f520ebc
Merge branch 'fix/fix_esp_timer_accuracy_when_do_dfs_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): improve esp timer accuracy on DFS for esp32 & esp32s2 (v5.4)
See merge request espressif/esp-idf!39340
2025-05-26 19:46:58 +08:00
Jiang Jiang Jian
afa7b83ed7
Merge branch 'bugfix/gpio_dump_io_config_v5.4' into 'release/v5.4'
...
fix(gpio): fix pu, pd, drv value incorrect from gpio_dump_io_configuration on esp32 (v5.4)
See merge request espressif/esp-idf!37778
2025-05-26 19:45:25 +08:00
Jiang Jiang Jian
cf0c42936b
Merge branch 'fix/fix_esp32p4_stuck_in_pd_ana_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep (v5.4)
See merge request espressif/esp-idf!39282
2025-05-26 19:44:17 +08:00
Jiang Jiang Jian
c51c27e879
Merge branch 'fix/fix_usb_hs_phy_leakage_on_deepsleep_v5.4' into 'release/v5.4'
...
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy (v5.4)
See merge request espressif/esp-idf!39168
2025-05-26 19:36:29 +08:00
wuzhenghui
78e9c47580
fix(esp_hw_support): update LACT clock prescale immediately when APB changes on esp32
2025-05-22 15:18:16 +08:00
igor.masar
d191538f18
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 16:11:40 +02:00
wuzhenghui
e27321ab51
fix(esp_hw_support): fix esp32p4 may get stuck when entering deepsleep
2025-05-20 15:52:52 +08:00
Song Ruo Jing
8f231272f6
fix(gpio): fix IO output enable control
...
oen_sel and oen_inv_sel fields from func_out_sel_cfg register
2025-05-20 15:30:26 +08:00
Song Ruo Jing
f61b453a25
fix(gpio): fix 8/16-bit gpio, rtc/lp_io register access
2025-05-20 15:30:26 +08:00
Song Ruo Jing
6cffc5c994
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-05-20 15:30:14 +08:00
Sudeep Mohanty
6b75576db2
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:33:21 +02:00
wuzhenghui
1811757ad9
fix(esp_hw_support): Fix deepsleep leakage after initializing USB HS phy
2025-05-15 16:05:05 +08:00
nilesh.kale
93ca084b62
fix(esp_mm): Move cache-related sources out of pure RAM app check
...
This change resolves build issues when compiling with
CONFIG_APP_BUILD_TYPE_PURE_RAM_APP enabled.
2025-05-13 12:57:19 +05:30
morris
d62e3c7d14
Merge branch 'contrib/github_pr_15638_v5.4' into 'release/v5.4'
...
fix(i2c): Fix clear bus issue in legacy i2c driver, etc. (backport v5.4)
See merge request espressif/esp-idf!38828
2025-05-09 10:38:11 +08:00
C.S.M
94cbc9bbac
fix(i2c): Fix that fsm reset cause i2c scl frequency changed on esp32s2
2025-04-29 16:58:36 +08:00
wuzhenghui
33aca83c63
change(ci): remove esp32c5 from readme since esp32c5 skipped CI build
2025-04-25 17:13:27 +08:00
wuzhenghui
81860c55d6
feat(esp_hw_support): use non-lock regi2c fast-up cpll/mpll enable process after sleep wakeup
2025-04-25 17:13:22 +08:00
morris
0e584aa200
Merge branch 'bugfix/fix_esp32_touch_example_task_watchdog_issue_v5.4' into 'release/v5.4'
...
fix(legacy_touch): fixed touch read WDT issue on esp32 (v5.4)
See merge request espressif/esp-idf!38581
2025-04-24 16:37:19 +08:00
gaoxu
c04ae03729
fix(ADC): fix P4 ADC oneshot error when reread
2025-04-23 11:33:06 +08:00
laokaiyao
8e6a7845b7
fix(touch): fixed tie option take no effect
2025-04-21 20:45:50 +08:00
wuzhenghui
7643f77225
feat(esp_hw_support): enable auto clock gating for multi peripherals
2025-04-16 15:08:51 +08:00
morris
ef1a5075f5
Merge branch 'refactor/ana_cmpr_driver_v5.4' into 'release/v5.4'
...
refactor(ana_cmpr): enhanced the driver implementation (v5.4)
See merge request espressif/esp-idf!38388
2025-04-15 13:15:23 +08:00
morris
d20d3c7a60
fix(ana_cmpr): ETM event not work for Unit 1
2025-04-14 17:13:48 +08:00
Marius Vikhammer
8e1f47ef04
fix(lpwdt): P4 LP-WDT now takes into account the EFUSE_WDT_DELAY forthe timeout
2025-04-14 14:52:15 +08:00
morris
756cd17c61
Merge branch 'contrib/github_pr_15484_v5.4' into 'release/v5.4'
...
fix(twai): fixed twai assert fail during recover (GitHub PR) (v5.4)
See merge request espressif/esp-idf!37988
2025-04-14 13:23:02 +08:00
morris
5190ce55a0
Merge branch 'fix/usb-hal-dwc-host-channel-num_v5.4' into 'release/v5.4'
...
fix(usb/hal/dwc): Correct host channel number calculation (backport v5.4)
See merge request espressif/esp-idf!37367
2025-04-11 11:27:34 +08:00
diplfranzhoepfinger
30d871d206
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:08:34 +08:00
Jiang Jiang Jian
19e864060a
Merge branch 'fix/rmii_ref_ckl_v5.4' into 'release/v5.4'
...
fix(esp_eth): fixed ESP32P4 EMAC REF RMII CLK output mode (v5.4)
See merge request espressif/esp-idf!38039
2025-04-07 13:58:48 +08:00
igor.masar
c9c0e8b63e
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-04-03 23:53:01 +08:00
morris
7e1238de97
Merge branch 'fix/parlio_add_gdma_fifo_reset_v5.4' into 'release/v5.4'
...
fix(parlio_tx): add clock and fifo reset in disable function (v5.4)
See merge request espressif/esp-idf!36273
2025-04-03 10:27:04 +08:00
morris
7fe190313c
Merge branch 'feat/p4_adc_calibration' into 'release/v5.4'
...
Feature/esp32 p4 adc calibration (backport v5.4)
See merge request espressif/esp-idf!36179
2025-04-02 11:04:46 +08:00
morris
ff8c836be3
Merge branch 'feat/allow_setting_rmt_group_prescale_v5.4' into 'release/v5.4'
...
refactor(rmt): set group clock prescale dynamically (v5.4)
See merge request espressif/esp-idf!36737
2025-04-02 10:15:16 +08:00
morris
13baf981ca
Merge branch 'bugfix/sdmmc_high_prio_timeout_v5.4' into 'release/v5.4'
...
fix(sdmmc): move DMA descriptor refilling into the ISR (v5.4)
See merge request espressif/esp-idf!37694
2025-04-02 10:13:22 +08:00
gaoxu
d74f12dea7
feat(adc): support ADC calibration on ESP32P4
2025-04-01 15:07:56 +08:00
gaoxu
b227da9b2b
ci(adc): enable P4 ADC test and correct ADC performance thresh
2025-04-01 15:05:36 +08:00
Ondrej Kosta
300adf0045
fix(esp_eth): fixed emac_ll_pause_frame_enable for ESP32P4
2025-04-01 08:32:09 +02:00
Ondrej Kosta
e544d57179
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:32:09 +02:00
morris
beee8e047e
Merge branch 'contrib/github_pr_15499_v5.4' into 'release/v5.4'
...
Add missing break statements to usb_serial_jtag_ll_phy_select (GitHub PR) (v5.4)
See merge request espressif/esp-idf!38124
2025-04-01 11:14:52 +08:00
morris
57a83359d5
Merge branch 'bugfix/clear_ledc_gamma_ram_v5.4' into 'release/v5.4'
...
fix(ledc): left-off gamma ram registers should be cleared (v5.4)
See merge request espressif/esp-idf!37572
2025-04-01 11:13:32 +08:00
Chen Jichang
4e7c593098
fix(parlio): fix rempty interrupt during resetting fifo
...
Move the fifo reset to after disabling the tx core clock.
And add external non-free running clock src test.
2025-04-01 11:11:44 +08:00
Chen Jichang
21792d572e
fix(parlio_tx): add clock and fifo reset in disable function
2025-04-01 11:11:44 +08:00