Commit Graph

6672 Commits

Author SHA1 Message Date
Alexey Gerenkov 69550e12e2 Merge branch 'fix/int_wdt_double_exception_v5.5' into 'release/v5.5'
fix(espcoredump): prevent double exception during int_wdt panic with custom stack (v5.5)

See merge request espressif/esp-idf!44174
2026-01-21 23:03:41 +08:00
Erhan Kurubas b38c003cb1 test(panic): add retry logic to espcoredump subprocess call 2026-01-21 00:24:38 +03:00
Roland Dobai 9c0f87f677 Merge branch 'contrib/github_pr_18103_v5.5' into 'release/v5.5'
Fix "IMPORTED_LOCATION not set for imported target" CMake errors during codemodel-v2 api queries with CMake 4.2 (GitHub PR) (v5.5)

See merge request espressif/esp-idf!45200
2026-01-20 20:42:22 +01:00
Fu Hanxi 85240aef96 ci: introduce default marker rev_default 2026-01-20 16:51:33 +08:00
Jiang Jiang Jian ca22d0e8ec Merge branch 'fix/minimal_build_property_v5.5' into 'release/v5.5'
fix(cmake): disable MINIMAL_BUILD build property if COMPONENTS is defined (v5.5)

See merge request espressif/esp-idf!45117
2026-01-19 11:11:49 +08:00
Ferdinand Bachmann bfb2c74b20 fix(cmake): Fix "IMPORTED_LOCATION not set for imported target" errors
esp-idf uses imported targets as dummy targets that are never linked.
Previous CMake versions would ignore these and not error on unset
IMPORTED_LOCATION if they are never actually linked. CMake 4.2 and newer
errors during codemodel-v2 api queries when imported targets are missing
IMPORTED_LOCATION, so set a dummy location that would error when
actually linked, which fixes the error during api queries.

Closes https://github.com/espressif/esp-idf/pull/18103
2026-01-16 12:11:20 +01:00
Jiang Jiang Jian f0538f38af Merge branch 'fix/ldgen_ipa_constprop_v5.5' into 'release/v5.5'
fix(ldgen): correctly place symbols generated by compiler during IPA (v5.5)

See merge request espressif/esp-idf!45111
2026-01-16 16:32:35 +08:00
Jiang Jiang Jian 8a2f308a07 Merge branch 'bugfix/esp_idf_c5_eco3_cpu_lockup_v5.5' into 'release/v5.5'
change: support top pd during sleep for esp32c5 eco3 and remove sleep mmu related flow (v5.5)

See merge request espressif/esp-idf!43570
2026-01-16 14:21:02 +08:00
Frantisek Hrbata b12bc58494 fix(cmake): disable MINIMAL_BUILD build property if COMPONENTS is defined
The MINIMAL_BUILD build property and the COMPONENTS variable are both
used to determine the initial component list for the build.

Currently, if the COMPONENTS variable is set, the MINIMAL_BUILD logic
is ignored during component selection, but the MINIMAL_BUILD build
property remains set. This leads to an inconsistent state where
menuconfig displays information indicating MINIMAL_BUILD is active,
even though it was ignored in favor of the COMPONENTS variable.

Fix this by setting the MINIMAL_BUILD property to OFF if the
COMPONENTS variable is used.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-01-16 13:00:38 +08:00
yinqingzhao 880a3c4d80 test(system): add esp32c61 eco4 build test 2026-01-16 11:40:31 +08:00
wanglei 7fca8a9c68 test(system): add esp32c5 eco3 build test 2026-01-16 11:40:31 +08:00
Frantisek Hrbata b28902c95a fix(ldgen): correct formatting issues reported by ruff
Resolve ruff's UP031 errors related to the use of percent formatting for
strings and lines longer than 120 characters.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-01-15 11:44:58 +01:00
hebinglin 17c110d640 change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2 2026-01-15 17:04:17 +08:00
Frantisek Hrbata 6f9024233e fix(ldgen): correctly place symbols generated by compiler during IPA
As part of inter-procedural optimizations (IPA), the compiler may
perform tasks such as constant propagation for functions. This involves
generating a specialized version of a given function with a new symbol
name that includes a suffix. For example, during constant propagation,
the compiler might create a specialized version named
`spiflash_start_core.constprop.0` for the `spiflash_start_core`
function. Additionally, the compiler may generate multiple clones of a
single function. Currently, when ldgen performs symbol placement, it
does not account for these compiler-generated functions, leading to
their incorrect or unexpected placement in memory (markers).

Consider a linker fragment with:

```
[mapping:spi_flash]
archive: libspi_flash.a
entries:
    esp_flash_api: spiflash_start_core (noflash)
```

The `spiflash_start_core` function should be placed in IRAM. However,
the compiler might generate an optimized version of this function with a
`.constprop.0` suffix, resulting in a
`.text.spiflash_start_core.constprop.0` input section. Currently, ldgen
does not handle this situation, leading to misplaced symbols.

Since `.` is not allowed in C identifiers, it should be safe to consider
all input sections for a symbol with any `.` suffix as representing that
symbol. This means considering the symbol suffixes should not cause any
ambiguity.

This change automatically places all input sections, including those
with possible suffixes for a given symbol, into the specified memory. In
other words, specifying a function name like `spiflash_start_core` in a
linker fragment automatically includes input section names matching
`spiflash_start_core(\..*)?$`.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-01-14 13:22:38 +01:00
Li Shuai 9ed3a7a49a change(tools): disable place rtc clock and rtc time modules into iram for flash auto suspend test 2025-12-31 14:37:46 +08:00
Chen Yudong dae2b988f4 ci: rename wifi_two_dut to two_duts 2025-12-30 10:53:16 +08:00
Jiang Jiang Jian fbfa940c73 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20251215_v5.5' into 'release/v5.5'
feat(tools): update openocd version to v0.12.0-esp32-20251215 (v5.5)

See merge request espressif/esp-idf!44311
2025-12-30 10:35:19 +08:00
Jiang Jiang Jian 3824958e95 Merge branch 'ci/known-failure-dut-id-v5.5' into 'release/v5.5'
ci: pytest-ignore skip using dut id

See merge request espressif/esp-idf!43625
2025-12-30 10:33:51 +08:00
Roland Dobai b214c68cc7 Merge branch 'feat/update_ccache_to_4.12.1_v5.5' into 'release/v5.5'
feat(tools): Updated ccache 4.11.2 -> 4.12.1 (v5.5)

See merge request espressif/esp-idf!43567
2025-12-26 07:03:22 +01:00
morris 30aaf64524 change(version): Update version to 5.5.2 2025-12-24 22:34:47 +08:00
morris 094518fa0d fix(check_placements): update method names to follow PEP 8 conventions 2025-12-23 16:28:08 +08:00
Erhan Kurubas 1991aa6da0 fix(espcoredump): prevent double exception during int_wdt panic with custom stack 2025-12-17 21:36:19 +01:00
Erhan Kurubas 2501b4403f feat(tools): update openocd version to v0.12.0-esp32-20251215 2025-12-16 12:45:12 +01:00
Marek Fiala 69873c01ab feat(tools): Updated ccache 4.11.2 -> 4.12.1
Closes https://github.com/espressif/esp-idf/issues/17756
2025-11-28 15:17:49 +08:00
Marek Fiala 2d47ed3c68 refactor(tools): test_idf_tools.py ruff changes 2025-11-28 15:17:49 +08:00
igor.udot 97a8ee870f ci: pytest-ignore skip using dut id 2025-11-27 08:56:36 +08:00
Omar Chebib a5bce887ab ci: re-enable eh_frame for the ESP32-P4 2025-11-26 11:40:01 +05:30
igor.udot 82cf7083e3 ci: disable p4 rev3 invalid tests temporarily for v5.5 only 2025-11-21 11:28:08 +08:00
armando a3bca48289 ci(p4): disable p4 rev3 invalid tests temporarily for v5.5 only 2025-11-21 09:19:16 +08:00
armando 4ef2005b80 change(ci): use p4 rev3 by default only when ci build 2025-11-20 11:33:36 +08:00
armando 304ba1655b fix check test scripts build issue 2025-11-20 11:33:36 +08:00
armando cdff2570c7 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-20 11:33:36 +08:00
armando 8f85983c9d ci(p4): re-enable p4 jobs 2025-11-20 11:33:36 +08:00
armando b578253cce change(g0): use hw_ver3 to build g0 components test app 2025-11-13 15:19:26 +08:00
Alexey Lapshin 4e525b6875 feat(tools): update toolchain version to esp-14.2.0_20251107 2025-11-08 11:15:14 +07:00
igor.udot 41255725e4 ci: extend wildcard support for no_runner_tags 2025-11-04 15:12:19 +08:00
armando 2762f67d2d change(ci): temporarily disable p4 target test 2025-11-04 15:12:19 +08:00
Jan Beran e332e3f4c1 fix(kconfig.cmake): Do not regenerate unnecessary config files 2025-10-27 23:35:52 +08:00
morris 3adfb2aa73 Merge branch 'fix/twai_hid_provider_word_ctu_v5.5' into 'release/v5.5'
fix(driver_twai): hide the provider keyword ctu in idf (v5.5)

See merge request espressif/esp-idf!42321
2025-10-21 21:26:11 +08:00
Roland Dobai 69552e5068 Merge branch 'contrib/github_pr_17594_v5.5' into 'release/v5.5'
fix(depgraph): Add double quotes around dependency names (GitHub PR) (v5.5)

See merge request espressif/esp-idf!42492
2025-10-20 09:18:29 +02:00
Rahul Tank 39b9662258 Merge branch 'feat/channel_sounding_nimble_v5.5' into 'release/v5.5'
feat(nimble): Add initial support for CS HCI (v5.5)

See merge request espressif/esp-idf!42278
2025-10-15 12:47:59 +05:30
Rahul Tank 126b8f8789 fix(nimble): Added CS service support 2025-10-14 16:41:02 +05:30
Frantisek Hrbata 52724f4ce2 fix(tools): check_dependencies.py ruff formatting
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-10-13 15:12:44 +02:00
armando e6d4eec507 feat(p4): p4 rev3 real chip support 2025-10-13 15:25:23 +08:00
wanckl cbc546704c fix(driver_twai): update twaifd register description 2025-10-11 11:29:11 +08:00
Frantisek Hrbata 66bdf5b54d fix(test_apps): reflect changes in component_deps.dot in the g1_components test
The commit 51f3c02115 ("Add quotes around node ID in dependency
graph") introduced proper quoting for node IDs in the generated dot
file. Since the dot format does not allow dashes in node names without
quoting, and dashes are used in component names, the component names in
the generated dot file are now correctly quoted. Adjust the
g1_components test to accommodate this change by stripping the quotes.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2025-10-10 12:03:30 +02:00
Vincent-Dalstra 7313d8c704 fix: Add quotes around node ID in dependency graph
Graphviz node ID's are represented as strings, that can only use a
restricted set of characters (characters, digits, and underscores), and
must not match a reserved keyword. These restrictions do not apply when
the string is wrapped in double quotes. This allows for component names
with dashes in them, for example.

Closes https://github.com/espressif/esp-idf/pull/17594
2025-10-10 11:58:51 +02:00
Fu Hanxi 39fed94da5 ci: use merged result commit in build_docker job
also change to shanghai runners
2025-10-09 13:45:18 +02:00
Jan Beran 3fd8a6e320 fix: set sufficient buffer limit for idf.py confserver 2025-10-06 09:00:26 +02:00
Jan Beran 438e207e45 change: fix formatting issues before editing tools.py and core_ext.py 2025-10-06 09:00:26 +02:00