Commit Graph

31152 Commits

Author SHA1 Message Date
Island 56bef4d352 Merge branch 'bugfix/ble_enhanced_security_v2_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.5)

See merge request espressif/esp-idf!41307
2025-09-22 10:27:27 +08:00
Mahavir Jain fa08f239c0 Merge branch 'bugfix/encrypt_len_for_sb_update_case_v5.5' into 'release/v5.5'
fix(bootloader): correct encryption length for secure update without secure boot (v5.5)

See merge request espressif/esp-idf!41923
2025-09-21 18:37:43 +05:30
Mahavir Jain 8a4f0c597a Merge branch 'fix/handle_error_and_dispatch_event_while_reading_data_from_server_v5.5' into 'release/v5.5'
feat(esp_http_client): handle error while reading data from server (v5.5)

See merge request espressif/esp-idf!41324
2025-09-21 18:06:05 +05:30
Mahavir Jain 1970cc7a40 Merge branch 'fix/http_server_async_requests_on_same_socket_blocks_v5.5' into 'release/v5.5'
Fix async requests on same socket blocking server (v5.5)

See merge request espressif/esp-idf!41997
2025-09-20 02:44:45 +05:30
Mahavir Jain 4014385d8d Merge branch 'fix/rng_entropy_mixing_with_rtc_timer_v5.5' into 'release/v5.5'
fix(esp_hw_support): Fixed entropy mixing of RTC timer with RNG (v5.5)

See merge request espressif/esp-idf!41824
2025-09-19 21:27:19 +05:30
hrushikesh.bhosale d564f728ed fix(esp_http_server): Fix async requests on same socket blocking issue
1. In async requests, if the two or more requests are made on same
socket then it used to block the second request.
2. The main thread is used to block on select call. And there done
no FD_SET for particular fd.

Closes https://github.com/espressif/esp-idf/issues/16998
2025-09-18 16:09:51 +05:30
Wang Meng Yang 42e7c93104 Merge branch 'bugfix/fix_esp32_bt_sw_intr_v5.5' into 'release/v5.5'
fix(bt): fixed sw_intr issue with BT register or trigger error core on ESP32 (v5.5)

See merge request espressif/esp-idf!41633
2025-09-18 17:47:21 +08:00
Rahul Tank a2c5d88320 Merge branch 'fix/connect_gap_event_status_handling_v5.5' into 'release/v5.5'
fix(nimble): Fixed incorrect HCI status in connect event (v5.5)

See merge request espressif/esp-idf!41880
2025-09-17 13:50:00 +05:30
Island 03450d3846 Merge branch 'feat/ble_log_v2_esp_target_support_v5.5' into 'release/v5.5'
Feat/ble log v2 esp target support (v5.5)

See merge request espressif/esp-idf!41921
2025-09-17 13:09:07 +08:00
Marius Vikhammer b0e0b4ddb9 Merge branch 'refactor/lp_core_i2c_esp32c5_support_v5.5' into 'release/v5.5'
refactor(lp_core_i2c): Modify lp_core_i2c header to support ESP32C5 (v5.5)

See merge request espressif/esp-idf!41927
2025-09-17 10:15:00 +08:00
Zhou Xiao 727224920c fix(ble): fixed ble log config for ESP32-C3/ESP32-S3 2025-09-16 22:48:11 +08:00
Zhou Xiao 2d83b8f422 feat(ble): supported ble log v2 for ESP32 2025-09-16 19:07:49 +08:00
Zhou Xiao 85d2c81f70 feat(ble): supported ble log v2 for ESP32-C3/ESP32-S3 2025-09-16 19:07:49 +08:00
Zhou Xiao 8e1b0c23a7 feat(ble): supported ble log v2 for ESP32-C5 2025-09-16 19:07:49 +08:00
Zhou Xiao 49bcc44e76 feat(ble): supported ble log v2 for ESP32-C2 2025-09-16 19:07:49 +08:00
Zhou Xiao 954e370bc0 feat(ble): supported ble log v2 for ESP32-H2 2025-09-16 19:07:49 +08:00
Zhou Xiao 67a511abc6 feat(ble): supported ble log v2 for ESP32-C6 2025-09-16 19:07:49 +08:00
Zhou Xiao bc5b61b56c fix(ble): fixed ble log v2 configuration issues 2025-09-16 19:07:45 +08:00
Marius Vikhammer 4b2b5d7baf Merge branch 'refactor/ulp_riscv_i2c_logs_v5.5' into 'release/v5.5'
refactor(ulp_riscv): Modify i2c read/write API for better logging and return error code (v5.5)

See merge request espressif/esp-idf!41673
2025-09-16 16:36:18 +08:00
Meet Patel 9bcf41fa6e refactor(lp_core_i2c): Modify lp_core_i2c header to support ESP32C5
lp_core_i2c.h header file has sda and scl pins hardcoded to GPIO6 and
GPIO7 which works only for ESP32C6. ESP32C5 uses GPIO2 and GPIO3 for
I2C SDA and SCL. Hence, added LP_I2C_SCL_IO and LP_I2C_SDA_IO macros
under conditional compilation in library header file, so there is no
need to hardcode I2C GPIO pins and any other test apps or examples
that are including the LP I2C header file can also use Macro directly.
2025-09-16 11:19:32 +05:30
Mahavir Jain b0713ffe08 fix(bootloader): correct encryption length for secure update without secure boot
For secure update without secure boot case, the encryption length for
app image must consider signature block length as well. This was
correctly handled for secure boot case but not for secure update without
secure boot.
2025-09-16 10:16:37 +05:30
muhaidong f1ac614c06 fix(wifi): fix ersu compatibility issue 2025-09-16 10:16:18 +05:30
LiPeng 08b798afa5 fix(bt): fixed sw_intr issue with BT register or trigger error core on ESP32 2025-09-15 19:15:21 +08:00
Marius Vikhammer a0f071f7ff Merge branch 'bugfix/log_sys_time_year_v5.5' into 'release/v5.5'
fix(log): fixed wrong year timestamp with LOG_TIMESTAMP_SOURCE_SYSTEM_FULL (v5.5)

See merge request espressif/esp-idf!41857
2025-09-15 17:24:22 +08:00
Astha Verma cc0efd88c0 fix(nimble): Fixed incorrect HCI status in connect event 2025-09-15 10:59:12 +05:30
Meet Patel 6e2db679da refactor(ulp_riscv): Modify ulp i2c read/write functions to return error code
Updated the i2c read/write APIs ulp_riscv_i2c_master_read_from_device
and ulp_riscv_i2c_master_write_to_device in ulp_riscv component to
return error codes back to the application

Closes https://github.com/espressif/esp-idf/issues/15904
2025-09-15 10:35:14 +05:30
Meet Patel 6cd7f74877 refactor(ulp_riscv): Modify ESP_EARLY_LOG to ESP_LOG and move it outside critical section
Moved the error logs outside critical section for i2c communication errors
like READ fail, WRITE fail etc. in the ulp_riscv_i2c component

Also changed the error log API from ESP_EARLY_LOG to ESP_LOG, so we can support
tag based filtering and enabling/disabling of logs

Closes https://github.com/espressif/esp-idf/issues/17425
2025-09-15 10:35:14 +05:30
Marius Vikhammer e0151944ff fix(log): fixed wrong year timestamp with LOG_TIMESTAMP_SOURCE_SYSTEM_FULL
struct tm contains the number of years since 1900, but the printing code
assumed it contained actual current year.

It would also print it as YYYY, while the documentation and code implies
it should be YY.

Closes https://github.com/espressif/esp-idf/issues/17451
2025-09-14 16:31:59 +08:00
harshal.patil ae7d7542e0 fix(esp_key_mgr): Fix incorrect key manager state management 2025-09-12 17:26:27 +05:30
Rahul Tank b0ec8feaa1 Merge branch 'bugfix/fix_periodic_reattempt_v5.5' into 'release/v5.5'
fix(nimble): Fixed reattempt count handling for perdiodic adv (v5.5)

See merge request espressif/esp-idf!41819
2025-09-12 16:21:56 +05:30
nilesh.kale c09bb9fe46 fix(esp_http_client): fix dispatching of finish event condition
This commit updates the condition for dispatching of FINISH event.
With this, FINISH event will be dispatched after complete data is read.

Closes https://github.com/espressif/esp-idf/issues/17437
2025-09-12 10:20:16 +05:30
nilesh.kale f0ab806e7e feat(esp_http_client): handle error while reading data from server
This commit updated API esp_http_cleint_perform() to handle error and
dispatched error  event if any error occured whiling reading data from server.
2025-09-12 10:20:11 +05:30
Ashish Sharma 5e7c32897f change(cjson): update cjson version to 1.7.19 2025-09-11 15:35:55 +08:00
Aditya Patwardhan ac0676d6c7 fix(esp_hw_support): Fixed entropy mixing of RTC timer with RNG
Previously the RTC timer entropy was being mixed with the RNG timer
    in a wrong way. Which led to the overwriting of the LSB with rtc
    timer value.
    This change fixes that behaviour
2025-09-11 12:05:21 +05:30
Rahul Tank 2550e531d1 fix(nimble): Fixed reattempt count handling for perdiodic adv 2025-09-10 18:52:09 +05:30
morris e1694c6ade fix(twai): busoff and clkout may not available in SOC
return ESP_ERR_NOT_SUPPORTED if these signals are required from user but
not available in SOC
2025-09-08 17:39:38 +08:00
Island 6b7d55aeba Merge branch 'feat/support_blufi_adv_with_name_v5.5' into 'release/v5.5'
feat(bt/blufi): Support Blufi start advertising with specified name (v5.5)

See merge request espressif/esp-idf!41338
2025-09-04 12:02:40 +08:00
Island ba4300c226 Merge branch 'feat/support_cble50y24_108_v5.5' into 'release/v5.5'
Support multi-connection optimization and examples on Bluedroid (v5.5)

See merge request espressif/esp-idf!41200
2025-09-04 12:02:33 +08:00
Jiang Jiang Jian 4f52b6028e Merge branch 'fix/wrong_auth_mode_in_sta_connected_evt_v5.5' into 'release/v5.5'
fix(wifi): send correct wifi_auth_mode_t in WIFI_EVENT_STA_CONNECTED and logs (v5.5)

See merge request espressif/esp-idf!41652
2025-09-03 21:06:28 +08:00
morris e797515680 Merge branch 'features/twai_send_isr_v5.5' into 'release/v5.5'
features(twai): Added support for calling twai_node_transmit() from ISR contexts (v5.5)

See merge request espressif/esp-idf!41480
2025-09-03 16:26:47 +08:00
Island e45ab3764f Merge branch 'feat/ble_log_v2_v5.5' into 'release/v5.5'
feat(ble): refactored ble log module with layered design (v5.5)

See merge request espressif/esp-idf!41659
2025-09-03 14:18:11 +08:00
Yuan Yu 96118438da fix(twai): Enhance ISR handling for TX queue operations 2025-09-03 13:43:55 +08:00
Alexey Gerenkov c994c2203d Merge branch 'fix/misalign_memory_test_limit_values_v5.5' into 'release/v5.5'
fix(newlib): increase limit for misaligned access testcases (v5.5)

See merge request espressif/esp-idf!41362
2025-09-02 20:42:15 +08:00
Sarvesh Bodakhe 00571fe874 fix(wifi): send correct wifi_auth_mode_t in event WIFI_EVENT_STA_CONNECTED and logs
- Fixes the authmode sent in WIFI_EVENT_STA_CONNECTED for WPA3-Enterprise, which
  was previously taken directly from the AKM field. This caused incorrect values in some cases.
- Updates the "security" log to show the correct wifi_auth_mode_t.
- Fixes wrong authmode strength used in the connection path.
2025-09-02 12:29:38 +05:30
Jiang Jiang Jian 326f10b89f Merge branch 'opt/opt_ble_stability_v5.5' into 'release/v5.5'
Improve ESP32 stability and security (v5.5)

See merge request espressif/esp-idf!41548
2025-09-02 14:34:45 +08:00
Jiang Jiang Jian bf1fe556ee Merge branch 'feat/esp32c5_lp_debug_example_v5.5' into 'release/v5.5'
feat(ulp): esp32c5 and esp32p4 support in debugging example (v5.5)

See merge request espressif/esp-idf!41006
2025-09-02 14:19:46 +08:00
Jiang Jiang Jian d64a453929 Merge branch 'fix/newlib_kconfig_variables_v5.5' into 'release/v5.5'
change(newlib): change CONFIG_NEWLIB* prefix to CONFIG_LIBC_NEWLIB* (v5.5)

See merge request espressif/esp-idf!41300
2025-09-02 14:17:04 +08:00
Wang Meng Yang eef2fef386 Merge branch 'bugfix/check_bd_addr_only_for_bredr_v5.5' into 'release/v5.5'
fix(bt): check bd address only for bredr in bluedroid host l2cu_allocate_lcb() (v5.5)

See merge request espressif/esp-idf!41361
2025-09-02 14:07:39 +08:00
Island 7d73f5edc6 Merge branch 'change/ble_update_lib_20250814_v5.5' into 'release/v5.5'
change(ble): [AUTO_MR] 20250814 - Update ESP BLE Controller Lib (v5.5)

See merge request espressif/esp-idf!41372
2025-09-02 12:52:26 +08:00
Mahavir Jain b966e396d3 Merge branch 'feat/support_authentication_feature_for_ws_v5.5' into 'release/v5.5'
Added pre handshake callback for websocket (v5.5)

See merge request espressif/esp-idf!41037
2025-09-02 09:18:29 +05:30