Commit Graph

51145 Commits

Author SHA1 Message Date
Ferdinand Bachmann
a033f2ad49 fix(heap_task_info): Fix incorrect current_usage subtraction on realloc() 2026-07-02 10:00:23 +09:00
Renz Bagaporo
36147a738d ci(heap): add task tracking realloc handle reuse test 2026-07-02 10:00:23 +09:00
Martin Vychodil
5d62a7febe Merge branch 'fix/sd_freq_clamping_v6.0' into 'release/v6.0'
fix(sdmmc): Handle nonsensical max freq correctly (v6.0)

See merge request espressif/esp-idf!49531
2026-07-01 19:50:46 +08:00
Martin Vychodil
12ca39350a Merge branch 'test/vfs_fix_register_check_v6.0' into 'release/v6.0'
test(vfs): Test changes regarding VFS register incorrect check fix and fix VFS host test not being run at all (v6.0)

See merge request espressif/esp-idf!49946
2026-07-01 19:26:47 +08:00
Adam Múdry
3d85e64b21 test(vfs): Test changes regarding VFS register incorrect check fix 2026-07-01 12:38:58 +02:00
Adam Múdry
28e22036f6 fix(sdmmc): Handle nonsensical max freq correctly
Closes https://github.com/espressif/esp-idf/issues/15250
2026-07-01 12:38:45 +02:00
Island
c2632f8363 Merge branch 'feat/support_ble_uart_more_interfaces_v6.0' into 'release/v6.0'
feat(bt/ble_uart): Support ble uart more interfaces (6.0)

See merge request espressif/esp-idf!50047
2026-07-01 18:31:10 +08:00
Martin Vychodil
6e17e8cc9b Merge branch 'bugfix/idfci-8839-remove-orphan-test-configs_v6.0' into 'release/v6.0'
fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests (v6.0)

See merge request espressif/esp-idf!50185
2026-07-01 16:38:14 +08:00
Rahul Tank
ed076243bb Merge branch 'contrib/github_pr_18761_v6.0' into 'release/v6.0'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v6.0)

See merge request espressif/esp-idf!50151
2026-07-01 09:25:33 +05:30
morris
895bf46bd8 Merge branch 'fix/uart_is_enable_check_error_on_s3_v6.0' into 'release/v6.0'
Fix ESP32-S3 uart2 is_enabled check error (v6.0)

See merge request espressif/esp-idf!49339
2026-07-01 10:28:44 +08:00
morris
7a627c71ac Merge branch 'feat/async_color_converter_v6.0' into 'release/v6.0'
feat(esp_driver_dma): add async color convert driver (v6.0)

See merge request espressif/esp-idf!49748
2026-07-01 10:25:10 +08:00
Mahavir Jain
93056b5253 Merge branch 'fix/fix_sbv2_psa_algo_check_v6.0' into 'release/v6.0'
fix(secure_boot_v2): select correct secure boot algorithm based on key

See merge request espressif/esp-idf!49856
2026-06-30 18:17:45 +05:30
Euripedes Rocha
3a070009e9 Merge branch 'test/lwip_mbedtls_psa_v6.0' into 'release/v6.0'
fix(lwip): Fix mbedtls PSA API (v6.0)

See merge request espressif/esp-idf!48827
2026-06-30 14:06:45 +02:00
Jiang Jiang Jian
b6eebf3c8a Merge branch 'bugfix/mbedtls_rsa_base_reduction_hw_crt_v6.0' into 'release/v6.0'
fix(mbedlts): Enable hardware CRT for RSA-4096 via base reduction (v6.0)

See merge request espressif/esp-idf!49850
2026-06-30 19:34:52 +08:00
Wang Meng Yang
5f4062d827 Merge branch 'bugfix/ai_review_btu_common_v6.0' into 'release/v6.0'
fix: Fix the critical issues of btu and bt_common from AI review report (v6.0)

See merge request espressif/esp-idf!50122
2026-06-30 19:25:09 +08:00
Martin Vychodil
484cc4f068 Merge branch 'fix/fatfs_instance_init_v6.0' into 'release/v6.0'
Fix: various FATFS/VFS fixes (v6.0)

See merge request espressif/esp-idf!50101
2026-06-30 18:07:13 +08:00
Jiang Jiang Jian
af3cf03943 Merge branch 'bugfix/esp_idf_ulp_wakeupcauses_record_v6.0' into 'release/v6.0'
fix(ulp): record wakeup causes before lp core request sleep v6.0

See merge request espressif/esp-idf!49142
2026-06-30 16:48:50 +08:00
Jiang Jiang Jian
5277adb597 Merge branch 'bugfix/update_supplicant_nist_api_v6.0' into 'release/v6.0'
fix(wpa_supplicant): migrate aes_wrap to PSA NIST-KW API (v6.0)

See merge request espressif/esp-idf!49323
2026-06-30 15:55:23 +08:00
morris
255cce5d1f Merge branch 'feat/spiram_enc_exempt_v6.0' into 'release/v6.0'
feat(esp_psram): add option to carve unencrypted PSRAM region (v6.0)

See merge request espressif/esp-idf!48810
2026-06-30 15:22:36 +08:00
sonika.rathi
8393e608eb fix(fatfs): re-enable fatfs and vfs psram/ccomp CI tests 2026-06-30 09:10:15 +02:00
Jiang Jiang Jian
d40f9586c5 Merge branch 'bugfix/ai_review_a2dp_v6.0' into 'release/v6.0'
fix(bt): Fix the critical issues related to A2DP from AI review report (v6.0)

See merge request espressif/esp-idf!50128
2026-06-30 12:03:32 +08:00
Jiang Jiang Jian
e47b08a291 Merge branch 'feature/add_blockdev_docs_v6.0' into 'release/v6.0'
feat(storage/blockdev): Add documentation including contracts for operations (v6.0)

See merge request espressif/esp-idf!47204
2026-06-30 12:02:35 +08:00
morris
02cf2a8a3d feat(dma2d): support RGB24 and BGR24 scramble conversion
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-30 12:00:13 +08:00
morris
3160a1a73f docs(dma2d): added async color convert programming guide 2026-06-30 12:00:13 +08:00
morris
2d1782900e feat(dma2d): added async color converter example
illustrate how to use DMA2D convert a YUV422 image to RGB888 format
2026-06-30 12:00:13 +08:00
morris
244fa1a61a feat(mipi_dsi): replace the fbcopy driver by the async color conver driver 2026-06-30 12:00:13 +08:00
morris
a7811f9a26 feat(dma2d): added async color convert driver 2026-06-30 12:00:13 +08:00
Jiang Jiang Jian
799a89adc1 Merge branch 'backport/49647-v6.0' into 'release/v6.0'
ci: fix pytest markers (backport v6.0)

See merge request espressif/esp-idf!49692
2026-06-30 11:59:26 +08:00
Jiang Jiang Jian
a30c384b00 Merge branch 'feature/update-qemu-to-esp_develop_9.2.2_20260417_v6.0' into 'release/v6.0'
feat(tools): update qemu version to esp_develop_9.2.2_20260417 (v6.0)

See merge request espressif/esp-idf!48884
2026-06-30 11:53:00 +08:00
morris
ee5766760e Merge branch 'fix/fix_gdma_crc_stuck_with_large_input_v6.0' into 'release/v6.0'
fix(gdma): fix crc stuck with large input (v6.0)

See merge request espressif/esp-idf!49361
2026-06-30 11:03:34 +08:00
morris
b5c96c43e4 Merge branch 'refactor/jpeg_encoder_example_v6.0' into 'release/v6.0'
feat(jpeg): simplify encode example and add pytest coverage (v6.0)

See merge request espressif/esp-idf!50140
2026-06-30 10:24:36 +08:00
Island
518eabeb7d Merge branch 'bugfix/fix_bluedroid_static_random_conn_rpa_v6.0' into 'release/v6.0'
fix(ble/bluedroid): skip identity conversion for static random direct connect (6.0)

See merge request espressif/esp-idf!50085
2026-06-30 10:24:28 +08:00
Island
e73366f64c Merge branch 'bugfix/fix_bluedroid_rpa_whitelist_conn_v6.0' into 'release/v6.0'
Fix connection failure when using RPA with whitelist filtering(ESP32) (6.0)

See merge request espressif/esp-idf!50091
2026-06-30 10:23:12 +08:00
Rahul Tank
cd0ad239a6 Merge branch 'bugfix/nimble_issues_02062026_v6.0' into 'release/v6.0'
fix(nimble):  Fix few nimble issues 02062026 (v6.0)

See merge request espressif/esp-idf!49153
2026-06-29 21:52:48 +05:30
David Cermak
9c0809ef21 feat(lwip): Migrate lwip to mbedtls PSA API
Update submodule: git log --oneline fd432e4e..20f8b073
  - feat(lwip): migrate to to PSA API interface (espressif/esp-lwip@20f8b0739)
  - test: Fix multiple defs of util vars (espressif/esp-lwip@e9b8482e7)
  - ci: Add support for building tests/apps with both gcc and clang (espressif/esp-lwip@2a14051bf)
  - try to fix unit test compiling with clang (espressif/esp-lwip@6933a63cb)
  - apps/snmp: Remove @retval tags on void methods (espressif/esp-lwip@b6209dcf8)
  - snmp: Mention struct field removal in UPGRADING (espressif/esp-lwip@6659cf1f2)
  - snmp: remove unused prev field from snmp_varbind (espressif/esp-lwip@f32188001)
  - snmp: remove handling of varbind->prev because it is never used (espressif/esp-lwip@46660d5cf)
  - snmp: fix dangling pointer in snmp_traps (espressif/esp-lwip@0e3e97f8d)
2026-06-29 16:12:53 +02:00
Mahavir Jain
d5dff24868 Merge branch 'fix/remove_nonexistent_crypto_registers_c61_v6.0' into 'release/v6.0'
Remove non-existent crypto registers (ESP32-C61) (v6.0)

See merge request espressif/esp-idf!49450
2026-06-29 19:01:30 +05:30
Rahul Tank
ab7f9a8cac Merge branch 'bugfix/fix_security_proto_nimble_v6.0' into 'release/v6.0'
fix(protocomm): harden nimble/bluedroid transport size handling (v6.0)

See merge request espressif/esp-idf!49180
2026-06-29 18:01:00 +05:30
Island
6e73125228 Merge branch 'feat/spi_log_qa_frame_check_v6.0' into 'release/v6.0'
feat(ble_log): add FINAL_STAT session-end frame and flush hook before controller restart (6.0)

See merge request espressif/esp-idf!49958
2026-06-29 20:25:50 +08:00
zhiweijian
b0e1fd9b85 feat(bt/ble_uart): Support ble uart more interfaces
- Added tagged event API (ble_uart_evt_t / on_event)
- Added bond management APIs
- Supported custom adv_data / scan_rsp_data
- Validate device_name length synchronously
- Added ble_uart_close_async() and EVT_CLOSED
- Added granular security config (security struct)
- Supported Passkey Entry and Numeric Comparison
2026-06-29 20:19:37 +08:00
Shuai Wang
c790799492 fix(nimble): initialize return value in LED characteristic access callback
When the NimBLE stack called this callback for a GATT Write Request, the
uninitialized stack value was interpreted as a non-zero GATT error code,
causing the stack to send BLE_ATT_ERR_UNLIKELY (0x0E) back to the client.
2026-06-29 17:29:54 +05:30
Zhang Hai Peng
af02bd9018 fix(ble/bluedroid): return ESP_ERR_INVALID_ARG for invalid conn params
Return ESP_ERR_INVALID_ARG instead of ESP_FAIL when connection
parameter validation fails


(cherry picked from commit 6c53838e66)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
add48e6f2c fix(ble/bluedroid): add context to GATTC reg-notify cache warning
Include client_if, handle, bd_addr, and server cache state in the
warning logged when notification registration skips handle validation.


(cherry picked from commit 1085a32be8)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
b13f63fd7f fix(ble/bluedroid): report conn param update failure for unknown BD_ADDR
Route unknown BD_ADDR and other immediate failures through the existing
need_cb path so ESP_GAP_BLE_UPDATE_CONN_PARAMS_EVT is always delivered.


(cherry picked from commit f9eaeb5e84)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
0217c922fe fix(ble/bluedroid): preserve ATT error on prepare write completion
Skip prepare-write echo validation when the GATT stack reports a
non-success status. ATT Error Response carries no prepare-write echo
body (rsp_len=0), so the check incorrectly overwrote errors such as
GATT_INSUF_AUTHENTICATION (0x05) with GATT_INVALID_PDU (0x04).


(cherry picked from commit d5b9350d0f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
a8ee33b38f fix(ble/bluedroid): preserve HCI status on BLE 4.2 GAP failures
Return BTM_HCI_ERROR | hci_status from legacy BLE 4.2 GAP HCI command
paths instead of mapping failures to BTM_ILLEGAL_VALUE or
BTM_NO_RESOURCES. Add btm_ble_status_from_hci() helper and propagate
real status through scan start/stop completion callbacks.


(cherry picked from commit 47dd785a18)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
005e8029a9 feat(ble/bluedroid): Optimize Bluedroid memory usage
- Delete unused device records (~356B each)


(cherry picked from commit 7d1c0e9a32)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
ad3a325cc9 fix(ble/bluedroid): cap Read By Type response length at ATT maximum
Read By Type Response Length is one octet (max 255). When MTU was
large enough to return a long characteristic value in one pair, the
server wrote (UINT8)(value_len + 2) and overflowed (e.g. 513 -> 1),
so the client rejected the PDU as GATT_INVALID_PDU (0x04).

Cap server value to 253 bytes per pair, clamp the length byte, and
continue long reads via Read Blob when the capped size is returned.


(cherry picked from commit 97905afccc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
50b98393c6 fix(ble/bluedroid): Fixed potential double Execute Write Response
(cherry picked from commit 0a93ccd3b3)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
be3b2cf56b fix(ble/bluedroid): unblock sync HCI cmd on Command Status error
Release the BLE sync semaphore and record HCI status when a
synchronous command is rejected via Command Status, since no
Command Complete event follows.


(cherry picked from commit 29ae92f4ef)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00
Zhang Hai Peng
78f1bd2ccf fix(ble/bluedroid): set REQ_WAITING before GATTC service-change rediscovery
When service change cancels in-progress discovery, bta_gattc_disc_cmpl()
re-triggers discovery without marking auto_update as REQ_WAITING. If a
client command is queued in p_q_cmd, bta_gattc_start_discover() refuses
to restart and the command is never dispatched.


(cherry picked from commit 13926bb9bc)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-29 19:04:29 +08:00