39263 Commits

Author SHA1 Message Date
Shu Chen
b544acb95a Merge branch 'feature/support_hw_reset_when_handling_rcp_failure_v5.3' into 'release/v5.3'
feat(openthread): support hardware reset RCP while processing RCP failure (v5.3)

See merge request espressif/esp-idf!36554
2025-02-11 11:30:20 +08:00
Sarvesh Bodakhe
d90f31c29e revert(wifi): Revert support for WPA3 Enterprise authentication modes
This reverts commit ca4d97bb22dce2aab93b385582123aeac6f4dd91.
2025-02-11 10:52:53 +08:00
Rahul Tank
f7e86fa548 fix(nimble): Fixed warnings with COMPILTER_WARN_WRITE_STRINGS set 2025-02-10 21:51:37 +05:30
Rahul Tank
36cf635137 Merge branch 'fix/spp_server_readme_change_v5.3' into 'release/v5.3'
docs: Updated README.md by removing unclear lines (v5.3)

See merge request espressif/esp-idf!36743
2025-02-10 23:59:51 +08:00
Rahul Tank
ed91973947 Merge branch 'fix/wifi_provisioning_ble_v5.3' into 'release/v5.3'
fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled (v5.3)

See merge request espressif/esp-idf!36498
2025-02-10 23:58:37 +08:00
Jiang Jiang Jian
14a1fa8b41 Merge branch 'bugfix/wpa3_enterprise_mode_detection_v5.3' into 'release/v5.3'
fix(wifi): Fix bug in authmode detection for wpa2/wpa3 enterprise (Backport v5.3)

See merge request espressif/esp-idf!36248
2025-02-10 21:45:05 +08:00
Sarvesh Bodakhe
141030941c fix(wifi): Fix bug in authmode detection for wpa2/wpa3 enterprise
WPA3-Enterprise mandates the use of AKM suite selector
00:0F:AC:5 (IEEE80211 802.1X with SHA-256)
2025-02-10 20:29:36 +08:00
Kapil Gupta
4442fe7787 fix(esp_wifi): Add review comments and some cleanup 2025-02-10 15:46:50 +05:30
Kapil Gupta
0b4bfb451f fix(esp_wifi): fix some analyzer issues
Closes https://github.com/espressif/esp-idf/issues/15097
Closes https://github.com/espressif/esp-idf/issues/15098
Closes https://github.com/espressif/esp-idf/issues/15099
2025-02-10 15:46:50 +05:30
Kapil Gupta
074235e261 fix(esp_wifi): Reduce scan frequency in WPS 2025-02-10 15:31:46 +05:30
morris
1536b00d75 fix(dma): also consider buffer alignment when calculating the DMA nodes
Closes https://github.com/espressif/esp-idf/issues/15228
2025-02-10 17:12:22 +08:00
Jiang Jiang Jian
489d7a2b3a Merge branch 'change/default_value_for_esp_coex_vsc_in_bluedroid_v5.3' into 'release/v5.3'
change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally (v5.3)

See merge request espressif/esp-idf!36735
2025-02-10 16:43:54 +08:00
Jiang Jiang Jian
05e3e2cfa1 Merge branch 'feat/increase_c2_supported_ver_v5.3' into 'release/v5.3'
feat(soc): increase c2 max supported version (v5.3)

See merge request espressif/esp-idf!35971
2025-02-10 16:39:59 +08:00
Jiang Jiang Jian
c5eb636e4d Merge branch 'docs/usb_host_ext_port_driver_backport_v5.3' into 'release/v5.3'
docs(ext_port): Maintainers Notes for the External Port Driver (backport v5.3)

See merge request espressif/esp-idf!35101
2025-02-10 16:37:33 +08:00
Cristian Funes
cc89f7266d fix(log): Modified linker script to move functions from flash to iram 2025-02-10 09:32:24 +01:00
zhanghaipeng
dda01d886f fix(ble): Update bt lib for ESP32(194dd63)
- Fix the issue where disconnection events were not reported as a slave.
- Enhance Access Address validation in compatibility mode.
2025-02-10 15:50:20 +08:00
gongyantao
96293d4575 feat(bt): add vendor hci command and event to support test
- add afh related vendor hci command and event
- add vendor event mask command
2025-02-10 15:50:11 +08:00
linruihao
1ca8daee7a feat(bt): add coexist scheme status support for bt page 2025-02-10 15:50:01 +08:00
Marius Vikhammer
780dc81e96 Merge branch 'fix/esp-event-profiling_v5.3' into 'release/v5.3'
fix(esp_event): Fix event loop profiling in handler_execute function (backport v5.3)

See merge request espressif/esp-idf!36690
2025-02-10 14:47:04 +08:00
Guillaume Souchere
693058a728 fix(esp_hw_support): Unused variables in memory_utils functions 2025-02-10 07:16:08 +01:00
Guillaume Souchere
bee3d8ff86 fix(heap): MALLOC_CAP_EXEC does not allocate in RTC IRAM
This commit fixes the issue when trying to allocate memory
with the MALLOC_CAP_EXEC in RTC memory. Prior to the fix,
the heap allocator was returning an address in RTC DRAM.

To fix this issue:
- modified memory_layout.c of the concerned targets to fill the iram_address
field in the rtc entry of the soc_memory_region array properly.
- modified heap component  related functions to return IRAM address when
an allocation in RTC memory with MALLOC_CAP_EXEC is requested.

Closes https://github.com/espressif/esp-idf/issues/14835
2025-02-10 07:16:07 +01:00
morris
33cc36595d Merge branch 'feat/async_memcpy_any_alignment_v5.3' into 'release/v5.3'
async memcpy destination address doesn't have to be cache aligned (v5.3)

See merge request espressif/esp-idf!36634
2025-02-10 13:32:22 +08:00
morris
57061d6336 Merge branch 'feature/malloc_cap_simd_flag_v5.3' into 'release/v5.3'
feat(heap): add a MALLOC_CAP_SIMD flag (v5.3)

See merge request espressif/esp-idf!36650
2025-02-09 10:45:43 +08:00
Song Ruo Jing
6975924104 feat(heap): add a MALLOC_CAP_SIMD flag
MALLOC_CAP_SIMD can be used to allocate memory to be used for SIMD instructions
2025-02-08 16:29:36 +08:00
Shu Chen
b46c03040f Merge branch 'feat/add_callback_for_esp_ot_radio_spinel_init_v5.3' into 'release/v5.3'
feat(openthread): add an API to set rcp version string (v5.3)

See merge request espressif/esp-idf!36744
2025-02-08 16:26:04 +08:00
morris
74615ed1a7 feat(async_memcpy): support rx buffer unaligned to cache line size 2025-02-08 15:48:11 +08:00
morris
1840d3663a refactor(dma): split rx buffer to cache aligned ones 2025-02-08 15:48:11 +08:00
morris
6cf2f3a8e2 Merge branch 'fix/usb_non_periodic_backport_v5.3' into 'release/v5.3'
fix(usb/host): Set SCHED_INFO for all channels (backport v5.3)

See merge request espressif/esp-idf!36771
2025-02-08 10:07:53 +08:00
Jiang Jiang Jian
1b33c442de Merge branch 'bugfix/remove_unused_sco_state_v5.3' into 'release/v5.3'
Bugfix/remove unused sco state (v5.3)

See merge request espressif/esp-idf!36730
2025-02-07 20:02:32 +08:00
Jiang Jiang Jian
354c0f5b8e Merge branch 'bugfix/sync_buf_crash_v5.3' into 'release/v5.3'
fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers (v5.3)

See merge request espressif/esp-idf!36341
2025-02-07 15:43:12 +08:00
Geng Yuchao
d418167af1 fix(esp32h2): H2 ble timer clk enable issue 2025-02-07 11:46:27 +08:00
Wang Mengyang
c7c0def473 change(bt): Set default value for BT_BLUEDROID_ESP_COEX_VSC conditionally
- Set default value of BT_BLUEDROID_ESP_COEX_VSC to n if software coexistence is not required,
in host-controller combined Bluetooth stack configuration.
2025-02-07 10:47:59 +08:00
Guillaume Souchere
7d4d24d198 fix(esp_vfs_console): USB CDC read when non blocking
In non blocking mode, the read function is expected
to return weather data is available for reading or not.

In case data are available but the size does not match
the expected size, the function read should return whatever
data is available.

Previously, the function was returning -1 with errno set
to EWOULDBLOCK even if the size of data in the buffer was
less than the requested size. It would only return the
available data if the size in the buffer was greater or equal
to the requested size.

The implementation of cdcacm_read is modified to return the avilable
data from the buffer even is the size is lesser than the requested
size.
2025-02-06 08:58:44 +01:00
Tomas Rezucha
56620eb23b 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:18:04 +01:00
Astha Verma
25b965deba fix(nimble): Handle nested locks when BT_NIMBLE_DEBUG enabled 2025-02-05 14:49:57 +05:30
Astha Verma
c4a5d869eb Updated README.md by removing unclear lines 2025-02-05 14:17:22 +05:30
morris
4d5a7c9864 Merge branch 'fix/move_spi_lcd_cb_fun_to_iram_v5.3' into 'release/v5.3'
feat(spi_lcd): move callback function to iram (v5.3)

See merge request espressif/esp-idf!36740
2025-02-05 14:56:11 +08:00
Xu Si Yu
6fb839eafc feat(openthread): add an API to set rcp version string 2025-02-05 14:36:06 +08:00
David Cermak
c17f0bb36c fix(esp_eth): Fix test code to unregister event correctly 2025-02-05 07:34:02 +01:00
morris
1de6022c76 Merge branch 'fix/periodic_fs_usb_on_p4_backport_v5.3' into 'release/v5.3'
fix(usb/host): Fixed Full Speed periodic transfers on ESP32-P4 (backport v5.3)

See merge request espressif/esp-idf!36648
2025-02-05 14:18:31 +08:00
Chen Jichang
7aab628ea8 feat(dma): Add helper functions to split aligned buffer
In some cases we will need the dma's buffer to be aligned with specific
requirements. This MR add two helper function to split the unaligned
buffer and merge to the origin buffer. The cost is that each unaligned
buffer requires two stash buffers of spilt alignment size. And this
memory should be managed by callers.
2025-02-05 12:48:25 +08:00
morris
400b1e5d57 Merge branch 'bugfix/fix_i2s_reconfig_slot_issue_v5.3' into 'release/v5.3'
fix(i2s): fixed incorrect logic in slot reconfig (v5.3)

See merge request espressif/esp-idf!36642
2025-02-05 12:32:26 +08:00
Chen Jichang
f6bbf60deb feat(spi_lcd): move callback function to iram
Closes https://github.com/espressif/esp-idf/issues/15160
2025-02-05 11:21:53 +08:00
Jin Cheng
d557699837 fix(bt/controller): fixed missing critical protections on linked-list structure of (e)SCO buffers 2025-02-05 10:24:59 +08:00
Wang Mengyang
72cde9aee5 change(bt): Remove unused state variable for (e)SCO disconnect reason in Bluedroid 2025-02-05 10:08:58 +08:00
Alexey Lapshin
88bbf875bd fix(newlib): fix __atomic_test_and_set to ensure atomicity
Before the change described in
https://gcc.gnu.org/pipermail/gcc-patches/2023-September/631393.html it
appeared that inlining built-in GCC function __atomic_test_and_set() was
incorrect. It resulted in a non-atomic write.
For GCC toolchains which do not have such patch yet, this commit fixes
__atomic_test_and_set to be atomic in IDF's builds.
2025-02-04 15:17:25 +07:00
David Cermak
62be7fea47 fix(esp_event): Fix minor no-ISR post regression
from 15f6775f5d5bd9ee73072e914118024d15b685eb
2025-02-04 09:07:13 +01:00
Alexey Gerenkov
3908e7b7b3 Merge branch 'fix/coredump_test_uart_data_missing_v5.3' into 'release/v5.3'
Fix missing coredump uart data in tests (v5.3)

See merge request espressif/esp-idf!36712
2025-02-03 22:55:07 +08:00
Erhan Kurubas
e9161c62d0 test(coredump): collect all expected uart data first, then process lazily 2025-02-03 15:11:27 +01:00
Rocha Euripedes
2c88dd6b46 Merge branch 'fix/test_app_certificate_v5.3' into 'release/v5.3'
Regenerate certificates for testing (v5.3)

See merge request espressif/esp-idf!36673
2025-01-31 16:00:00 +08:00