24122 Commits

Author SHA1 Message Date
Sudeep Mohanty
ea92cd650a fix(freertos): Fixed priority inversion when setting event group bits
This commit fixes a priority inversion when a lower priority task set
event group bits to unblock a higher priority task but the lower
priority task continued to run.
2024-10-11 11:53:47 +02:00
Sajia
eccca0a6b0 fix(wifi): Add a check on hostapd instance while handling an Auth frame 2024-10-11 15:12:14 +05:30
wuzhenghui
6a35be4e47
change(esp_hw_support): switch hp_sys default power mode with clock src selection 2024-10-11 15:47:48 +08:00
Zhang Hai Peng
2158eb68d0 fix(ble/bluedroid): Fixed BLE handle check for GATT API
(cherry picked from commit 514155de3b0c44bf9c3b00c31f64b3b40bc36c83)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-10 21:13:23 +08:00
Island
7a20ceee6a Merge branch 'feat/ble_mesh_v1.1_feat_disable_support_v5.2' into 'release/v5.2'
feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported (v5.2)

See merge request espressif/esp-idf!33778
2024-10-10 19:09:58 +08:00
Peter Marcisovsky
7aece79530 fix(usb_host): Update log level and error poropagation 2024-10-10 12:51:06 +02:00
Peter Marcisovsky
f02ee8ef5d refactor(usb_host): Fixed function return values in usb_host stack:
- updated doxygen for the whole usb_host stack
    - doxygen for test_apps is not updated
    - fixed error codes propagation problems in the usb_host stack
2024-10-10 12:51:06 +02:00
Marius Vikhammer
532b2a0b98 Merge branch 'fix/ringbuf_receives_item_not_yet_sent_v5.2' into 'release/v5.2'
fix(esp_ringbuf): Fixed a bug where in a no-split buffer received items prematurely (v5.2)

See merge request espressif/esp-idf!33650
2024-10-10 16:27:05 +08:00
Marius Vikhammer
80c3e107c0 Merge branch 'fix/assert_fail_in_xtaskdeletewithcaps_v5.2' into 'release/v5.2'
Fixed occational assert failure in vTaskDeleteWithCaps() (v5.2)

See merge request espressif/esp-idf!33686
2024-10-10 16:26:45 +08:00
Island
b7d0eeb55a Merge branch 'ble_dev/esp32c2eco4_chip_20240903_v5.2' into 'release/v5.2'
change(ble): update c2 eco4 ld file (v5.2)

See merge request espressif/esp-idf!33668
2024-10-10 14:19:43 +08:00
Chen Jichang
13ae494d35 fix(mcpwm): fix pm_lock memory issues 2024-10-10 09:49:48 +08:00
Island
95ac2b18e9 Merge branch 'bugfix/fix_bleqabr24_1282_v5.2' into 'release/v5.2'
Fixed BLE scanning and initiating coexist on ESP32 (v5.2)

See merge request espressif/esp-idf!33833
2024-10-09 17:19:45 +08:00
Island
c842477479 Merge branch 'bugfix/fix_bci_443_v5.2' into 'release/v5.2'
fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC (v5.2)

See merge request espressif/esp-idf!33892
2024-10-09 17:18:59 +08:00
Tomas Rezucha
d2a8b5e577 fix(usb/host): Correctly handle unpowered port in HUB 2024-10-09 11:16:17 +02:00
Darian Leung
62a3b50c94 refactor(usb): Remove use of usb_phy_action() from unit tests
Currently, USB Host unit tests that require a software triggered disconnection/
reconnection rely on the 'usb_phy_action()' function.

This commit replaces those calls with 'hcd_port_command()' or
'usb_host_lib_set_root_port_power()'.

Note: Also removed 'test_usb_common.h/c' as it is no longer necessary are the
function call replacements.
2024-10-09 11:16:17 +02:00
Darian Leung
dc838f6123 feat(usb): Add usb_host_lib_set_root_port_power()
This commit adds the usb_host_lib_set_root_port_power() function. This provides
a public API for users to power the root port OFF or ON at runtime, thus trigger
a disconnection or allow connections respectively.

In addition, the usb_host_config_t.root_port_unpowered install configuration is
provided to allow users to install the USB Host Library without automatically
powering ON the root port.
2024-10-09 11:16:17 +02:00
Shen Weilong
09f45cbd1e change(ble): update c2 eco4 ld file 2024-10-09 17:06:34 +08:00
morris
6a56adcda1 Merge branch 'feature/usb_host_hub_support_collective_backport_p2_v5.2' into 'release/v5.2'
feat(usb_host): Hub Support Collective backport part 2/3 (v5.2)

See merge request espressif/esp-idf!31363
2024-10-09 17:03:38 +08:00
morris
73302ca332 Merge branch 'bugfix/warn_rc32k_use_v5.2' into 'release/v5.2'
fix(clk): warn the users to avoid using RC32K clock (v5.2)

See merge request espressif/esp-idf!33502
2024-10-09 17:02:54 +08:00
morris
bee297a2a5 Merge branch 'bugfix/esp_ringbuf_32_bit_alignment_v5.2' into 'release/v5.2'
fix(ringbuf): allow xRingbufferCreateWithCaps to pass in non-32-bit aligned size (v5.2)

See merge request espressif/esp-idf!33521
2024-10-09 17:02:01 +08:00
Island
ad8f9706ac Merge branch 'bugfix/fix_ext_conn_adv_data_check_v5.2' into 'release/v5.2'
fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408) (v5.2)

See merge request espressif/esp-idf!34002
2024-10-09 11:58:27 +08:00
Rahul Tank
24d39dea21 Merge branch 'bugfix/wifi_bt_coex_crash_v5.2' into 'release/v5.2'
fix(nimble): Fix the sequence of ll and host transport init (v5.2)

See merge request espressif/esp-idf!33962
2024-10-08 19:05:21 +08:00
Island
2a19808dff Merge branch 'feat/ble_mesh_lib_flash_size_optimized_v5.2' into 'release/v5.2'
feat(ble_mesh): ble mesh lib flash size optimized (v5.2)

See merge request espressif/esp-idf!33478
2024-10-08 18:58:14 +08:00
Zhang Hai Peng
f48b694fa2 fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(01cc408)
- Fixed extended connectable advertising data length check


(cherry picked from commit 8a80675b7c05d613b3e9a7126a0049458b589db2)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-08 15:13:33 +08:00
luoxu
8413ad1f68 feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:03:16 +08:00
Kapil Gupta
6699f1a51c fix(esp_wifi): Prevent memory overflow in WPS 2024-10-07 11:12:35 +05:30
Kapil Gupta
11ffeab864 fix(esp_wifi): Mask some error conditions in WPS
Mask some error conditions in WPS to increase the probability of
WPS success.
2024-10-07 11:12:35 +05:30
Kapil Gupta
071585dd4d fix(esp_wifi): Disable WPS timers once WPS succeed 2024-10-07 11:12:35 +05:30
Kapil Gupta
8fbd04f839 fix(esp_wifi): Allow connection with WPA mode in WPS 2024-10-07 11:12:05 +05:30
Kapil Gupta
a4b226b7c1 fix(esp_wifi): Deinit WPS registrar during hostapd deinit 2024-10-07 10:24:21 +05:30
Kapil Gupta
5beab45cfe fix(esp_wifi): Added prints in btm roam for error condition 2024-10-07 10:23:40 +05:30
Abhinav Kudnar
0134202422 fix(nimble): Fix the sequence of ll and host transport init 2024-10-03 16:57:49 +08:00
Roland Dobai
2b1122a698 Merge branch 'fix/idfpy_uf2_fail_v5.2' into 'release/v5.2'
fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app] (v5.2)

See merge request espressif/esp-idf!33949
2024-10-02 20:33:23 +08:00
Mahavir Jain
f0ee29e4e1 Merge branch 'feat/newlib-add-sbom-exclude_cve-2024-30949_v5.2' into 'release/v5.2'
fix(newlib): sbom: add CVE-2024-30949 to cve-exclude-list (v5.2)

See merge request espressif/esp-idf!33682
2024-10-01 21:16:58 +08:00
Jan Beran
431923f23c fix(uf2): Ignore ESPBAUD, ESPPORT when calling idf.py uf2[-app] 2024-10-01 13:47:19 +02:00
Mahavir Jain
aba133e842 Merge branch 'feature/update_mbedtls_version_to_3.6.1_v5.2' into 'release/v5.2'
feat(mbedtls): updated mbedtls version to 3.6.1(v5.2)

See merge request espressif/esp-idf!33914
2024-10-01 18:03:51 +08:00
Erhan Kurubas
a1287b1315 fix(esp-coredump): fix build error when mbedtls hardware sha disabled 2024-10-01 10:07:23 +02:00
Jiang Guang Ming
f8ca72cfe1 fix(esp_rom): Fixed esp32c2 rom eco1 mbedtls issues 2024-09-30 09:26:22 +08:00
nilesh.kale
2bc43825eb feat(mbedtls): updated mbedtls version to 3.6.1 2024-09-29 22:37:58 +05:30
Wang Meng Yang
cae1491519 Merge branch 'feat/add_mode_chg_parem_v5.2' into 'release/v5.2'
feat(bt/bluedroid): Report sniff interval to application layer(v5.2)

See merge request espressif/esp-idf!33866
2024-09-29 14:03:27 +08:00
Marius Vikhammer
571ab51aa5 fix(system): fixed potential double exception when booting on xtensa
Due to old windows from the startup flow being present after
switching to running freertos tasks  windowoverflow exceptions
could potentially try to save windows to the startup stack.

During this overflow they also values previously saved on the
startup stack to find earlier frames' stacks.
Since the start up stack was already recycled these values were
invalid and would cause a crash.

Closes https://github.com/espressif/esp-idf/issues/14406Y
2024-09-29 10:57:56 +08:00
Island
601e35c926 Merge branch 'feat/get_ble_resolve_address_status_v5.2' into 'release/v5.2'
feat(ble/bluedroid): Support resolve BLE address for interval usage (v5.2)

See merge request espressif/esp-idf!33807
2024-09-29 10:30:04 +08:00
Wang Meng Yang
fc1c79ebc1 Merge branch 'bugfix/fix_hid_cod_setting_v5.2' into 'release/v5.2'
Bugfix/fix hid cod setting[backport 5.2]

See merge request espressif/esp-idf!33338
2024-09-27 19:23:24 +08:00
Wang Meng Yang
c5c198584b Merge branch 'bugfix/fix_sdp_bugs_v5.2' into 'release/v5.2'
Bugfix/fix sdp bugs[backport 5.2]

See merge request espressif/esp-idf!33603
2024-09-27 19:22:48 +08:00
Chen Jian Hua
4219bb9ea1 fix(bt/controller): Fixed ble get tx power error
(cherry picked from commit 4108a5cc4cb96039ed861703dda06f7f3a5969c3)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:37 +08:00
Chen Jian Hua
6208b93dad fix(bt/controller): Fixed the timeout of wake up timer when using RC OSC
(cherry picked from commit 873708579c99069d073f3d6c7ba6db154cbf16b9)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-09-27 18:33:34 +08:00
zhanghaipeng
73ff61bd47 fix(ble/bluedroid): Fixed BLE spelling error in word 2024-09-27 15:50:57 +08:00
zhanghaipeng
a2124a0464 feat(ble/bluedroid): Add BLE memory allocation failure message 2024-09-27 15:50:46 +08:00
zhanghaipeng
31f6b3536c feat(ble/controller): Display BLE controller init status for ESP32 and ESP32C3/S3 2024-09-27 15:50:37 +08:00
zhanghaipeng
69eca1ff93 feat(ble/bluedroid): Optimize address resolution status for interval use 2024-09-27 14:47:44 +08:00