Commit Graph

1467 Commits

Author SHA1 Message Date
harshal.patil
6b417e9d47 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-17 16:45:29 +05:30
Igor Udot
dbb65e8712 Merge branch 'ci/generate-build-child-pipeline' into 'master'
ci: start generate_build_child_pipeline with pre_commit

See merge request espressif/esp-idf!49721
2026-06-16 20:24:09 +08:00
igor.udot
26c4f83080 ci: start generate_build_child_pipeline with pre_commit 2026-06-16 17:40:52 +08:00
Chen Yudong
d39ba32acb ci: update pre-commit to use new docker image 2026-06-16 12:51:24 +08:00
Jakub Kocka
9899280957 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-06-04 14:45:05 +08:00
Jakub Kocka
2e5d930e6b fix(tools): Windows builds when paths contain spaces (prefix_map, ldgen, CI)
- Harden prefix_map.cmake for paths with spaces on Windows

- ldgen: fragments-list-file, list normalization, CMake integration (tools/cmake + cmakev2)

- CI exclude list for check_tools; test_spaces bundle tweak

Made-with: Cursor
2026-06-04 14:45:05 +08:00
Fu Hanxi
21d6f9b879 Merge branch 'ci/remove_esp-metrics_cache' into 'master'
ci: remove esp-metrics pip cache

See merge request espressif/esp-idf!49022
2026-06-01 11:14:45 +02:00
Igor Udot
f72dbb87ec Merge branch 'ci/gcc-static-analyzer-cache' into 'master'
ci: enable cache for gcc_static_analyzer

See merge request espressif/esp-idf!49086
2026-06-01 16:06:03 +08:00
Guillaume Souchere
33e774397c Merge branch 'feat/error-code-registration' into 'master'
feat(esp_common): implement composable error code registration via link-time arrays

Closes IDF-15105 and IDF-15486

See merge request espressif/esp-idf!46125
2026-06-01 09:40:37 +02:00
igor.udot
ee65c61a3b ci: enable cache for gcc_static_analyzer 2026-06-01 15:17:13 +08:00
C.S.M
ed28662b99 ci: Add peripheral code onwer to pytest under esp driver 2026-05-29 16:17:49 +08:00
Chen Yudong
feed036fe7 ci: remove esp-metrics pip cache 2026-05-29 09:56:13 +08:00
Guillaume Souchere
d670774f5c feat(esp_common): implement composable error code registration via link-time arrays
Refactor the esp_err_to_name() system to decouple esp_common from
higher-level components. Instead of a monolithic generated table,
each component registers its error codes into a dedicated linker
section (.esp_err_msg_table) via idf_define_esp_err_codes() in its
CMakeLists.txt.

New files:
- tools/err_codes_extract.py: extract ESP_ERR_* defines from headers to CSV
- tools/err_codes_to_c.py: generate C source placing entries into linker section
- tools/err_codes_to_rst.py: generate RST documentation from error codes
- tools/cmake/err_codes.cmake: CMake module providing idf_define_esp_err_codes()
- components/esp_common/include/esp_err_codes.h: esp_err_msg_t typedef
- components/esp_common/src/esp_err_to_name_new.c: new lookup using link-time array
- tools/test_apps/build_system/err_codes_check/: CI test app

Changes:
- Remove all optional component dependencies from esp_common/CMakeLists.txt
- Add .esp_err_msg_table section to all 5 linker scripts
- Register error codes in 18 components via idf_define_esp_err_codes()
- Add new scripts to .gitlab/ci/rules.yml build_check patterns
- use new scripts to generate doc and add CI validation
- Update esp_err.rst to add description of composable code registration
2026-05-28 09:53:32 +02:00
Mahavir Jain
26e80b8f97 Merge branch 'fix/codeowners_doc_link' into 'master'
fix(gitlab): correct link to codeowners syntax

See merge request espressif/esp-idf!48879
2026-05-27 18:38:14 +05:30
Roland Dobai
5f44d4a401 Merge branch 'ci/esptool_internal_releases' into 'master'
CI: Use internal Esptool releases in the pipeline

See merge request espressif/esp-idf!48750
2026-05-25 15:44:36 +02:00
Ivan Grokhotkov
9bfd2c0b24 fix(gitlab): correct link to codeowners syntax 2026-05-25 15:41:12 +02:00
Ivan Grokhotkov
6589ba9bbb change(version): Update version to v6.2-dev
Start of v6.2 development.
2026-05-25 14:16:08 +02:00
Roland Dobai
02d6504653 ci(gitlab): Use internal Esptool releases in the pipeline 2026-05-22 17:45:32 +08: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
Zhou Xiao
fed69540fa change(gitlab): change tools/ble code owner to bluetooth 2026-04-23 18:03:53 +08: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
Fu Hanxi
e93cda6391 Merge branch 'ci/apply-idf-ci-1.x' into 'master'
ci: upgrade idf-ci to 1.x

Closes CII-108

See merge request espressif/esp-idf!46623
2026-03-30 19:31:53 +02:00
Fu Hanxi
12cc3a92af Merge branch 'feat/parametrize-pytest-cli-args' into 'master'
ci: move test cli args alongside test scripts

Closes IDFCI-1951 and IDFCI-2940

See merge request espressif/esp-idf!46966
2026-03-28 08:04:25 +01:00
Fu Hanxi
9ecd3ecad4 ci: apply idf-ci 1.x 2026-03-27 15:12:31 +01:00
Fu Hanxi
036bb8ec77 ci: move linux test cli args alongside the test scripts 2026-03-27 09:19:21 +01:00