24105 Commits

Author SHA1 Message Date
radek.tandler
03d0870430 fix(storage/nvs): Fixed hadling of inconsistent values in NVS entry header
feat(storage/nvs): Added test cases for damaged entries with correct CRC
2024-10-18 10:55:19 +02:00
C.S.M
80565eed9b patch(spi_flash): cleanup XMC flash chip usage according to new information 2024-10-18 16:38:18 +08:00
C.S.M
5f36c048d8 feat(spi_flash): Add new xmc chip id 2024-10-18 16:20:02 +08:00
morris
ff673e8016 Merge branch 'bugfix/pcnt_pm_lock_v5.2' into 'release/v5.2'
fix(pcnt): install the pm lock upon driver installation (v5.2)

See merge request espressif/esp-idf!34214
2024-10-18 10:34:18 +08:00
Jiang Jiang Jian
d43f3b936f Merge branch 'bugfix/fix_funcs_overriding_on_esp32c3_eco7_v5.2' into 'release/v5.2'
fix(bt/controller): Fixed BLE functions overriding on ESP32-C3 ECO7 (v5.2)

See merge request espressif/esp-idf!34199
2024-10-17 19:46:03 +08:00
harshal.patil
db38b93c8d
fix(mbedtls): Fix the increase in build size of mbedtls when upgrading to v3.x 2024-10-17 14:53:55 +05:30
morris
dc45972144 Merge branch 'feat/usb_disconnect_api_backport_v5.2' into 'release/v5.2'
refactor(usb): Update HCD tests to use port power off for disconnections backport v5.2

See merge request espressif/esp-idf!33526
2024-10-17 17:00:59 +08:00
Zhang Hai Peng
60c7aa85f7 fix(ble/bluedroid): Fixed error when writing Client Supported Features characteristic
(cherry picked from commit 5126742003f8eb5c10648679393c500d3a66009a)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2024-10-17 16:13:27 +08:00
muhaidong
13946e1c52 fix(wifi): fixed association refused temporarily lead auth timeout issue 2024-10-17 15:13:29 +08:00
Jiang Jiang Jian
b53eb889ba Merge branch 'fix/priority_inv_when_remove_from_unordered_event_list_v5.2' into 'release/v5.2'
fix(freertos): Fixed priority inversion when setting event group bits (v5.2)

See merge request espressif/esp-idf!34124
2024-10-17 10:49:44 +08:00
Jiang Jiang Jian
b22f4cb3d1 Merge branch 'fix/spinlock-var-not-used-warning_v5.2' into 'release/v5.2'
fix(system): fixed warnings related to ununsed var in spinlock.h (backport v5.2)

See merge request espressif/esp-idf!33485
2024-10-17 10:48:29 +08:00
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 020f7a6297f52e473e724af6509b72350024e62f)

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 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