Commit Graph

8658 Commits

Author SHA1 Message Date
Samuel Obuch
a49ea83330 change(ci): enable esp32h4 jtag tests 2026-07-14 11:25:03 +02:00
Frantisek Hrbata
f2a99cd11f feat(ulp): add cmakev2 ULP build system example with IDF components
Add examples/system/ulp/lp_core/build_system_v2/ demonstrating the
cmakev2 ULP build with native IDF component support, Kconfig
integration, component manager usage, linker scripts (static and
ldgen-processed), and per-project menuconfig.

The example shows a custom ULP project (via ulp_add_project) structured
as a proper IDF-like project with a main component and
idf_build_executable(). The ULP sub-project runs its own kconfgen with
the parent's sdkconfig as SDKCONFIG_DEFAULTS, inheriting the parent's
IDF configuration while adding ULP-specific Kconfig options from its
own components.

Three components demonstrate different integration mechanisms:

- ulp_sum and ulp_math: pure cmakev2 components in the components/
  subdirectory, using add_library(${COMPONENT_TARGET}) directly.
  Each provides a Kconfig file with configurable options.

- ulp_clamp: an external component in the extra/ subdirectory,
  declared as a local path dependency in ulp_sum/idf_component.yml.
  The component manager resolves this dependency automatically.
  ulp_clamp also provides a Kconfig file with a configurable
  maximum clamp value (CONFIG_ULP_CLAMP_MAX_VALUE).

Linker script support is demonstrated in two ways:

- Static linker script: ulp_math registers ulp_math_sections.ld via
  idf_component_set_property(LINKER_SCRIPTS), defining a custom
  linker symbol (ulp_math_version).

- ldgen-processed template: ulp_math provides a linker fragment file
  (ulp_math.lf) that describes a custom .ulp_math_fast section
  placement. The main component registers ulp_sections.ld.in via
  target_linker_script(PROCESS), which ldgen processes using the
  fragment to generate the final linker script. The
  ulp_math_multiply() function is placed in .ulp_math_fast using
  __attribute__((section)). Both static and ldgen linker scripts
  are handled by the standard idf_build_library() flow without any
  ULP-specific linker script functions.

The ULP project has its own sdkconfig.defaults that overrides the
ulp_clamp default (100 instead of 255), demonstrating per-project
configuration layering. Users can append to SDKCONFIG_DEFAULTS
before include(idf.cmake) to add project-specific defaults.

A menuconfig-<app_name> target is registered in the parent build,
allowing ULP-specific configuration via:
  idf.py --no-hints menuconfig-ulp_build_system_example

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-07-14 16:54:58 +09:00
yuanhonghui
5422d76332 test(bluedroid): Add CI pytest for BLE 5.0 dual-DUT examples and throughput 2026-07-14 14:27:25 +08:00
jiminxiang
a8bb79b5b9 feat(examples): add Bluedroid and NimBLE BLE AMS client examples
Add Apple Media Service client demos that discover AMS on iOS, subscribe
to media entity updates, and expose remote playback control helpers.
2026-07-14 11:33:41 +08:00
Island
fb195f7b50 Merge branch 'bugfix/fix_bluedroid_ext_adv_param_fail_state' into 'master'
fix(ble/bluedroid): preserve ext adv state when set params fails

Closes BLERP-2962 and IDFGH-17144

See merge request espressif/esp-idf!50470
2026-07-14 10:28:30 +08:00
peter.marcisovsky
a465662c66 feat(usb_device): Add SDMMC support for MSC USB Device example for esp32s31 target
- Added CI build of the MSC device example with SDMMC config
2026-07-13 14:29:40 +02:00
yangfeng
54009eb616 fix(bt/example): Add log in the failure path for avrcp_ct_metadata example 2026-07-13 10:48:52 +08:00
Zhi Wei Jian
2e6cbccd55 Merge branch 'feat/support_bluedroid_dual_identify' into 'master'
feat(ble/bluedroid): Support bluedroid dual indentify

See merge request espressif/esp-idf!49640
2026-07-13 10:03:39 +08:00
zhiweijian
1de0d2fef7 feat(ble/bluedroid): Add bluedroid dual identify server example 2026-07-10 17:57:25 +08:00
Jiang Jiang Jian
683088e89f Merge branch 'bugfix/dpp_pmkid' into 'master'
fix(wpa_supplicant): Fix issues related to pmkid mismatch and eloop for dpp

Closes WIFIBUG-762, WIFIBUG-1873, WIFIBUG-1941, WIFIBUG-1992, WIFIBUG-1852, WIFIBUG-1872, WIFIBUG-1950, WIFIBUG-1940, WIFIBUG-1810, WIFIBUG-1929, WIFIBUG-1925, and WIFIBUG-1864

See merge request espressif/esp-idf!49043
2026-07-10 12:30:14 +08:00
Renz Christian Bagaporo
907f4a66d9 Merge branch 'fix/lp_core_gpio_wakeup' into 'master'
fix(ulp): wake pin wakes ESP32-P4 from deep sleep on P4

Closes IDF-15823

See merge request espressif/esp-idf!49855
2026-07-10 07:44:36 +08:00
Shreyas Sheth
53e36b0ce4 fix(wpa_supplicant): Fix issues related to pmkid mismatch and eloop for dpp 2026-07-09 17:38:49 +05:30
Erhan Kurubas
21b9eaf6ff test(sysview): trim trace capture to the STOP record to drop post-reset UART noise 2026-07-08 14:01:36 +02:00
Erhan Kurubas
4cf35efa35 test(usb_serial_jtag): pin console uart to ttyUSBx port 2026-07-08 12:59:44 +02:00
Erhan Kurubas
67e42bfaec fix(esp_trace): limit USB-Serial-JTAG trace flush timeout 2026-07-08 12:59:44 +02:00
Erhan Kurubas
d22741aa12 change(sysview_heap_log): use esp sysview_mcore command for the JTAG capture 2026-07-08 12:59:44 +02:00
Erhan Kurubas
4a5a50e95a change(sysview): use esp sysview_mcore command for sysview_tracing JTAG capture 2026-07-08 12:59:44 +02:00
Erhan Kurubas
4e845e262a fix(sysview): add prefix to the example sysview module desc 2026-07-08 12:59:44 +02:00
Erhan Kurubas
f44867619e fix(sysview): handle variable-length timestamp in TRACE_STOP validation 2026-07-08 12:59:44 +02:00
Erhan Kurubas
27dc9c956f change(ci): enable esp32s31 jtag tests 2026-07-08 12:59:44 +02:00
C.S.M
3359f647c5 Merge branch 'feat/h21_temperature_sensor' into 'master'
feat(temperature_sensor): Add temperature sensor support for esp32h21

Closes IDF-11624 and IDF-11625

See merge request espressif/esp-idf!50419
2026-07-08 17:02:58 +08:00
Rahul Tank
63943f4d8b Merge branch 'bugfix/ai_reviewer_nimble_1.6' into 'master'
fix(nimble): Fixes for AI reported issues

See merge request espressif/esp-idf!50012
2026-07-08 13:55:54 +05:30
Wang Meng Yang
8ef144e239 Merge branch 'bugfix/idf_ci_hid_example' into 'master'
fix(bt/example): Add print the device name to verify if it matches in HID example

Closes IDFCI-9124 and IDFCI-3631

See merge request espressif/esp-idf!50375
2026-07-08 11:20:15 +08:00
zhanghaipeng
dba450de6b docs(ble/bluedroid): fix markdown formatting in example docs 2026-07-08 11:14:01 +08:00
Rahul Tank
6d835d5226 fix(nimble): Fixes for AI reported issues 2026-07-07 15:45:24 +05:30
sonika.rathi
4af379dcad fix(fatfs): erase storage partition before bdl_wl CI test 2026-07-07 11:42:08 +02:00
sonika.rathi
1fe9c8ad62 fix(storage): stabilize parttool pytest serial handoff 2026-07-07 09:41:10 +02:00
C.S.M
fff527fbd7 feat(temperature_sensor): Add temperature sensor support for esp32h21 2026-07-07 15:05:39 +08:00
C.S.M
fbdf6d7427 fix(jpeg): JPEG can encode and decode in encryption situation 2026-07-07 10:42:45 +08:00
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
yangfeng
059aa4c3f3 fix(bt/example): Add print the device name to verify if it matches in HID example 2026-07-06 12:10:40 +08:00
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
Renz Bagaporo
b4215c6d4d test(ulp): add gpio wakeup test 2026-07-02 16:43:46 +09: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