Commit Graph

1211 Commits

Author SHA1 Message Date
Vojtech Piroch
c88150ff5f fix(tools): Detect serial port matching the project target
Auto-detect used to pick the first Espressif device, even when it did
not match IDF_TARGET. With several boards attached, flash/monitor could
talk to the wrong chip.

Pass the project target into esptool so unmatched ports are skipped.
Resolve the port after ensure_build_directory() so the target is known.
For monitor on an unconfigured project, probe the connected chip and
pass it directly to idf_monitor without configuring the project.
2026-09-07 14:57:05 +02:00
Chen Jichang
8cb3743b7c ci(esp32h4): disable h4 build and target test on unsupported release branch 2026-09-07 15:48:11 +08:00
Fu Hanxi
e0ad880562 ci: move check_submodule_sync to ci/actions/common 2026-08-27 09:25:42 +02:00
Fu Hanxi
62cca9b9e0 ci: use main branch of ci/actions/common 2026-08-27 09:25:42 +02:00
Fu Hanxi
de89fb12f0 ci: fix double quotes with MR_MODIFIED_FILES 2026-08-27 09:25:42 +02:00
Fu Hanxi
d008f9456b ci: remove pip-cache and other unused jobs 2026-08-27 09:25:41 +02:00
Fu Hanxi
321dda29ff ci: apply common-scripts CI refactor (v6.1) 2026-08-27 09:14:23 +02:00
Roland Dobai
46e2563b4b Merge branch 'fix/buildv2_fake_pass_pipeline_v6.1' into 'release/v6.1'
ci(buildv2): skip patching the fake_pass build child pipeline (v6.1)

See merge request espressif/esp-idf!51571
2026-08-27 08:19:13 +02:00
Marius Vikhammer
fff9895c82 change(version): Update version to 6.1.0 2026-08-25 11:21:08 +08:00
Sudeep Mohanty
c619ab492c ci(buildv2): skip patching the fake_pass build child pipeline
idf-ci emits a skip pipeline containing only a fake_pass job, with no
include of test_child_pipeline.yml, when the modified files match no
buildable apps. patch_buildv2_child_pipeline.py redefined
generate_pytest_child_pipeline unconditionally, assuming the included
template supplied its tags, image and assign_test stage via keyword
merge. With the template absent, the injected job was bare: no tags,
default test stage. It was scheduled on the wrong runner and failed,
turning the allow_failure build_child_pipeline_buildv2 bridge red on
every buildv2 MR whose changes produce an empty app matrix.

Return early when a fake_pass job is present so the child pipeline is
left untouched and skips, matching the default build path. Add a unit
test for the patch script and a host_test job to run it.
2026-08-20 10:14:46 +02:00
Ivan Grokhotkov
44f0c59f7c change(version): Update version to 6.1.0 2026-08-14 13:26:52 +02:00
Sudeep Mohanty
abc963d6ca ci(buildv2): add build/QEMU/Linux jobs for Build system v2
Add the parallel set of CI jobs that exercise the cmakev2 path end-to-end
via the IDF_BUILD_V2 shim. All jobs are gated on the `buildv2` MR label
with `allow_failure: true` so unrelated MRs do not pay for the extra
build matrix.

- `.gitlab/ci/build.yml`: add the buildv2 child build pipeline that
  re-runs the full app build matrix with IDF_BUILD_V2=y, plus the
  Windows buildv2 build job. The generator script injects IDF_BUILD_V2
  and a PIPELINE_COMMIT_SHA suffix into each child job and broadens
  target_test job filters so v1 and buildv2 artifacts upload to distinct
  s3 cache paths and each child pipeline tests its own binary.
- `.gitlab/ci/host-test.yml`: add the QEMU (esp32, esp32c3) and Linux
  pytest buildv2 jobs.
- `.idf_build_apps.toml`: parameterize build_dir with BUILDV2_DIR_SUFFIX
  (set to _v2 only on the buildv2 pipeline).
2026-07-03 19:18:42 +02:00
Jiang Jiang Jian
dc9fc38bfe Merge branch 'backport/master-to-release-6.1-20260701' into 'release/v6.1'
fix(ci): Tolerate w32time already running on Windows CI VMs

See merge request espressif/esp-idf!50264
2026-07-03 10:46:04 +08:00
Jakub Kocka
3d35d528f8 fix(ci): Tolerate w32time already running on Windows CI VMs
net start w32time returns exit 2 on warm snapshots; that aborted before_script
before pytest. Continue with NTP config and w32tm /resync as intended.
2026-07-01 13:42:43 +02:00
Adam Múdry
758d17e1b8 test(vfs): Test changes regarding VFS register incorrect check fix 2026-07-01 12:06:13 +02:00
Jiang Jiang Jian
554e88416f Merge branch 'feat/mcp_server_accept_project_dir_v6.1' into 'release/v6.1'
feat(tools): mcp-server accepts project_dir from chat (v6.1)

See merge request espressif/esp-idf!50032
2026-06-30 14:20:47 +08:00
Mahavir Jain
7a2bb09375 Merge branch 'fix/secure_boot_bootloader_ecdsa_range_gate_v6.1' into 'release/v6.1'
Add ECDSA signature bounds check in bootloader before Secure Boot verify (v6.1)

See merge request espressif/esp-idf!49632
2026-06-30 07:15:59 +05:30
Marek Fiala
40fe010be4 feat(tools): mcp-server accepts project_dir from chat
At the same time, it's possible to start idf.py mcp-server
outside ESP-IDF project directory.

Added ESP-IDF mcp server tests
2026-06-25 09:13:49 +02:00
Wei Yuhan
b1d13e9fe4 change(version): Update version to 6.1.0 2026-06-24 11:15:47 +08: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
Jiang Jiang Jian
af02f23b5c Merge branch 'ci/update_known_failure_case_filename' into 'release/v6.1'
ci: fix known_failure_cases_file_name (v6.1)

See merge request espressif/esp-idf!48883
2026-06-10 11:05:17 +08:00
Ivan Grokhotkov
ee4c8f04f6 ci: fix known_failure_cases_file_name (v6.1) 2026-05-25 16:17:22 +02:00
Roland Dobai
162161cb7f ci(gitlab): Use internal Esptool releases in the pipeline 2026-05-25 15:53:36 +02:00
Evgeny Torbin
29455e38c2 ci: remove deprecated SHA update job 2026-05-18 15:58:10 +08:00
Roland Dobai
44772bf454 ci(gitlab): Force the update of esptool to the latest dev release 2026-05-15 11:33:19 +02:00
Chen Jichang
645ff40cde ci(esp32h4): enable ci target test 2026-05-11 16:48:58 +08:00
Marius Vikhammer
64b1eeda3b Merge branch 'ci/deprecate_template_app' into 'master'
ci(build): remove esp-idf-template dependency, use in-tree test apps

See merge request espressif/esp-idf!47737
2026-05-07 16:48:10 +08:00
Jiang Jiang Jian
c069dac41d Merge branch 'ci/update_build_docker' into 'master'
ci: optimize layer cache for docker build test

See merge request espressif/esp-idf!47831
2026-05-07 09:58:35 +08:00
Chen Yudong
43be5fb7d5 ci: optimize layer cache for docker build test
use different image tag for different concurrent job
2026-05-06 17:00:05 +08:00
Fu Hanxi
30032ff4fb Merge branch 'ci/upload-junit-when-succeeded' into 'master'
ci: upload junit for build jobs

See merge request espressif/esp-idf!48129
2026-05-06 09:44:38 +02:00
Evgeny Torbin
9ebb8787db ci: use --break-system-packages option when installing jsonschema 2026-05-04 19:33:26 +08:00
Evgeny Torbin
74abaa23d8 ci: use idf images from Gitlab Container Registry 2026-05-04 19:33:26 +08:00
Fu Hanxi
b2490ba2d1 ci: upload junit for build jobs 2026-04-30 10:20:22 +02:00
Marius Vikhammer
c06bf7de44 ci(build): removed and replaced template with regular test-apps 2026-04-29 15:21:30 +08:00
Fu Hanxi
a38c7e9242 ci: windows with VM 2026-04-27 12:41:53 +02:00
Fu Hanxi
3c6ba5ca38 ci: improve pattern that triggers build check 2026-04-23 09:27:55 +02:00
Fu Hanxi
1365d01012 Merge branch 'ci/update_integration_test' into 'master'
ci: move  to ci/actions

See merge request espressif/esp-idf!47822
2026-04-22 12:50:18 +02:00
Chen Yudong
91b344386c ci: move to ci/actions 2026-04-21 19:52:16 +08:00
wangmengyang
11268d8bfb feat(bt): Add initial support of Bluetooth Classic on ESP32-S31
- feat(soc_caps): Enable BT Classic and BLE in esp32s31
- Add git submodule for ESP32-S31 bt controller lib files
- changed sdkconfig.defaults and README for Bluetooth Classic examples
- change(docs): Added vendor HCI documentations for ESP32-S31
- change(Bluedroid): Adapt to ESP32-S31 due to some API differences on
  Bluetooth controller from ESP32
- change(bt): Modify CMakeLists.txt to support the Bluetooth dual-mode
  architecture on ESP32-S31
- change(bt): Add ECC P-192 functions to tinycrypt
2026-04-21 17:50:34 +08:00
Fu Hanxi
30a34b9097 Merge branch 'ci/pre-check-complete' into 'master'
ci: after pre-check-complete start build

See merge request espressif/esp-idf!47667
2026-04-17 09:07:58 +02:00
Linyan Liu
3ef5da096a feat(ble_audio): Support ISO & LE Audio functionalities (Preview) 2026-04-17 09:46:23 +08:00
igor.udot
05f8f55807 ci: after pre-check-complete start build 2026-04-17 08:46:20 +08:00
Fu Hanxi
2aee18d827 feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-04-16 13:27:18 +02:00
Fu Hanxi
f15406fe33 ci: log per-job ccache stats 2026-04-16 13:27:18 +02:00
igor.udot
167780a01e ci: setup python warning level at common 2026-04-14 14:23:24 +08:00
C.S.M
152b5ccb4c ci(esp32s31): Add ci target test for esp32s31 2026-04-03 11:38:45 +08:00
Island
a6acf48f33 Merge branch 'ble_dev/esp32h4eco1_chip_20260326' into 'master'
feat(ble): added ble support for esp32h4 eco1

See merge request espressif/esp-idf!47100
2026-04-03 10:31:23 +08:00
igor.udot
e05ac88eff ci: fix changed fies 2026-04-02 16:44:24 +08:00
ShenWeilong
6e359ad99e feat(ble): added ble support for esp32h4 eco1 2026-04-02 14:59:40 +08:00
Fu Hanxi
611ae33d93 ci: revert python constraint branch 2026-03-30 19:34:59 +02:00