Commit Graph

24244 Commits

Author SHA1 Message Date
Jiang Jiang Jian
ad32630480 Merge branch 'fix/keep-got-sections-for-riscv_v5.2' into 'release/v5.2'
feat(esp_system): drop .got* sections and add hint (v5.2)

See merge request espressif/esp-idf!33371
2024-10-17 10:46:49 +08:00
Jiang Jiang Jian
e038e66620 Merge branch 'bugfix/fix_s3c3_wrong_ext32k_config_bug_v5.2' into 'release/v5.2'
fix(ext_32k): fix the external 32K issue on C3&S3 (v5.2)

See merge request espressif/esp-idf!33157
2024-10-17 10:46:10 +08:00
Jiang Jiang Jian
35d88960c0 Merge branch 'bugfix/riscv_task_wdt_cleanup_v5.2' into 'release/v5.2'
fix(wdt): changed register dump on task WDT to be more descriptive (v5.2)

See merge request espressif/esp-idf!33106
2024-10-17 10:44:23 +08:00
harshal.patil
b5d25bd0b8 feat(mbedtls/esp_crt_bundle): Move dummy cert to .rodata to save 408B from dram
Co-authored-by: Hanno <h.binder@web.de>
2024-10-16 16:39:37 +05:30
Sudeep Mohanty
1f437df493 fix(freertos): Fixed SMP race condition in stream_buffers.c
This commit fixes a race condition in dual-core SMP mode where in the
xStreamBufferReceive() makes the xTaskWaitingToReceive NULL but it may
have already been evaluated to not be NULL by xStreamBufferSend()
running on another core and eventually leading to a crash in tasks.c.
2024-10-16 09:27:34 +02:00
Rahul Tank
233eb67e06 fix(nimble): Adjust Data len time in case 5.0 support is not present 2024-10-16 11:59:04 +05:30
morris
6280fbe8b6 fix(pcnt): install the pm lock upon driver installation 2024-10-16 11:33:40 +08:00
Mu Hai Dong
18b47c4143 Apply 1 suggestion(s) to 1 file(s)
Co-authored-by: Jiang Jiang Jian <jack@espressif.com>
2024-10-15 15:24:05 +08:00
muhaidong
d665d43d0a fix(phy): esp32s2 and esph2 support rf cert_test 2024-10-15 15:23:56 +08:00
muhaidong
45e31cc02b fix(phy): fix esp32 build fail issue
Closes https://github.com/espressif/esp-idf/issues/11972
2024-10-15 15:23:05 +08:00
xiehang
80ef98d717 fix(phy): All chip support cert_test 2024-10-15 15:21:01 +08:00
Chen Jian Hua
99038783d5 fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7
(cherry picked from commit 020f7a6297)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2024-10-15 13:33:31 +08:00
morris
b968b7aef5 Merge branch 'refactor/usb_host_add_func_ret_values_backport_5.2' into 'release/v5.2'
refactor(usb_host): USB Host add function return values description backport v5.2

See merge request espressif/esp-idf!34089
2024-10-15 10:24:16 +08:00
Marius Vikhammer
b00f88c701 Merge branch 'bugfix/xtensa_startup_stack_v5.2' into 'release/v5.2'
fix(system): fixed potential double exception when booting on xtensa (v5.2)

See merge request espressif/esp-idf!33903
2024-10-15 09:45:12 +08:00
Sean DuBois
226fde9f91 fix(ws_transport): Fix crash when reading
When parsing WS framing protocol integer promotion would cause
invalid values to be read. Acting upon these values would eventually
cause a crash

Fixes esp-protocols#645
2024-10-14 07:24:23 +02:00
morris
a9d3832514 Merge branch 'refactor/lcd_i80_gpio_config_v5.2' into 'release/v5.2'
Optimize RGB LCD IRAM usage (v5.2)

See merge request espressif/esp-idf!34126
2024-10-14 10:43:38 +08:00
Jiang Jiang Jian
43ec6b477c Merge branch 'bugfix/fix_ble_handle_check_v5.2' into 'release/v5.2'
fix(ble/bluedroid): Fixed BLE handle check for GATT API (v5.2)

See merge request espressif/esp-idf!34095
2024-10-14 10:41:48 +08:00
Jiang Jiang Jian
738a7f0ba6 Merge branch 'feature/set_hp_sleep_power_mode_with_clock_src_selection_v5.2' into 'release/v5.2'
change(esp_hw_support): switch lp_cpu power mode with clock src selection to save lp_cpu working power (v5.2)

See merge request espressif/esp-idf!34112
2024-10-14 10:39:41 +08:00
Jiang Jiang Jian
90b962997a Merge branch 'bugfix/backport_supplicant_fixes_v5.2' into 'release/v5.2'
fix(wifi): Backport some fixes(v5.2)

See merge request espressif/esp-idf!33976
2024-10-14 10:38:30 +08:00
morris
bfacecf739 Merge branch 'fix/mcpwm_pm_lock_memory_leak_v5.2' into 'release/v5.2'
fix(mcpwm): fix pm_lock memory issues (v5.2)

See merge request espressif/esp-idf!34059
2024-10-12 11:49:37 +08:00
morris
383ac197f8 refactor(lcd): optimize rgb lcd iram usage
lcd_com_mount_dma_data() doesn't need to be placed in IRAM
2024-10-11 18:57:40 +08:00
Sudeep Mohanty
e431eef577 test(freertos): Added unit test for event groups to test priority inversion
This commit adds a FreeRTOS unit test to verify that event groups do not
cause priority inversion when unblocking a higher priority task.
2024-10-11 11:53:47 +02:00
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 514155de3b)

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 8a80675b7c)

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