Commit Graph

7521 Commits

Author SHA1 Message Date
morris
16c8013af4 feat(build): support aligned embedded binary data
Allow callers to align embedded binary start symbols for DMA-capable
assets.
2026-07-24 11:48:17 +08:00
Jiang Jiang Jian
f44059890c Merge branch 'feature/upgrade-esp-rom-elfs_v6.0' into 'release/v6.0'
feat(tools): tools: update esp-rom-elf to version 20260528 (v6.0)

See merge request espressif/esp-idf!50847
2026-07-23 18:20:13 +08:00
Alexey Gerenkov
c0992a3a5a Merge branch 'sysview_test_fixes_v6.0' into 'release/v6.0'
Sysview test fixes v6.0

See merge request espressif/esp-idf!50729
2026-07-20 18:45:30 +08:00
Alexey Lapshin
795b2ec96f feat(tools): tools: update esp-rom-elf to version 20260528
Closes https://github.com/espressif/esp-idf/issues/18755
2026-07-20 10:58:29 +07:00
Jiang Jiang Jian
04ccdc72e0 Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260703_v6.0' into 'release/v6.0'
feat(tools): update openocd version to v0.12.0-esp32-20260703 (v6.0)

See merge request espressif/esp-idf!50503
2026-07-20 10:30:15 +08:00
Jiang Jiang Jian
55afa16a8a Merge branch 'backport/bdl_ioctl_checker_v6.0' into 'release/v6.0'
feat(esp_blockdev): add build-time ioctl command reservation overlap checker (v6.0 backport)

See merge request espressif/esp-idf!50217
2026-07-20 10:21:59 +08:00
morris
4edbc85a4a Merge branch 'bugfix/uart_sw_flow_ctrl_xoff_char_v6.0' into 'release/v6.0'
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6 (v6.0)

See merge request espressif/esp-idf!50524
2026-07-15 11:52:07 +08:00
Erhan Kurubas
f5cca63bb0 test(usb_serial_jtag): pin console uart to ttyUSBx port 2026-07-14 12:15:35 +02:00
Chen Chen
269d582181 fix: update flash encryption mock build check
Use a non-deprecated bootloader support API in the mock build test.
Keep the test focused on validating the generated bootloader support mock.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-14 17:30:39 +08:00
Vincent Hamp
f6ed4a607c fix(mocks): add missing esp_hal_* includes 2026-07-14 17:30:39 +08:00
Guo Zifan
7d904f636f docs(ble): rename BLE Log Console migration notice
(cherry picked from commit 9fb982d53b)

Co-authored-by: guozifan <guozifan@espressif.com>
2026-07-10 10:43:57 +08:00
Guo Zifan
6621170151 docs(ble): update BLE Log Console repository link
(cherry picked from commit ce515cbc09)

Co-authored-by: guozifan <guozifan@espressif.com>
2026-07-10 10:43:57 +08:00
Guo Zifan
4eb7dde736 remove(ble): migrate BLE Log Console out of ESP-IDF
(cherry picked from commit d8d7c3d904)

Co-authored-by: guozifan <guozifan@espressif.com>
2026-07-10 10:43:56 +08:00
Song Ruo Jing
b5e03248bb fix(stdio): add console input ability when selects ESP_CONSOLE_UART_CUSTOM_NUM_1 2026-07-09 19:24:07 +08:00
Aditya Patwardhan
aa70f6de09 fix(esp-tls): update secure element build hint for PSA integration
(cherry picked from commit 5f1074045f)
2026-07-09 11:17:03 +05:30
Aditya Patwardhan
9c1dcca1af fix(esp-tls): address MR review comments for SE PSA driver
- esp_tls_mbedtls: require cert when PSA-backed server/client key is set
- esp_tls_mbedtls: drop redundant pk_init/x509_crt_init (calloc handles it)
- psa SE driver: copy callbacks/opaque_key by value (no lifetime coupling)
- psa SE driver: replace atomic CAS with simple null check on register
- psa SE driver: use sig_len from sign callback with bounds validation
- psa SE driver: validate pubkey_len returned by export_pubkey callback
- psa SE driver: check hash sub-alg in RSA PKCS1V15 branch of validate_request
- psa SE driver: align secure_element_register_callbacks doc with value-copy impl
- esp_https_server: initialize server_key in HTTPD_SSL_CONFIG_DEFAULT
- mbedtls: move SECURE_ELEMENT_DRIVER_ENABLED to esp_config.h for parity
  with ESP_ECDSA_DRIVER_ENABLED; drop target_compile_definitions
- docs: fix esp_tls_cfg_t -> esp_http_client_config_t cross-reference
- docs: check psa_import_key() status in ESP-TLS PSA example
- hints/error_output: point at CONFIG_MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED

(cherry picked from commit 08b567ef3b)
2026-07-09 11:17:02 +05:30
Aditya Patwardhan
d93ab71681 feat(esp-tls): Add unified private key interface via esp_key_config_t
Add ESP_KEY_SOURCE_BUFFER and ESP_KEY_SOURCE_PSA key sources so all
hardware backends (DS, ECDSA, secure element) are accessed via PSA
key IDs through a single esp_tls_cfg_t.client_key field.

(cherry picked from commit 36090b7161)
2026-07-09 11:14:11 +05:30
Euripedes Rocha
011ebc5186 Merge branch 'feat/eth_test_component_v6.0' into 'release/v6.0'
feat(esp_eth): updated test_apps to use Ethernet test component (v6.0)

See merge request espressif/esp-idf!49659
2026-07-09 06:50:52 +02:00
Samuel Obuch
c6d9730850 feat(tools): update openocd version to v0.12.0-esp32-20260703 2026-07-08 12:12:22 +02:00
Erhan Kurubas
737f1f3a38 test(espcoredump): run test_tcb_corrupted with custom stack 2026-07-08 08:47:26 +02:00
Ondrej Kosta
9e3ec66892 feat(ci): support downloading extra app artifacts in pytest
Add app_extra S3 artifact type, extend idf-ci download plumbing, and
expose a download_app_extra pytest fixture for managed_components deps.
2026-07-08 08:01:45 +02:00
harshal.patil
d11534bfa1 fix(panic): handle absent IROM/DROM alignment gap in spiram-xip memprot tests
The spiram-xip IROM/DROM alignment tests assumed the XIP region always
leaves an alignment gap before the next MMU page: they executed into the
gap and expected an instruction access fault followed by a register dump.
When the section ends exactly on an MMU page boundary there is no gap - the
device prints "<IROM/DROM> alignment gap not added into heap" and returns,
the framework restarts cleanly (esp_restart_noos, no panic), and the test
timed out waiting for a register dump.
2026-07-01 11:00:05 +05:30
Tomáš Rohlínek
0188e1fe7b feat(esp_blockdev): add build-time ioctl command reservation overlap checker
(cherry picked from commit a9f545bcea)
2026-06-30 16:53:44 +02:00
morris
3160a1a73f docs(dma2d): added async color convert programming guide 2026-06-30 12:00:13 +08:00
Jiang Jiang Jian
a30c384b00 Merge branch 'feature/update-qemu-to-esp_develop_9.2.2_20260417_v6.0' into 'release/v6.0'
feat(tools): update qemu version to esp_develop_9.2.2_20260417 (v6.0)

See merge request espressif/esp-idf!48884
2026-06-30 11:53:00 +08:00
Fu Hanxi
3a77af68b2 Merge branch 'ci/stable-build-jobs-v6.0' into 'release/v6.0'
Ci/stable build jobs v6.0

See merge request espressif/esp-idf!48715
2026-06-29 10:03:00 +02:00
Jiang Jiang Jian
f3f37ec3d3 Merge branch 'docs/ble-uart-tutorial_v6.0' into 'release/v6.0'
docs(ble): added ESP-BLE-UART OpenCode Companion Guide (6.0)

See merge request espressif/esp-idf!49384
2026-06-29 15:38:35 +08:00
Fu Hanxi
aef705e678 feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-06-29 08:52:15 +02:00
Fu Hanxi
5658aee2b5 ci: log per-job ccache stats 2026-06-29 08:52:15 +02:00
Island
98effc1d13 Merge branch 'feat/format_bt_hci_to_btsnoop_v6.0' into 'release/v6.0'
refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib (6.0)

See merge request espressif/esp-idf!49710
2026-06-29 14:39:47 +08:00
Mahavir Jain
732111f75a Merge branch 'feat/esp_tee_backports_v6.0' into 'release/v6.0'
feat(esp_tee): Feature/fixes backports to `release/v6.0`

See merge request espressif/esp-idf!48486
2026-06-29 11:21:13 +05:30
Roland Dobai
31260fd35e Merge branch 'fix/cmakev2_manager_seed_known_components_v6.0' into 'release/v6.0'
fix(cmakev2/manager): seed known_components for namespace rewrite (v6.0)

See merge request espressif/esp-idf!48686
2026-06-29 07:42:02 +02:00
Roland Dobai
63f60b019b Merge branch 'contrib/github_pr_18556_v6.0' into 'release/v6.0'
fix(tools): idf_tools.py uninstall: initialize archive_version before use (GitHub PR) (v6.0)

See merge request espressif/esp-idf!48825
2026-06-29 07:38:37 +02:00
Roland Dobai
1c097b7acd Merge branch 'feat/replace_click_witch_rich_click_v6.0' into 'release/v6.0'
feat(tools): Replaced click with rich_click (v6.0)

See merge request espressif/esp-idf!49021
2026-06-29 07:37:36 +02:00
Roland Dobai
100484f2da Merge branch 'feat/mcp_server_accept_project_dir_v6.0' into 'release/v6.0'
feat(tools): mcp-server accepts project_dir from chat (v6.0)

See merge request espressif/esp-idf!50033
2026-06-29 07:37:09 +02:00
Jan Beran
f56cc44a05 fix: force colors in output of RunTool and ensure_build_directory 2026-06-25 09:18:20 +02:00
Marek Fiala
56fb3657a2 feat(tools): Improved verification of ESP-IDF project
Closes https://github.com/espressif/esp-idf/issues/18675
2026-06-25 09:14:01 +02:00
Marek Fiala
14d3b3cbc0 feat(tools): mcp-server added create-project tool 2026-06-25 09:14:01 +02:00
Marek Fiala
a2adc0ab1e 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:14:01 +02:00
Zhou Xiao
d3409dbac6 docs(ble): add BLE UART tutorial and opencode bridge demo
- Add BLE UART service example with OpenCode companion docs
- Add BLE UART bridge demo for opencode integration
- Add BLE UART common library improvements
2026-06-22 10:20:47 +08:00
Aditya Patwardhan
7101770dc6 change(version): Update version to 6.0.2 2026-06-19 12:18:37 +05:50
Zhang Hai Peng
3d532e7b14 refactor(bt): migrate bt_hci_to_btsnoop to esp-pylib
Replace argparse with rich-click and use esp_pylib.logger for
standardized console output and fatal error handling.


(cherry picked from commit 3a7896f2c5)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2026-06-16 15:34:08 +08:00
Laukik Hase
39a4cf5e56 feat(esp_tee): Clear out all sensitive buffers explicitly after TEE crypto operations 2026-06-12 10:04:07 +05:30
Aditya Patwardhan
94be07050f change(secure_boot): mark ECDSA based Secure Boot V2 as insecure on affected SoCs
ECDSA based Secure Boot V2 is not functional for certain input vectors on
ESP32-C5/C61/H2/P4 and on the preview targets ESP32-H4/H21. RSA based Secure
Boot V2 is the recommended scheme where the SoC supports it. This issue will be
fixed in a future hardware ECO revision; more details will be shared through the
hardware errata document.

A new hidden Kconfig option SECURE_BOOT_V2_ECDSA_INSECURE marks the affected
mass-production SoCs (ESP32-C5/C61/H2/P4). On these SoCs, when hardware Secure
Boot V2 is enabled, the ECDSA (V2) signing scheme is no longer offered by
default; it must be turned on explicitly via SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
under "Allow potentially insecure options" (CONFIG_SECURE_BOOT_INSECURE). App
signing without hardware Secure Boot is not affected. Note that ESP32-C61 has no
RSA based Secure Boot V2, so it has no Secure Boot scheme enabled by default.

The preview targets ESP32-H4 and ESP32-H21 mark ECDSA Secure Boot V2 as not
supported in their SoC capabilities instead of using the option above. As
ESP32-H4 has no other Secure Boot V2 scheme, Secure Boot is disabled entirely on
it; ESP32-H21 retains RSA based Secure Boot V2.

The security documentation keeps the ECDSA Secure Boot V2 content visible and
adds a warning describing the limitation (including that ECDSA Secure Boot V2 on
ESP32-C61 is not recommended for production). CI apps that exercise ECDSA Secure
Boot V2 on the affected SoCs set CONFIG_SECURE_BOOT_V2_FORCE_ENABLE_ECDSA
accordingly.
2026-06-10 18:06:48 +05:30
Marek Fiala
e5322213a9 fix(tools): Patch rich-click version < 1.9.5 2026-05-29 10:52:17 +02:00
Marek Fiala
ab20f29305 fix(tools): Patch rich-click version < 1.9.0 2026-05-29 10:52:17 +02:00
Marek Fiala
b6872d32a0 feat(tools): Visibly grouped custom extension actions in idf.py --help 2026-05-29 10:52:17 +02:00
Marek Fiala
007e0139d7 feat(tools): Replaced click with rich_click 2026-05-29 10:52:09 +02:00
Ivan Grokhotkov
f8e6997cd0 feat(tools): update qemu version to esp_develop_9.2.2_20260417 2026-05-25 16:49:47 +02:00
bakamake
7d43f7f6e8 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:42 +02:00