Commit Graph

51725 Commits

Author SHA1 Message Date
Sudeep Mohanty
359cec50bb test(lp_core): use soc_filtered_targets for all LP core pytest parametrization
Several LP core pytest files were either hardcoded to specific chip lists
or using a less-precise SOC capability filter:

- test_lp_core_multi_device: was locked to ['esp32c6'] pending a workaround
  for LP I2C on esp32p4; all three active LP core chips now have
  SOC_LP_I2C_SUPPORTED=1, so switch to soc_filtered_targets.

- test_lp_uart_wakeup_modes: was using SOC_LP_CORE_SUPPORTED which is
  semantically wrong for a UART test; change to SOC_ULP_LP_UART_SUPPORTED.

- LP core example pytests (build_system, interrupt, gpio_intr_pulse_counter,
  lp_timer_interrupt): replace hardcoded ['esp32c5', 'esp32c6', 'esp32p4']
  with soc_filtered_targets('SOC_LP_CORE_SUPPORTED == 1') so that new
  chips automatically get coverage when their SOC cap is enabled.
2026-04-23 10:10:05 +02:00
Sudeep Mohanty
f6c7def543 test(lp_core): extend LP UART multi-device test coverage
Refactor the LP UART multi-device tests to use a single parameterised
helper pair (test_lp_uart_write_cfg / test_lp_uart_read_cfg) instead of
one-off functions per config, and extend coverage to:

- write and read tests for 5-, 6-, 7-bit and even-parity configurations
- negative tests: word-length mismatch (FRAM_ERR recovery on LP side,
  garbled receive on HP side)
- LP GPIO Matrix routing tests (SOC_LP_GPIO_MATRIX_SUPPORTED chips only):
  swaps the default TX/RX GPIO numbers so both pins go through the LP GPIO
  Matrix, covering the lp_gpio_connect_in/out_signal() branch of
  lp_uart_config_io() that was previously untested at the data-transfer
  level; the same physical cross-wiring as all other LP UART tests is reused

Add rtc_gpio_deinit() cleanup at the end of single-board LP UART tests
so configured pins are returned to HP/digital mode and do not interfere
with subsequent tests that may reuse the same GPIOs.
2026-04-23 09:06:16 +02:00
Sudeep Mohanty
952dca66bf fix(lp_core): skip LP UART RTS/CTS pin setup when flow control is disabled
lp_core_uart_set_pin() unconditionally configured the RTS and CTS GPIO
pins even when flow control was disabled. Only configure the RTS pin
when UART_HW_FLOWCTRL_RTS is set, and the CTS pin when
UART_HW_FLOWCTRL_CTS is set.
2026-04-23 09:06:16 +02:00
Sudeep Mohanty
eb6ffbf1ee fix(lp_core): fix LP UART IOMUX pin not bypassing LP GPIO Matrix for RX
On chips with SOC_LP_GPIO_MATRIX_SUPPORTED (esp32p4, esp32s31), when the
default IOMUX pin is used for LP UART, calling rtc_gpio_iomux_func_sel()
alone only selects the IOMUX function on the pad side but does not set
sig_in_sel=0 on the peripheral side. This leaves the LP UART RX input
still reading from the LP GPIO Matrix (where no signal is connected),
causing RX to receive nothing.

Apply the same fix that was already in the HP UART driver: use
rtc_gpio_iomux_input() / rtc_gpio_iomux_output() which additionally
configure the peripheral to bypass the LP GPIO Matrix for IOMUX pins.
2026-04-23 09:06:16 +02:00
Sudeep Mohanty
a80f451362 fix(lp_core): fix LP UART init parameter validation
Align data_bits, flow_ctrl, and rx_flow_ctrl_thresh checks with uart_param_config().

Made-with: Cursor
2026-04-23 09:06:12 +02:00
Fu Hanxi
1365d01012 Merge branch 'ci/update_integration_test' into 'master'
ci: move  to ci/actions

See merge request espressif/esp-idf!47822
2026-04-22 12:50:18 +02:00
Mahavir Jain
8f7984dcc4 Merge branch 'fix/preserve_flash_layout_compatibiliy_of_hw_ecdsa_keys_psa' into 'master'
Persistent Storage Format for PSA Opaque ESP-Keys

See merge request espressif/esp-idf!47404
2026-04-22 16:11:29 +05:30
Armando (Dou Yiwen)
a978b8f476 Merge branch 'change/remove_psram_ticket' into 'master'
change(psram): remove ticket

Closes IDF-14718

See merge request espressif/esp-idf!47845
2026-04-22 10:17:43 +00:00
Marius Vikhammer
5f4161b710 Merge branch 'feature/lockup_debug' into 'master'
feat(esp_system): add CPU lockup debug support for esp32h4 and esp32s31

See merge request espressif/esp-idf!47630
2026-04-22 17:52:36 +08:00
Song Ruo Jing
793978605e Merge branch 'bugfix/isp_gamma_xcoord_error' into 'master'
fix(isp): disable gamma xcoord error check

Closes IDF-15561

See merge request espressif/esp-idf!47799
2026-04-22 17:51:03 +08:00
Suren Gabrielyan
56f1f161c3 Merge branch 'bugfix/transport_ws_ping_pong' into 'master'
fix(transport_ws): fix stream desync and chunked delivery of control frames

Closes IDFGH-16946

See merge request espressif/esp-idf!46972
2026-04-22 09:37:46 +00:00
Marius Vikhammer
0a75d8a358 Merge branch 'bugfix/cleanup_leftover_timer_todo_s31' into 'master'
fix(esp_timer): removed leftover TODOs

Closes IDF-14693

See merge request espressif/esp-idf!47842
2026-04-22 17:17:09 +08:00
Shu Chen
42bdbdeed3 Merge branch 'feat/ot_make_esp_netif_glue_optional' into 'master'
feat(openthread): make esp_netif glue optional

See merge request espressif/esp-idf!46986
2026-04-22 09:09:18 +00:00
Island
c8f1b56d1b Merge branch 'bugfix/add_iso_funcs_to_obf_whitelist' into 'master'
change(ble): add iso funcs to obfuscation whitelist

See merge request espressif/esp-idf!47839
2026-04-22 16:58:16 +08:00
surengab
5c43ec149d fix(transport_ws): read full PING payload in one call when propagate_control_frames is set 2026-04-22 12:44:15 +04:00
surengab
e19d2a9a69 fix(transport_ws): flush oversized control frame payload before returning error 2026-04-22 12:44:14 +04:00
Armando (Dou Yiwen)
7e6995b8cb change(psram): remove ticket
Signed-off-by: Armando (Dou Yiwen) <douyiwen@espressif.com>
2026-04-22 16:36:21 +08:00
Lu Wei Ke
9fc2f11136 Merge branch 'docs/update_ble_adv_comment' into 'master'
docs: Fix BLE get-started adv comments and typos

Closes DOC-14012

See merge request espressif/esp-idf!47451
2026-04-22 16:18:47 +08:00
Tomas Rohlinek
c225eb59db Merge branch 'feat/update_littlefs' into 'master'
feat(storage/littlefs): Bump version to enable blockdev support

Closes IDF-12746

See merge request espressif/esp-idf!47358
2026-04-22 09:51:20 +02:00
Chen Chen
974676d7e3 Merge branch 'feature/support_i2s_on_esp32s31' into 'master'
feat(i2s): support i2s on esp32s31

Closes IDF-14771, IDF-14772, and IDF-14733

See merge request espressif/esp-idf!46127
2026-04-22 15:47:03 +08:00
Marius Vikhammer
9ddde5df89 fix(esp_timer): removed leftover TODOs 2026-04-22 15:11:01 +08:00
Marius Vikhammer
6b53a2362f Merge branch 'feature/esp_rom_s31' into 'master'
feat(esp_rom): add support for esp32s31

Closes IDF-14687

See merge request espressif/esp-idf!47797
2026-04-22 15:04:18 +08:00
Shen Meng Jing
06c2bc2048 Merge branch 'docs/update_cn_ram_usage_and_log' into 'master'
docs: Update CN translations for ram-usage.rst and log.rst

Closes DOC-14343

See merge request espressif/esp-idf!47813
2026-04-22 14:43:49 +08:00
Shen Mengjing
0aeccc1adf docs: Update CN translations for ram-usage.rst and log.rst 2026-04-22 14:36:22 +08:00
wangjialiang
d08f00dae4 change(ble): add ble iso funcs to obfuscation whitelist 2026-04-22 14:22:51 +08:00
harshal.patil
7eb44576be test(mbedtls): Add a test for opaque HMAC driver verification 2026-04-22 10:11:27 +05:30
harshal.patil
f195d183be fix(mbedtls): Flash compatibility across multiple key sources (ECDSA, HMAC) 2026-04-22 10:11:12 +05:30
Marius Vikhammer
f0dd795434 Merge branch 'ci/fix_nimble_ble_readme' into 'master'
ci(ble): fixed failing pre-commit on nimble readme

See merge request espressif/esp-idf!47834
2026-04-22 11:54:39 +08:00
Marius Vikhammer
3b33072b9c ci(ble): fixed failing pre-commit on nimble readme 2026-04-22 11:37:21 +08:00
Mahavir Jain
a572df21d3 Merge branch 'fix/remove_mbedtls_tls_disabled_config' into 'master'
fix(mbedtls): remove not required MBEDTLS_TLS_DISABLED config

See merge request espressif/esp-idf!47818
2026-04-22 08:51:14 +05:30
Marius Vikhammer
8e2b416c38 feat(esp_system): add CPU lockup debug support for esp32h4 and esp32s31 2026-04-22 11:11:02 +08:00
Rahul Tank
8e4f6c56be Merge branch 'feat/nimble_logs_compression' into 'master'
feat(nimble): Support NimBLE log compression and decompression over SPI

See merge request espressif/esp-idf!46967
2026-04-22 08:02:05 +05:30
Chen Chen
3b2f30ec35 fix(lcd): lower the APLL test frequency to pass the test 2026-04-22 09:31:12 +08:00
laokaiyao
8d0fca08a0 feat(i2s): support i2s & apll on esp32s31 2026-04-22 09:30:53 +08:00
Chen Chen
91105b65b6 fix(i2s): fix gpio selection on esp32h4 & fix reservation check issue 2026-04-22 09:29:34 +08:00
Wang Meng Yang
e1b81f0aad Merge branch 'feat/support_ble_bredr_on_esp32s31' into 'master'
feat(bt): Support Bluetooth LE and Bluetooth Classic on ESP32-S31

Closes IDF-15185, IDF-15188, IDF-15189, IDF-15193, and IDF-15192

See merge request espressif/esp-idf!47330
2026-04-22 08:03:07 +08:00
Martin Vychodil
6c8c76f257 Merge branch 'bugfix/fatfs_memory_leak_with_dyn_buffer' into 'master'
fix(fatfs): fix a memory leak bug when FF_USE_DYN_BUFFER was enabled

Closes IDF-15593

See merge request espressif/esp-idf!47769
2026-04-22 04:33:30 +08:00
Chen Ji Chang
7ed6c83eb5 Merge branch 'feat/support_lcd_on_s31' into 'master'
feat(lcd): support rgb and i80 lcd on s31

Closes IDF-14750, IDF-14751, IDF-14753, and IDF-14754

See merge request espressif/esp-idf!47312
2026-04-22 00:40:26 +08:00
Aditya Patwardhan
597dc10d2a Merge branch 'fix/mbedtls-psa-hmac-opaque-abort-null-deref' into 'master'
fix(mbedtls): correct inverted NULL check in esp_hmac_abort_opaque

See merge request espressif/esp-idf!47565
2026-04-21 19:57:13 +05:30
Aditya Patwardhan
bf56fad62d Merge branch 'fix/protocomm-close-session-id-mismatch' into 'master'
fix(protocomm): pass current session id when closing existing session

See merge request espressif/esp-idf!47562
2026-04-21 19:55:01 +05:30
Chen Yudong
91b344386c ci: move to ci/actions 2026-04-21 19:52:16 +08:00
Island
a34b42452c Merge branch 'feat/fixed_some_ble_issues_for_h4' into 'master'
updated libble to 22c410d, btdm to 2da8344 for esp32h4

See merge request espressif/esp-idf!47649
2026-04-21 18:50:41 +08:00
morris
71c9ca8930 Merge branch 'feature/move-gptimer-retention-to-driver' into 'master'
Move gptimer retention info from esp_hal_timg to esp_driver_gptimer

See merge request espressif/esp-idf!47599
2026-04-21 17:56:11 +08:00
Wang Mengyang
202233107c feat(bt): Add unit test for tinycrypt ECC P-256 and P-192 2026-04-21 17:53:26 +08:00
cjin
deea9fc5ad fix(bt): temp disable ble iso support 2026-04-21 17:53:26 +08:00
cjin
3acaac4a07 fix(bt): update btdm init/deinit and enable/disable process 2026-04-21 17:53:26 +08:00
Wang Mengyang
63a619275b fix(esp_coex): Disable coexist build for ESP32-S31 before it is supported
- Disable blufi example build on ESP32-S31
2026-04-21 17:53:24 +08:00
cjin
ba29417ff4 feat(bt): supported bt modem clock configuration on esp32s31 2026-04-21 17:51:33 +08:00
cjin
ee99444c35 fix(ble): fix ble example compilation errors 2026-04-21 17:50:36 +08:00
Wang Mengyang
b7b4b10584 fix(bt): Fix build error in hci transport on ESP32-S31 2026-04-21 17:50:36 +08:00