Commit Graph

8465 Commits

Author SHA1 Message Date
Rahul Tank
e44969a390 fix(nimble): Fix ble_chan_sound_reflector compilation issue 2026-07-06 07:52:43 +05:30
Sarvesh Bodakhe
310b3d6571 feat(wifi): add NAN group data and management frame protection
Add Wi-Fi Aware group-key support to secured NDPs so group-addressed
traffic can be protected, for interop with iOS/macOS peers:

- GTK (NCS-GTK-CCM-128) protects group-addressed data.
- IGTK/BIGTK (BIP) protect group management traffic - multicast SDFs,
  Beacons.

Capabilities are advertised in the CSIA IE: group_data_prot maps to GTKSA,
group_mgmt_prot to IGTKSA/BIGTKSA. The CSIA cannot encode IGTK/BIGTK
without GTK (WiFi Aware spec 9.5.21.2, Table 122), so enabling group_mgmt_prot
forces group_data_prot on for every secured service.

Expose per-service group_data_prot and device-global group_mgmt_prot.
2026-07-04 00:05:20 +08:00
Jiang Jiang Jian
ed3d9f9c46 Merge branch 'bugfix/hfp_example_ci_v6.1' into 'release/v6.1'
fix: Fix the HFP example fails to discovery target device (v6.1)

See merge request espressif/esp-idf!50288
2026-07-03 20:30:56 +08:00
Jiang Jiang Jian
7089584a34 Merge branch 'idf/ble_audio_4.4.1_v6.1' into 'release/v6.1'
feat(ble_audio): Support Zephyr LE Audio v4.4.1 (v6.1)

See merge request espressif/esp-idf!50187
2026-07-03 20:28:32 +08:00
Jiang Jiang Jian
2a0dd1921c Merge branch 'contrib/github_pr_18761_v6.1' into 'release/v6.1'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR) (v6.1)

See merge request espressif/esp-idf!50150
2026-07-03 20:28:07 +08:00
Jiang Jiang Jian
e3feb73053 Merge branch 'task/buildv2_hygiene_and_dep_declarations_v6.1' into 'release/v6.1'
fix(components): generic dep-declaration and scope-leakage hygiene exposed by cmakev2 (v6.1)

See merge request espressif/esp-idf!48904
2026-07-03 17:47:24 +08:00
Mahavir Jain
0362f806e1 Merge branch 'feat/psa_its_custom_backend_v6.1' into 'release/v6.1'
Support custom storage backend for persistent PSA keys (v6.1)

See merge request espressif/esp-idf!49151
2026-07-03 11:34:23 +05:30
harshal.patil
b3214f13c6 feat(examples/security): Add example to demonstrate the usage of custom key storages with PSA 2026-07-02 16:00:23 +05:30
yangfeng
0ec0a6bb9a fix: Fix the HFP example fails to discovery target device 2026-07-02 15:04:41 +08:00
Hu Rui
9c73af2261 refactor(dac): improve the DAC driver 2026-07-02 11:20:37 +08:00
Sudeep Mohanty
865512024c fix(dns_over_https): declare main and protocol_examples_common deps
dns_over_https/main includes time_sync.h, nvs_flash.h, esp_event.h,
esp_timer.h, and mbedtls headers. Declare nvs_flash, esp_event,
esp_timer, mbedtls and time_sync in PRIV_REQUIRES so the build is
self-describing under any build system.

Also move esp_netif from PRIV_REQUIRES to REQUIRES in
protocol_examples_common, since its public header exposes esp_netif.h.

Also add the PRIVATE keyword to target_link_libraries in the
dns_over_https component — CMake rejects mixed keyword/plain
signatures on the same target.
2026-07-01 19:59:05 +08:00
Shuai Wang
0ab5a90137 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-07-01 11:54:58 +08:00
morris
9583d6df06 Merge branch 'feat/async_color_converter_v6.1' into 'release/v6.1'
feat(esp_driver_dma): add async color convert driver (v6.1)

See merge request espressif/esp-idf!49747
2026-07-01 10:22:42 +08:00
Jiang Jiang Jian
cf515d20d7 Merge branch 'feat/support_usb_wakeup_v6.1' into 'release/v6.1'
feat: support usb as wakeup source from light sleep (v6.1)

See merge request espressif/esp-idf!49497
2026-06-30 19:40:33 +08:00
Liu Linyan
9b415a7d1f feat(ble_audio): Support Zephyr LE Audio v4.4.1 2026-06-30 15:17:24 +08:00
Jiang Jiang Jian
3dcf2a167f Merge branch 'feat/seperate_ot_citest_tags_v6.1' into 'release/v6.1'
ci: seperate openthread test cases (v6.1)

See merge request espressif/esp-idf!50059
2026-06-30 14:22:39 +08:00
Jiang Jiang Jian
c1e07b7234 Merge branch 'feat/sup_i2s_in_esp32s31_example_v6.1' into 'release/v6.1'
feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example (v6.1)

See merge request espressif/esp-idf!50055
2026-06-30 14:22:27 +08:00
Jiang Jiang Jian
18afab1c92 Merge branch 'feat/support_ble_uart_more_interfaces_v6.1' into 'release/v6.1'
feat(bt/ble_uart): Support ble uart more interfaces (6.1)

See merge request espressif/esp-idf!50048
2026-06-30 14:21:48 +08:00
Jiang Jiang Jian
7219860f52 Merge branch 'bugfix/ai_review_avrcp_v6.1' into 'release/v6.1'
fix(bt): Fix the critical and high issues related to AVRCP from AI review report (v6.1)

See merge request espressif/esp-idf!50019
2026-06-30 14:20:16 +08:00
Jiang Jiang Jian
48ab24bfe4 Merge branch 'bugfix/optimize_nimble_throughput_example_v6.1' into 'release/v6.1'
fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 (v6.1)

See merge request espressif/esp-idf!49978
2026-06-30 14:19:34 +08:00
Jiang Jiang Jian
090b0660c3 Merge branch 'docs/add_semihosting_chapter_v6.1' into 'release/v6.1'
docs(jtag-debugging): add semihosting chapter (v6.1)

See merge request espressif/esp-idf!49887
2026-06-30 14:17:56 +08:00
Jiang Jiang Jian
85ce16bed7 Merge branch 'feat/optimize_esp32s31_active_power_v6.1' into 'release/v6.1'
feat: optimize esp32s31 active power  (v6.1)

See merge request espressif/esp-idf!49618
2026-06-30 14:11:00 +08:00
morris
fc14f1009b Merge branch 'ci/twai-runner-update-v.6.1' into 'release/v6.1'
ci: twai runner setup v6.1

See merge request espressif/esp-idf!49802
2026-06-30 12:02:03 +08:00
morris
b0fc4b0e57 feat(dma2d): added async color converter example
illustrate how to use DMA2D convert a YUV422 image to RGB888 format
2026-06-30 11:51:40 +08:00
morris
2c4fb6634f Merge branch 'ci/move_adc_runner_to_generic_v6.1' into 'release/v6.1'
ci(adc): move all ADC runners to generic (v6.1)

See merge request espressif/esp-idf!49792
2026-06-30 11:31:40 +08:00
morris
1660ff9993 Merge branch 'fix/twaifd_assert_fail_v6.1' into 'release/v6.1'
fix(driver_twai): fix driver assert fail when send frame (v6.1)

See merge request espressif/esp-idf!49939
2026-06-30 11:25:35 +08:00
morris
19249ab573 Merge branch 'refactor/jpeg_encoder_example_v6.1' into 'release/v6.1'
feat(jpeg): simplify encode example and add pytest coverage (v6.1)

See merge request espressif/esp-idf!50139
2026-06-30 11:17:08 +08:00
morris
c2db07dcaa feat(jpeg): simplify encode example and add pytest coverage
Embed a 720p BGR raw asset and stream the encoded JPEG over UART so
this example no longer depends on SD card setup.

Add pytest coverage that reconstructs the JPEG from base64 output and
compares it against a checked-in golden image.
2026-06-29 17:26:08 +08:00
JiangGuangMing
5099acf16e feat(usb): add usb wakeup from light sleep example
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-29 16:08:35 +08:00
yiwenxiu
6634657037 ci: seperate openthread test cases 2026-06-26 10:23:07 +08:00
yangfeng
0298e9d6ae feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example 2026-06-26 09:36:01 +08:00
Zhi Wei Jian
b3cd6e6c07 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


(cherry picked from commit f1d9c994d2)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-26 09:08:02 +08:00
yangfeng
ce898faf35 fix(bt): Fix the high issues related to AVRCP from AI review report
- SDP/registration: handle SDP record creation and discovery failures safely
- AVRC stack: fix packet checks, fragment leaks, response build, and compile guards
- BTC AVRCP: fix return codes, connection state, metadata parsing, and memory leaks
- AVCTP: fix event passing, L2CAP conflicts, TX queue leaks, and disconnect handling
- Example: remove TG RN capability setup before initialization
2026-06-25 14:42:06 +08:00
Mayank Tyagi
018f32ddb1 fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 2026-06-24 16:48:45 +05:30
wanckl
de63f3978b feat(driver_twai): add prioritized TX queue support 2026-06-23 20:18:04 +08:00
Wan Lei
ea951b0ca6 fix(driver_twai): enable ci test for h4 2026-06-23 20:07:57 +08:00
wanckl
031c500d61 fix(ci): twai test close board to fixed ci jobs pullotion 2026-06-23 11:25:55 +08:00
Samuel Obuch
6ddbc96d97 docs(jtag-debugging): add semihosting chapter
Co-authored-by: Shen Mengjing <shenmengjing@espressif.com>
Co-authored-by: Zhang Shu Xian <zhangshuxian@espressif.com>
2026-06-22 13:01:11 +02:00
harshal.patil
3e246a64a3 fix(esp_common/esp_fault): make ESP_FAULT_ASSERT survive optimization
ESP_FAULT_ASSERT(C) was silently deleted by the optimizer when C is a cached
flag/status already proven by a preceding `if (!C) return/goto`: the compiler
folds C to a constant and drops all three checks, removing the fault-injection
protection with no warning.
2026-06-18 17:00:42 +05:30
igor.udot
86fdead05d ci: twai runner setup 2026-06-18 13:22:25 +08:00
gaoxu
6ef114af32 ci(adc): remove ADC runner and move ADC tests to generic 2026-06-18 10:32:40 +08:00
harshal.patil
0c2ebe3180 fix(secure_boot): range-check ECDSA r,s in bootloader before ROM verify 2026-06-16 10:38:59 +05:30
wuzhenghui
50db869d9d ci: rename eco tags to revision 2026-06-15 10:31:07 +08:00
Jiang Jiang Jian
85081d2414 Merge branch 'bugfix/fix_bluedroid_ai_review_bugs_20260427_v6.1' into 'release/v6.1'
Bugfix/fix bluedroid ai review bugs 20260427 (6.1)

See merge request espressif/esp-idf!49542
2026-06-14 11:04:54 +08:00
Jiang Jiang Jian
8f6ccd3bc3 Merge branch 'docs/ble-uart-tutorial_v6.1' into 'release/v6.1'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (6.1)

See merge request espressif/esp-idf!49385
2026-06-14 00:02:58 +08:00
Jiang Jiang Jian
c9f92f7b11 Merge branch 'feat/feat_enable_h21_light_sleep_v6.1' into 'release/v6.1'
fix(ble): disable flash pd config (6.1)

See merge request espressif/esp-idf!49217
2026-06-13 23:59:12 +08:00
Jiang Jiang Jian
6d7fde3e05 Merge branch 'feat/esp_trace_example_v6.1' into 'release/v6.1'
esp_trace example library integration (v6.1)

See merge request espressif/esp-idf!49089
2026-06-13 23:39:22 +08:00
Hu Rui
ef674eddd3 fix(touch): enable touch deep sleep on esp32-s31 2026-06-12 18:05:25 +08:00
Zhi Wei Jian
da29ffba88 fix(examples): improve bluedroid BLE example error handling
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.


(cherry picked from commit bfc47ace48)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 17:17:37 +08:00
Zhi Wei Jian
109120cc50 refactor(examples): disable unused BT options in bluedroid BLE examples
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).



(cherry picked from commit b4b640f233)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-06-12 17:17:37 +08:00