Commit Graph

8527 Commits

Author SHA1 Message Date
morris
651d6a283f refactor(esp_common): centralize ALIGN_UP/ALIGN_DOWN into esp_macros.h
Remove ~50 duplicate local definitions of ALIGN_UP/ALIGN_DOWN/ALIGN_UP_BY/
ALIGN_DOWN_BY across the codebase and replace them with canonical
ESP_ALIGN_UP/ESP_ALIGN_DOWN from esp_macros.h.
2026-07-06 13:36:06 +08:00
Aditya Patwardhan
2468defbff Merge branch 'feat/update_documentation_and_cleanup_for_s31' into 'master'
enable tests and cleanup JIRA references for s31

Closes IDF-14629 and IDF-14628

See merge request espressif/esp-idf!49273
2026-07-06 10:31:47 +05:30
Marius Vikhammer
61c798000f Merge branch 'feature/enable_more_linux_examples' into 'master'
feat(linux): enable more examples for linux target

See merge request espressif/esp-idf!50172
2026-07-06 11:40:51 +08:00
morris
8548b5cfa8 feat(ppa): add blend with color key example 2026-07-05 15:32:16 +08:00
nilesh.kale
9144db695a feat: enable tests and cleanup jira references for s31 2026-07-03 15:31:51 +05:30
Sudeep Mohanty
26b24ee2fa Merge branch 'task/buildv2_full_pipeline' into 'master'
Enable full buildv2 pipeline

Closes IDF-14180

See merge request espressif/esp-idf!49668
2026-07-03 11:28:57 +02:00
Jiang Jiang Jian
fa86d80f71 Merge branch 'feat/nan_gtk_support' into 'master'
feat(wifi_aware): advertise group data/mgmt protection (GTK/IGTK/BIGTK) and iOS compliance fixes

See merge request espressif/esp-idf!49800
2026-07-02 18:32:56 +08:00
Guillaume Souchere
b8f697b80d Merge branch 'feat/console-add-linux-support-for-examples' into 'master'
feat(console): Add linux support for console examples

Closes IDF-15778

See merge request espressif/esp-idf!50268
2026-07-02 09:30:48 +02:00
Wang Meng Yang
b4211b144d Merge branch 'bugfix/hfp_example_ci' into 'master'
fix: Fix the HFP example fails to discovery target device

Closes IDFCI-12151 and IDFCI-4605

See merge request espressif/esp-idf!50148
2026-07-02 15:02:28 +08:00
Aditya Patwardhan
b5023d4343 Merge branch 'feature/unified_priv_key_interface_across_idf' into 'master'
feat(esp-tls): Added a PSA driver for Secure Element

See merge request espressif/esp-idf!44987
2026-07-02 11:00:42 +05:30
Guillaume Souchere
c18c10f51d feat(console): Add linux support for console examples 2026-07-02 06:46:06 +02:00
Meet Patel
8da676cd87 Merge branch 'feat/ulp_adc_two_channel_example' into 'master'
feat(ulp): demonstrate multi-channel ADC in ULP-RISC-V example

See merge request espressif/esp-idf!50246
2026-07-02 10:00:21 +05:30
yangfeng
fe76a65d22 fix: Fix the HFP example fails to discovery target device 2026-07-02 10:50:38 +08:00
Sudeep Mohanty
92d71a7f9b test(gcov): resolve component CMakeFiles dir dynamically
pytest_gcov hardcoded `__idf_<component>.dir/` as the per-component CMake
intermediate directory where each .gcda is expected to land. The directory
name is build-system specific (Build system v1 uses `__idf_<component>.dir`,
Build system v2 uses `_idf_<component>.dir`). Asserting on a single literal
made every test_gcov_uart run fail under Build system v2 even though the
chip was streaming valid coverage data and the host-side UartGcovCapture
was writing the files to the build's actual layout.

Probe `CMakeFiles/*_<component>.dir/` and prefer the candidate whose .gcno
files were emitted by the active build, so the assertion follows the build
output rather than dictating it.
2026-07-01 13:17:25 +02:00
Harshal Patil
cbf8b877e1 Merge branch 'fix/partitions_ota_c2_c61_secure_boot_scheme' into 'master'
test: Incorrect SB key type for C2/C61

See merge request espressif/esp-idf!50232
2026-07-01 15:34:41 +05:30
Meet Patel
69d755b1e6 feat(ulp): demonstrate multi-channel ADC in ULP-RISC-V example 2026-07-01 14:09:05 +05:30
morris
d56d5532fc Merge branch 'refactor/jpeg_decoder_example' into 'master'
feat(jpeg): simplify decoder example and add pytest coverage

See merge request espressif/esp-idf!49733
2026-07-01 16:27:50 +08:00
Sarvesh Bodakhe
932a9e33d8 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-01 13:35:15 +05:30
Marius Vikhammer
9f126baed8 feat(linux): enable more examples for linux target 2026-07-01 15:10:22 +08:00
Island
b295d1f227 Merge branch 'fix/fix_ble_rtc_register_issue_after_reset' into 'master'
fix(ble): fix ble rtc reset issues on esp32-h4 and esp32-s31

Closes BLERP-2934, BLERP-2935, and BLERP-2937

See merge request espressif/esp-idf!50057
2026-07-01 14:04:41 +08:00
Hu Rui
03cf5bb45a Merge branch 'refactor/driver_dac_common' into 'master'
refactor(dac): improve the DAC driver

See merge request espressif/esp-idf!48212
2026-07-01 13:36:23 +08:00
harshal.patil
e2c59acc52 test(examples/partitions_ota): handle RSA-less Secure Boot V2 on C2/C61
ESP32-C2 and ESP32-C61 have no RSA based Secure Boot V2 support, so the
CI configs that pin the RSA signing scheme and key fail the app signing
scheme/key check on these targets.

- flash_enc_wifi_2.data_partition_verification: add C2/C61 sdkconfig
  overlays that switch to the ECDSA P-256 signing scheme and key (no
  force-enable needed as Secure Boot V2 itself is not enabled here).
- on_update_no_sb_rsa: disable the build on targets without
  SOC_SECURE_BOOT_V2_RSA, mirroring simple_ota_example, since this
  config specifically exercises the RSA scheme.
2026-07-01 10:54:11 +05:30
Rahul Tank
24b90ba6de Merge branch 'contrib/github_pr_18761' into 'master'
fix(nimble): initialize return value in LED characteristic access cal… (GitHub PR)

Closes IDFGH-17862

See merge request espressif/esp-idf!50077
2026-07-01 08:01:40 +05:30
cjin
958c28c41d fix(ble): change min freq in ble power save 2026-06-30 15:01:34 +08:00
Island
6aa3757930 Merge branch 'idf/ble_audio_4.4.1' into 'master'
feat(ble_audio): Support Zephyr LE Audio v4.4.1

See merge request espressif/esp-idf!49780
2026-06-30 11:49:45 +08:00
morris
6c79fabe36 feat(jpeg): simplify decoder example and add pytest coverage 2026-06-29 22:44:49 +08:00
Aditya Patwardhan
4196734d1a fix(esp-tls): Use runtime assignment for static key config length in examples
Linker symbol differences (prvtkey_pem_end - prvtkey_pem_start) are not
compile-time constants and cannot be used in static initializers.
2026-06-29 19:20:22 +05:30
Shuai Wang
c7dacda2a6 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 20:00:21 +08:00
Liu Linyan
d6f24a448a feat(ble_audio): Support Zephyr LE Audio v4.4.1 2026-06-29 17:43:53 +08:00
Marius Vikhammer
a6a4b7b903 Merge branch 'contrib/github_pr_18767' into 'master'
fix(examples): fix types on 64-bit cpu support(linux) (GitHub PR)

Closes IDFGH-17869

See merge request espressif/esp-idf!50109
2026-06-29 15:04:38 +08:00
Marius Vikhammer
687fe76364 fix(linux): fixed compile issues for freertos basic example on linux target 2026-06-29 14:00:38 +08:00
Michael (XIAO Xufeng)
c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
Richard Allen
c75b7daa3c fix(examples): fix types on 64-bit cpu support(linux)
Address these:

lock_example.c:162:60: error: cast to pointer from integer of different size
[-Werror=int-to-pointer-cast]
  162 |         xTaskCreatePinnedToCore(inc_num_mutex, NULL, 4096, (void *)thread_id, TASK_PRIO_3, NULL, tskNO_AFFINITY);
      |                                                            ^

create_task_example.c:30:19: error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
   30 |     int task_id = (int)arg;
2026-06-26 22:21:46 -05:00
Rahul Tank
98b1f39fc3 Merge branch 'bugfix/optimize_nimble_throughput_example' into 'master'
fix(nimble): Optimize Nimble throughput example for  GATT operations for all PHY channels

See merge request espressif/esp-idf!49635
2026-06-26 17:38:06 +05:30
Island
888c5397a3 Merge branch 'feat/ble_pytest_support_s31' into 'master'
feat(ble): add esp32s31 to bluedroid BLE pytest targets

See merge request espressif/esp-idf!48722
2026-06-26 13:58:33 +08:00
Hu Rui
3de0e061c1 refactor(dac): improve the DAC driver 2026-06-26 13:45:38 +08:00
Shu Chen
4d6104211c Merge branch 'feat/seperate_ot_citest_tags' into 'master'
ci: seperate openthread test cases

See merge request espressif/esp-idf!50034
2026-06-26 01:49:21 +00:00
yuanhonghui
41d4492453 feat(ble): add esp32s31 to bluedroid BLE pytest targets 2026-06-25 21:27:42 +08:00
Wang Meng Yang
2a504f93fe Merge branch 'feat/sup_i2s_in_esp32s31_example' into 'master'
feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example

See merge request espressif/esp-idf!50003
2026-06-25 17:53:37 +08:00
morris
a374068b99 refactor(rgb_panel): localize panel setup helpers
Move the RGB panel initialization out of the shared example component
and into example-local files so the LCD setup flow and Kconfig stay
close to the example. Rename the helper APIs and sync the log
expectations so the teaching-oriented example remains easier to follow.
2026-06-25 15:40:29 +08:00
yiwenxiu
6120f82aba ci: seperate openthread test cases 2026-06-25 15:14:34 +08:00
Aditya Patwardhan
36090b7161 feat(esp-tls): Add unified private key interface via esp_key_config_t
Add ESP_KEY_SOURCE_BUFFER and ESP_KEY_SOURCE_PSA key sources so all
hardware backends (DS, ECDSA, secure element) are accessed via PSA
key IDs through a single esp_tls_cfg_t.client_key field.
2026-06-25 11:31:37 +05:30
yangfeng
163e1cd783 feat(bt/example): Support I2S output of esp32s31 in A2DP sink stream example 2026-06-25 11:43:45 +08:00
morris
dc18ddc582 Merge branch 'feat/ppa_example_test' into 'master'
examples/ppa: refactor RGB demo to remove LCD dependency

Closes IDF-15828

See merge request espressif/esp-idf!49878
2026-06-24 23:08:27 +08:00
morris
d59e7cf1e6 feat(ppa): refactor PPA example and improve test coverage
also removed its dependency on the LCD driver
2026-06-24 16:43:17 +08:00
Mayank Tyagi
b47bf60003 fix(nimble): Optimize Nimble throughput example for 1M/2M/S2/S8 2026-06-24 12:32:46 +05:30
yangfeng
169a29defc 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-24 11:20:09 +08:00
Island
4aefc81ab9 Merge branch 'feat/support_ble_uart_more_interfaces' into 'master'
feat(bt/ble_uart): Support ble uart more interfaces

See merge request espressif/esp-idf!48831
2026-06-24 10:46:01 +08:00
Chen Jichang
3ea2152434 fix(i2c_oled): fix example hang when i2c transaction fails
Closes https://github.com/espressif/esp-idf/issues/18713
2026-06-23 18:57:39 +08:00
Wan Lei
e5d57f55b4 Merge branch 'fix/twai_ci_job_pollution' into 'master'
fix(ci): twai test close board to fixed ci jobs pullotion

Closes IDFCI-4973

See merge request espressif/esp-idf!49894
2026-06-23 11:10:42 +08:00