Commit Graph

6782 Commits

Author SHA1 Message Date
Alexey Lapshin
1e0fcf4e6e fix(tools): make script compatible with cmake v3.16 2026-06-10 13:09:39 +08:00
Alexey Gerenkov
8c59da477b Merge branch 'feat/test_lp_core_debugging_v5.5' into 'release/v5.5'
feat(ulp): add pytest for debugging example (v5.5)

See merge request espressif/esp-idf!48256
2026-06-01 20:55:10 +08:00
Aditya Patwardhan
6f79e8ed4a Merge branch 'feat/esp_tee_backports_v5.5' into 'release/v5.5'
feat(esp_tee): Feature/fixes backports to `release/v5.5`

See merge request espressif/esp-idf!48496
2026-05-28 11:00:10 +05:30
Aditya Patwardhan
36d2235696 Merge branch 'fix/fix_sec2_client_possible_pub_length_truncation' into 'release/v5.5'
fix(esp_prov): fixes security2 client possible public length truncation

See merge request espressif/esp-idf!48728
2026-05-28 10:41:41 +05:30
morris
a4ff8642d5 Merge branch 'feat/lcd_i2c_use_configurable_timeout_v5.5' into 'release/v5.5'
feat(lcd): add configurable timeout for lcd i2c panel (v5.5)

See merge request espressif/esp-idf!48664
2026-05-28 11:35:14 +08:00
Laukik Hase
2c38c285cf feat(esp_tee): Clear out all sensitive buffers explicitly after TEE crypto operations 2026-05-26 11:44:47 +05:30
Chen Chen
08ca9fcab3 feat(lcd): add configurable timeout for lcd i2c panel
Closes https://github.com/espressif/esp-idf/issues/18542
Closes https://github.com/espressif/esp-idf/pull/18543
2026-05-25 09:51:46 +08:00
Roland Dobai
f75f044d62 Merge branch 'contrib/github_pr_18556_v5.5' into 'release/v5.5'
fix(tools): idf_tools.py uninstall: initialize archive_version before use (GitHub PR) (v5.5)

See merge request espressif/esp-idf!48826
2026-05-22 15:36:21 +02:00
Jiang Jiang Jian
50d7885fc6 Merge branch 'fix/pmp_drom_mask_read_only_v5.5' into 'release/v5.5'
fix(cpu_region_protect): set DROM mask PMP entry to read-only (v5.5)

See merge request espressif/esp-idf!47577
2026-05-22 16:29:53 +08:00
bakamake
d13f0f45c5 fix(tools): idf_tools.py uninstall: initialize archive_version before use
Closes https://github.com/espressif/esp-idf/pull/18556
2026-05-22 10:00:55 +02:00
nilesh.kale
e3a8feedcc fix(cpu_region_protect): set DROM mask PMP entry to read-only
PMP entry 3 (SOC_DROM_MASK_HIGH, TOR mode) in the memprot path
was incorrectly granted RW permission on esp32h21 and esp32c61.
The mask ROM data region is inherently read-only; remove the W bit.

Also added necessary tests to check voilations and re-enabled
tests for ESP32P4
2026-05-21 11:33:09 +05:30
Ashish Sharma
26de0e2137 fix(esp_prov): fixes sec2 client possible public length truncation 2026-05-20 11:54:44 +08:00
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
Samuel Obuch
5b1b109cec change(cmake): use lpcore openocd configs with CONFIG_ULP_COPROC_TYPE_LP_CORE 2026-05-12 21:02:44 +02: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