Commit Graph

6769 Commits

Author SHA1 Message Date
Fu Hanxi
6717c915d9 feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-05-20 09:43:34 +08:00
Fu Hanxi
8a4dbaac6a ci: log per-job ccache stats 2026-05-20 09:43:32 +08:00
Jiang Jiang Jian
091c972a02 Merge branch 'backport/backport_some_wifi_changes_v5.5_260518' into 'release/v5.5'
backport/backport some wifi changes v5.5 260518(backport v5.5)

See merge request espressif/esp-idf!48614
2026-05-19 16:51:29 +08:00
Mahavir Jain
6a32889849 Merge branch 'feature/recovery_bootloader_support_v5.5' into 'release/v5.5'
feat(bootloader): Support recovery bootloader for ESP32P4 (v5.5)

See merge request espressif/esp-idf!48474
2026-05-19 12:35:57 +05:30
yinqingzhao
4fafd456a8 fix(test_apps): fix bugs in phy tsens test apps 2026-05-18 14:12:21 +08:00
Roland Dobai
490452a2a2 fix(tools): seed IDF_VERSION before idf.py parses dependencies.lock
Any idf.py invocation could hang indefinitely with no output while
spawning an unbounded chain of "idf.py --version" subprocesses,
eventually exhausting system memory.

During init_cli(), idf.py parses the project's dependencies.lock to
vet trusted component-provided idf_ext.py extensions. If the lock
contains a component whose manifest has an "if: idf_version" clause,
evaluating it calls idf-component-manager's _get_idf_version(). Outside
a CMake build the IDF_VERSION environment variable is not set, so that
function falls back to running "idf.py --version" as a subprocess,
which re-enters init_cli() and recurses without bound.

During a normal CMake build the component manager runs as a subprocess
that already has IDF_VERSION in its environment (see build/config.env),
so the fallback is never reached. The recursion happens only because
idf.py runs component-manager code in-process during its own CLI
startup, outside that context.

Seed IDF_VERSION into os.environ early in init_cli(), before any
dependencies.lock parsing, using the subprocess-free
idf_version_from_cmake() helper. This gives in-process component-manager
code the same IDF_VERSION a CMake build would provide.
2026-05-15 17:43:56 +02:00
Zhou Xiao
2f35704c8d fix(ble): added missed dataclass decorator for backport 2026-05-15 18:37:44 +08:00
Alexey Gerenkov
4496dab06c Merge branch 'feat/coredump_rtc_noinit_v5.5' into 'release/v5.5'
Add a new attribute COREDUMP_NOINIT_ATTR (v5.5)

See merge request espressif/esp-idf!45279
2026-05-13 19:18:36 +08:00
Konstantin Kondrashov
7d5df005d2 fix(test_apps): Increase CONFIG_PARTITION_TABLE_OFFSET to 0x9000
Fix some test apps that have a partition table offset of 0x8000,
which left no room for the bootloader for some chips.
2026-05-13 10:29:04 +03:00
Erhan Kurubas
11ec258dcc feat(coredump): add coredump_noinit attribute 2026-05-12 21:30:12 +08:00
Erhan Kurubas
d8f110301c feat(tools): update openocd version to v0.12.0-esp32-20260424 2026-05-12 14:33:42 +02:00
Fu Hanxi
b1236493f5 Merge branch 'test/fix_test_loadable_elf' into 'release/v5.5'
test: Fix test_loadable_elf call to esptool.load_ram

See merge request espressif/esp-idf!48391
2026-05-12 14:30:58 +02:00
Jiang Jiang Jian
6b385138ab Merge branch 'ci/update_integration_pipeline_v5.5' into 'release/v5.5'
ci: backport integration test and build docker (v5.5)

See merge request espressif/esp-idf!48377
2026-05-12 19:36:48 +08:00
zhiweijian
3f923aabb7 feat(bt): add shared ble_uart component and update ble_uart_service/docs 2026-05-12 11:09:44 +08:00
Peter Dragun
b731ccb6f0 test: Fix test_loadable_elf call to esptool.load_ram 2026-05-11 12:57:50 +02:00
Chen Yudong
e6014badf4 ci: optimize layer cache for docker build test
use different image tag for different concurrent job
2026-05-11 16:10:08 +08:00
Zhou Xiao
211fda9763 docs(ble): update bridge docs and troubleshooting 2026-05-09 19:43:52 +08:00
Zhou Xiao
a0dd9064a0 fix(ble): handle notification setup failures 2026-05-09 19:43:46 +08:00
Zhou Xiao
ec2fe6a73a fix(ble): remove BLE service UUID scan filter 2026-05-09 19:43:42 +08:00
Zhou Xiao
4e7ad7a3ef fix(ble): handle permission reply fallbacks
(cherry picked from commit ad7189e7dd)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:07 +08:00
Zhou Xiao
1bfe8a806d fix(ble): fixed edge case issues from ai reviewer
(cherry picked from commit fa8ca07e58)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:07 +08:00
Zhou Xiao
e10999a791 feat(tools): improve ble uart reconnect ux
(cherry picked from commit 956299d988)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:07 +08:00
Zhou Xiao
d2de518955 feat(tools): add opencode ble uart bridge demo
(cherry picked from commit 0b07f41e5a)

Co-authored-by: Zhou Xiao <zhouxiao@espressif.com>
2026-05-09 10:52:06 +08:00
harshal.patil
8121f66ec3 feat(cpu_region_protect): Extend PMP memprot for ESP32-P4 V3 2026-05-08 12:43:26 +05:30
Alexey Lapshin
2ff7df235a fix(panic_test): avoid linker check on dangerous relocations
xtensa linker throws warning
dangerous relocation: windowed longcall crosses 1GB boundary; return may fail

create separate function to call function by pointer to avoid warnings
2026-05-08 12:43:26 +05:30
Jiang Jiang Jian
0d184cbb9d Merge branch 'feat/support-ble-uart-bridge-v5.5' into 'release/v5.5'
feat(ble): add BLE UART bridge core (v5.5)

See merge request espressif/esp-idf!48011
2026-05-06 10:32:29 +08:00
sonika.rathi
cf4c425733 fix(fatfsgen): stabilize host read-flash after UART close in pytest 2026-04-30 15:31:36 +02:00
Alexey Lapshin
d237f5a7be feat(tools): update gdb version to 17.1_20260402 2026-04-29 19:29:51 +08:00
Zhou Xiao
b976ab9586 feat(ble): add BLE UART bridge core 2026-04-28 13:46:04 +08:00
Zhou Xiao
4ceb950dc1 fix(ble): support Python 3.9 type annotations 2026-04-28 12:15:27 +08:00
Zhou Xiao
11447dd9ad feat(ble): add BLE UART daemon notify API 2026-04-28 11:18:21 +08:00
Zhou Xiao
044339c29c docs(ble): document BLE UART bridge usage 2026-04-28 11:18:21 +08:00
Zhou Xiao
3961ad0e29 feat(ble): wire BLE UART bridge CLI 2026-04-28 11:18:21 +08:00
Zhou Xiao
f1733f544d feat(ble): add BLE UART daemon RPC API 2026-04-28 11:18:21 +08:00
Zhou Xiao
539ee0503c feat(ble): add BLE UART bridge console 2026-04-28 11:18:21 +08:00
morris
962b4687b7 Merge branch 'fix/p4_eco5_enable_special_test_v5.5' into 'release/v5.5'
fix(ci): p4 eco5 enable special test v5.5

See merge request espressif/esp-idf!47550
2026-04-27 10:41:53 +08:00
wanckl
5d37003c47 ci(p4): p4 eco5 enable parts of special tests 2026-04-24 15:09:56 +08:00
Roland Dobai
fb42f5353a Merge branch 'feat/add_ar_binaries_v5.5' into 'release/v5.5'
feat(tools): Added cmake and ninja arm binaries (v5.5)

See merge request espressif/esp-idf!46560
2026-04-23 13:29:48 +02:00
Marek Fiala
aa1a0852b7 feat(tools): Added cmake and ninja arm binaries
Closes https://github.com/espressif/esp-idf/issues/18272
2026-04-23 17:31:46 +08:00
Frantisek Hrbata
2a0099f34a fix(cmake): Fall back to version from components when git describe fails
When version.txt does not exist and git describe fails (e.g. in
release archives or environments without git), IDF_VER was set to
the raw git_describe output which resolves to "-128-NOTFOUND",
causing esp_get_idf_version() to return a garbled string.

Add a fallback that constructs the version string from the
IDF_VERSION_MAJOR, IDF_VERSION_MINOR and IDF_VERSION_PATCH
variables when git describe is not available.

Closes https://github.com/espressif/esp-idf/issues/18240

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-04-23 17:31:35 +08:00
Fu Hanxi
c0cb6ad632 revert: unintentional remove of public header exceptions 2026-04-23 09:17:45 +02:00
Fu Hanxi
8a9c2cbeb1 tests: change wifi tests expect timeout to 60
- wifi_router
- wifi_ap
- wifi_high_traffic
2026-04-22 09:22:20 +02:00
Mahavir Jain
0bed60db48 Merge branch 'fix/fix_esp_local_ctrl_potential_double_free_v5.5' into 'release/v5.5'
fix(esp_local_ctrl): fixes a potential double free (v5.5)

See merge request espressif/esp-idf!47489
2026-04-21 10:37:10 +05:30
Jiang Jiang Jian
14ea84f668 Merge branch 'python_cert_macos_v5.5' into 'release/v5.5'
fix: Update idf_tools.py to print correct path to Install Certificates.command on macOS (v5.5)

See merge request espressif/esp-idf!46555
2026-04-17 11:05:52 +08:00
Marius Vikhammer
160151e8be test(system): enable panic tests for P4 2026-04-16 09:54:16 +08:00
Ashish Sharma
1ede92febf fix(esp_local_ctrl): fixes a potential double free 2026-04-12 18:19:11 +08:00
Euripedes Rocha
e27c4bc8de Merge branch 'reduce_mqtt_ci_tests' into 'release/v5.5'
ci: Reduce scope of esp-mqtt tests

See merge request espressif/esp-idf!47430
2026-04-10 12:17:10 +02:00
Euripedes Rocha Filho
b19ee1650f ci: Reduce scope of esp-mqtt tests
To reduce failures due to CI environment the tests are reduced to a
minimum set. More extensive test suite is run at esp-mqtt repository.
2026-04-10 10:06:49 +02:00
Fu Hanxi
3cefdfb703 ci: rename eco tags to revision
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-09 10:58:07 +02:00
Zhou Xiao
e31a9b5d9b fix(ble_log_console): use typing.Optional/Union for Python 3.9 mypy compat
Replace Python 3.10+ X|Y union syntax with Optional/Union and remove
@dataclass(slots=True) to fix mypy pre-commit failures on Python 3.9.
2026-04-07 16:34:57 +08:00