Zhou Xiao
e2d38955de
change(bt/ble_log): deprecate legacy SPI log output module
...
Move ble_log_spi_out.c and ble_log_spi_out.h into a deprecated/
subdirectory under components/bt/common/ble_log/. Extract all
BT_BLE_LOG_SPI_OUT_* Kconfig options into deprecated/Kconfig.in
with an if-block to reduce depends-on repetition, sourced from
ble_log/Kconfig.in inside a "Legacy SPI Log Output (Deprecated)"
menu. Add mutual exclusion with BLE_LOG_ENABLED so that the legacy
SPI Out and the new BLE Log Module cannot be enabled simultaneously.
Update CMakeLists.txt source path and add deprecated/include to
include dirs so existing callers are unaffected. The BLE Log
Module's SPI Master DMA peripheral transport is the replacement.
2026-03-20 16:36:10 +08:00
Zhou Xiao
d51892380b
change(bt/ble_log): remove BLE Log UHCI Out module
...
Delete ble_log_uhci_out.c and its header. Remove the UHCI Out source
from CMakeLists.txt and all BT_BLE_LOG_UHCI_OUT_* Kconfig options.
Remove per-chip BT_LE_CONTROLLER_LOG_UHCI_OUT_ENABLED Kconfig and
all UHCI Out caller references in esp32c5/c6/h2 controller bt.c.
Update ble_log_console README to reference the new BLE Log Module
UART DMA config. The functionality is superseded by the BLE Log
Module's UART DMA peripheral transport.
2026-03-20 16:01:35 +08:00
Mahavir Jain
2dd0e0e6cf
Merge branch 'fix/additional_validation_checks' into 'master'
...
Some additional validation checks and new API for esp_ds_encrypt_params using KM
See merge request espressif/esp-idf!46312
2026-03-20 13:17:05 +05:30
harshal.patil
48e7d44ce1
fix(esp-tls): Remove the legacy use_km_key option
2026-03-20 11:15:23 +05:30
harshal.patil
398d9ea9cd
fix(esp_security): Add more validation checks
2026-03-20 11:15:23 +05:30
harshal.patil
0db717b9ec
feat(esp_ds): Support using the AES key used by DS peripheral for encrypting params
2026-03-20 11:15:23 +05:30
Jiang Jiang Jian
4495f9028c
Merge branch 'bugfix/fix_coex_sync_filter_and_delay_issue' into 'master'
...
fix(coex): fix coex sync filter and delay issue
Closes WIFIBUG-1787
See merge request espressif/esp-idf!46674
2026-03-20 11:52:01 +08:00
morris
503a5cfdf6
Merge branch 'fix/twai_test_and_readme' into 'master'
...
fix(driver_twai): readme doc and pytest script correct
Closes IDFGH-17354 and IDFCI-3117
See merge request espressif/esp-idf!46728
2026-03-20 09:35:57 +08:00
Fu Hanxi
1bfce4117d
Merge branch 'ci/enable-docs' into 'master'
...
ci: install.sh --enable-docs when job name contains docs
See merge request espressif/esp-idf!46712
2026-03-20 02:25:10 +01:00
Guillaume Souchere
8232fe077a
Merge branch 'feat/add-esp-cpu-linux-support' into 'master'
...
feat(esp_hw_support): Provide esp_cpu.h support for linux target
See merge request espressif/esp-idf!46647
2026-03-19 12:00:56 +01:00
Tomas Rohlinek
99c09321a6
Merge branch 'feat/bdl_generic_partition' into 'master'
...
feat(storage/blockdev): Add generic partition and memory mapping blockdev drivers
Closes IDF-12750
See merge request espressif/esp-idf!39989
2026-03-19 10:53:44 +01:00
Zhang Wen Xu
8d2060f078
Merge branch 'feat/update_ot_jan2026' into 'master'
...
feat(openthread): update OT to 9b887f6bd
See merge request espressif/esp-idf!46098
2026-03-19 08:16:47 +00:00
Tomáš Rohlínek
ec7acbbbfc
feat(storage/blockdev): Update description for ioctl commands
2026-03-19 08:56:34 +01:00
Tomáš Rohlínek
54b04cd2ca
feat(storage/blockdev_util): Add the component to CODEOWNERS
2026-03-19 08:56:34 +01:00
Tomáš Rohlínek
d2ff18b047
feat(storage/blockdev): Add generic partition blockdev driver
2026-03-19 08:56:21 +01:00
Tomáš Rohlínek
63a708fcaa
feat(storage/blockdev): Add memory mapping device driver
2026-03-19 08:54:39 +01:00
Aditya Patwardhan
d70142ceae
Merge branch 'docs/key_manager_docs' into 'master'
...
Add Key-Manager peripheral related documentation and example
Closes IDF-7903
See merge request espressif/esp-idf!45263
2026-03-19 09:01:17 +05:30
Tan Yan Quan
ef96edefd4
feat(openthread/openthread/lib): update thread-lib for upstream 9b887f6bd
...
* esp-openthread: thread_zigbee/esp-openthread@f7ea7ab12
* openthread: espressif/openthread@9b887f6bd
* esp-idf: espressif/esp-idf@b14c2f175
2026-03-19 02:53:23 +00:00
Marius Vikhammer
655d7a0c79
Merge branch 'bugfix/s31_system_chip_back' into 'master'
...
fix(esp32s31): fix super WDT reset and systimer hang during startup
See merge request espressif/esp-idf!46701
2026-03-19 10:37:55 +08:00
Tan Yan Quan
b14c2f1753
feat(openthread): update OT to 9b887f6bd
2026-03-19 10:35:13 +08:00
Island
2bcf1424e5
Merge branch 'fix/fix_ai_review_bug_for_bluedroid_host_260318' into 'master'
...
Fixed some BLE AI review bugs for bluedroid
Closes BLERP-2630
See merge request espressif/esp-idf!46730
2026-03-19 10:31:09 +08:00
Jiang Jiang Jian
4aa6a7eeb8
Merge branch 'bugfix/pspoll_idle_timer' into 'master'
...
fix(wifi): Add fixes for bss max idle
Closes WIFIBUG-1348, WIFIBUG-1354, WIFIBUG-1355, WIFIBUG-1356, and WIFIBUG-1357
See merge request espressif/esp-idf!40793
2026-03-19 10:27:07 +08:00
Martin Vychodil
510adaf71e
Merge branch 'contrib/github_pr_17642' into 'master'
...
feat(sdmmc): support multi-block read/writes (GitHub PR)
Closes IDFGH-16505 and DOC-13947
See merge request espressif/esp-idf!45725
2026-03-18 22:03:02 +08:00
Adam Múdry
b644580c68
Merge branch 'fix/sdmmc_cmd_err_switch_case_handling' into 'master'
...
fix(sdmmc): sdmmc_cmd.c fixed error handling in certain if and switch statements
Closes IDF-15455
See merge request espressif/esp-idf!46677
2026-03-18 14:57:52 +01:00
Sajia
e5e65ce0ae
fix(wifi): Add bss max idle timer and protected keep alive fixes
2026-03-18 17:53:12 +05:30
Hu Rui
d6ccb1ad96
Merge branch 'refactor_g_touch' into 'master'
...
refactor(touch): eliminate global variable `g_touch`
Closes IEC-499
See merge request espressif/esp-idf!46663
2026-03-18 20:04:27 +08:00
Tomas Rohlinek
38ee8df910
Merge branch 'chore/update_filesystem_considerations_codeowners' into 'master'
...
docs(storage): Move file system considerations doc guide ownership under storage
See merge request espressif/esp-idf!46732
2026-03-18 12:43:13 +01:00
Jiang Jiang Jian
b97387c348
Merge branch 'fix/sae_identifier_pmk_cache' into 'master'
...
Add conditions to check pmk flushing for similar ssid
Closes WIFIBUG-1453
See merge request espressif/esp-idf!43181
2026-03-18 19:36:55 +08:00
C.S.M
9db64a5461
Merge branch 'fix/tsens_float_isr' into 'master'
...
fix(temperature_sensor): Fix the float calculation in temperature sensor isr
See merge request espressif/esp-idf!46707
2026-03-18 19:34:05 +08:00
wanckl
d757aa02f4
fix(driver_twai): test script update
2026-03-18 19:10:26 +08:00
Sudeep Mohanty
4429ca7f4b
Merge branch 'test/buildv2_pytest_build' into 'master'
...
test(cmakev2): Add pytest tests for build APIs
See merge request espressif/esp-idf!46287
2026-03-18 12:09:00 +01:00
Wu Zheng Hui
8220859330
Merge branch 'fix/fix_esp32_int_wdt_workaround_break_sleep_process' into 'master'
...
fix(esp_system): disable esp32 cache livelock int_wdt workaround in ipc_isr_stall
Closes IDFCI-7791
See merge request espressif/esp-idf!45645
2026-03-18 19:07:17 +08:00
Jiang Jiang Jian
7133708406
Merge branch 'bugfix/wps_deauth_during_scan' into 'master'
...
fix(wifi): ignore disconnect events outside WPS handshake phase in WPS
Closes WIFIBUG-1616
See merge request espressif/esp-idf!46370
2026-03-18 19:06:36 +08:00
Shen Mengjing
5c66b1f529
docs: Update CN translation for key manager related docs
2026-03-18 16:27:39 +05:30
harshal.patil
5f647c0ba3
docs(key-manager): Add Key-Manager peripheral related documentation
2026-03-18 16:27:39 +05:30
harshal.patil
a1b52eb8ba
test(examples/security): Extend the flash enc example to flash enc enabled using KM targets
2026-03-18 16:27:39 +05:30
harshal.patil
a8ffefe096
test(examples/security): Add an example to demonstrate signing using Key Manager keys
2026-03-18 16:27:39 +05:30
morris
61b9df4490
Merge branch 'fix/coverity_mspi_overflowed_constant' into 'master'
...
Fix(mspi): overflowed constant issue reported by coverity
Closes IDF-13123 and IDF-13042
See merge request espressif/esp-idf!46680
2026-03-18 17:46:04 +08:00
Tomáš Rohlínek
8ad3ae4263
docs(storage): Move file system considerations doc guide under storage
2026-03-18 09:58:36 +01:00
zhiweijian
50747e4f63
fix(ble/bluedroid): Null/range checks, crypto cleanup and API consistency
...
- smp_api.h/smp_int.h: SMP_OPCODE_ARRAY_SIZE and SecureConnectionOobDataReply
declaration alignment
- p_256_ecc_pp/p_256_multprecision: bounds and overflow fixes in ECC/multiprecision
- smp_act: init le_key; p_dev_rec null check in smp_key_distribution;
smp_compute_dhkey failure notify in smp_both_have_public_keys
- smp_api: early state/cb_evt check in SMP_SecureConnectionOobDataReply
- smp_cmac: input/length validation in cmac_aes_k_calculate and
aes_cipher_msg_auth_code
- smp_keys: smp_gen_p2_4_confirm return and smp_calculate_comfirm_cont;
smp_process_private_key/smp_compute_dhkey cleanup and peer_pub_be clear
- smp_l2c: fix callback param types with L2CAP
- smp_main: event/state bounds in smp_sm_event; smp_get_event_name default string
- smp_utils: cmd_code<SMP_OPCODE_ARRAY_SIZE and smp_cmd_build_act check;
smp_mask_enc_key/smp_command_has_invalid_parameters bounds
2026-03-18 16:49:09 +08:00
zhiweijian
16d523e9bf
fix(ble/bluedroid): BLE credit, reject when p_rcb NULL, timeout and leak fixes
...
- l2c_int: align struct/constant types with l2c_ble/l2c_main
- l2c_api: null/state checks in L2CA_SendFixedChnlData
- l2c_ble: reject when p_rcb==NULL, add L2CAP_CMD_BLE_FLOW_CTRL_CREDIT;
l2cble_init_direct_conn int64_t timeout and link_timeout==0 fix
- l2c_link: null/state checks and cleanup in hci_disc_comp/timeout/send_to_lower
- l2c_main: free p_msg on FCR non-Basic and COC branches; fix LE credit handling;
process_l2cap_cmd bounds
- l2c_utils: credit/queue cleanup and null checks in l2cu_disconnect_chnl
2026-03-18 16:49:09 +08:00
zhiweijian
1d31286f1a
fix(ble/bluedroid): Fix double-free, exec write, bounds and HCI param checks
...
- gap_ble: add length/attribute checks in gap_proc_write_req
- gatt_cl: set p_cmd->p_cmd=NULL before memset to avoid double-free;
pending_cl_req %= GATT_CL_MAX_LCB
- gatt_sr: fix exec write zeroed_attrs and offset/len bounds, OOM cleanup
- gatt_sr_hash: null checks for p_attr->p_next, p_data+=2, len==0 in
gatts_calculate_datebase_hash, gatts_show_local_database
- gatt_utils: explicit return NULL, indent, idx<GATT_MAX_APPS checks,
len>GATT_MAX_ATTR_LEN, gatt_cleanup_upon_disc dealloc branch
- hciblecmds: length/handle validation in BLE ext adv/BIG sync HCI commands
2026-03-18 16:38:25 +08:00
zhiweijian
537661fb2e
fix(ble/bluedroid): Event length checks and timer/alarm error handling
...
- btu_hcif: validate p_msg->len and hci_evt_len in process_event; pass evt_len to
sub-handlers; fix cs_subevt num_steps_reported==0 malloc; bounds in
command_complete and role_change_evt
- btu_task: handle osi_alarm_new/hash_map_set failure in btu_start_timer,
btu_start_quick_timer, btu_start_timer_oneshot
2026-03-18 16:38:25 +08:00
zhiweijian
65b2cb2728
fix(ble/bluedroid): BLE GAP/ACL/ISO/SCO null checks, evt_len and resource handling
...
- btm_acl: malloc/list_append failure handling, remove/memset order in btm_acl_removed
- btm_ble: remove incorrect sec_flags in SMP_OOB/NC/SC_OOB fall-through
- btm_ble_5_gap: btm_ble_hci_status_to_str unreachable return,
BTM_BleSetExtendedAdvParams/BleStartExtAdv leak and bounds
- btm_ble_addr: fix indent in btm_find_dev_by_identity_addr
- btm_ble_gap: null check p_service_data, pass evt_len to btm_ble_process_adv_pkt,
bounds in process_adv_pkt
- btm_ble_iso: align param types with declaration
- btm_ble_privacy: handle BTM_BLE_IRK_LIST_INVALID_INDEX in update_resolving_list,
comment fixes
- btm_devctl: fix btm_vsc_complete param order/type
- btm_sco: add evt_len to btm_sco_process_num_completed_pkts for bounds check
- btm_ble_int.h/btm_int.h: add evt_len to process_adv_pkt and
process_num_completed_pkts declarations
2026-03-18 16:38:24 +08:00
zhiweijian
778dd2ab5e
fix(ble/bluedroid): Add length/pointer checks and fix error paths
...
- hci_hal_h4: validate packet length and pointers in hci_packet_complete,
hdl_rx_adv_rpt, callbacks
- hci_layer: align hci_start_up error path and return; validate packet len in
filter_incoming_event
- hci_packet_factory: ensure BT_HDR length/offset initialized in make_command_no_params
- packet_fragmenter: validate length before fragment_and_dispatch
2026-03-18 16:38:24 +08:00
zhiweijian
b83647f5ea
fix(ble/bluedroid): Align config, controller indent and init error paths
...
- bt_target: remove/align obsolete macros with Kconfig
- device/controller: fix start_up() Secure Connections indent,
get_ble_resolving_list_max_size return type
- controller.h: align type/interface declarations with implementation
- bte_init: remove unused/redundant code
- bte_main: return -1 on osi_init failure, null check in bte_main_hci_send
2026-03-18 16:38:24 +08:00
zhiweijian
6f5d9e3440
fix(ble/bluedroid): Fix init failure handling, storage/config and GATT leaks
...
- btc_main: handle bte_main_boot_entry failure with cleanup and future_ready(FUTURE_FAIL)
- btc_ble_storage: fix key/length validation in _btc_storage_get_ble_bonding_key
- btc_config: align return/error contract with callers
- btc_dm: use safe BTA_SERVICE_ID_TO_SERVICE_MASK, fix sec_cb_handler type
- btc_gatt_util: fix btc_to_bta_response/set_read_value length and bounds
- btc_gatts: future_free on early return, max_nb_attr uint16_t, fail cleanup,
handle bounds
- btc_ble_cte/btc_iso_ble: fix callback type/param consistency with BTA
2026-03-18 16:38:24 +08:00
zhiweijian
f4cec2ac4e
fix(ble/bluedroid): Add null/range checks and fix resource handling in BTA layer
...
- bta_dm_int: fix BTA_SERVICE_ID_TO_SERVICE_MASK undefined behavior (1<<id when id>=32)
- bta_gattc_main: add event bounds check before state table lookup
- bta_gattc_utils: null checks for remote_bda/p_rcb, fix list_free in clcb_dealloc,
bta_to_btif_uuid fixes
- bta_gatts_act: fix formatting/indent in send_service_change_indication
- bta_gatts_api: validate attr_val/len, add error logs on alloc failure
- bta_sys_main: null/range checks in sm_execute, alarm/hash_map error handling in
bta_alarm_cb
2026-03-18 16:38:24 +08:00
Sudeep Mohanty
b0d75e86fe
test(cmakev2): Remove old cmakev2/test directory, now replaced by buildv2 pytest suite
...
Made-with: Cursor
2026-03-18 09:27:51 +01:00
Sudeep Mohanty
aa67c578fb
test(cmakev2): Add pytest test for multi-binary build support
...
Made-with: Cursor
2026-03-18 09:27:51 +01:00