Commit Graph

8030 Commits

Author SHA1 Message Date
Zhang Shuxian
96140ab129 docs: Update CN translation for partition 2026-08-06 14:35:47 +02:00
Adam Múdry
109cd54902 feat(esp_partition): Add esp_partition_flash_binary() CMake function
Add a new CMake function esp_partition_flash_binary() that provides a
unified API for registering partition data binaries to be flashed. It
replaces the direct esptool_py_flash_target calls scattered across
components (spiffs, fatfs, nvs_flash) with a single function that:

- Resolves partition offset from the partition table automatically
- Determines encryption requirements (auto-detect or ALWAYS_PLAINTEXT)
- Creates per-partition flash targets (e.g. idf.py <partition>-flash)
- Optionally includes the binary in `idf.py flash` via FLASH_IN_PROJECT

On the linux target, the function registers binaries for pre-loading
into the emulated flash. A build-time manifest (linux_flash_data.txt)
is generated via file(GENERATE), and partition_linux.c reads it at
runtime to copy each binary into the memory-mapped flash buffer at
the correct offset.

The partition_ops example is updated to use the new function and
includes a custom_partition with pre-built data to demonstrate the
full workflow, including on the linux target.
2026-08-06 14:35:47 +02:00
morris
aff0fb071a Merge branch 'feature/isp-flash-dma-input_v6.0' into 'release/v6.0'
feat(isp): add aligned flash DMA input example (v6.0)

See merge request espressif/esp-idf!51120
2026-07-24 16:48:11 +08:00
morris
73fc959386 Merge branch 'docs/i2c_addr_description_v6.0' into 'release/v6.0'
docs(i2c): clarify 7-bit address usage (v6.0)

See merge request espressif/esp-idf!51090
2026-07-24 14:30:29 +08:00
morris
91a87cfb36 refactor(isp): read DMA input directly from flash
Avoid the PSRAM copy for unencrypted flash
2026-07-24 11:48:42 +08:00
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
Chen Jichang
dd79849654 docs(pcnt): add gpio pull mode migration guide
Closes https://github.com/espressif/esp-idf/issues/18862
2026-07-24 11:10:42 +08:00
Ashish Sharma
8ad5504eb1 feat(mbedtls): update to version 4.1.1 2026-07-23 13:38:24 +08:00
Chen Chen
1443401e74 docs(i2c): clarify 7-bit address usage
Closes https://github.com/espressif/esp-idf/pull/18831
2026-07-23 09:13:34 +08:00
Jiang Jiang Jian
8dec036cdd Merge branch 'feature/adds_ipc_isr_safe_api_v6.0' into 'release/v6.0'
feat(ipc_isr): Adds IPC ISR safe API to stall other CPU (v6.0)

See merge request espressif/esp-idf!50964
2026-07-22 10:44:59 +08:00
Jiang Jiang Jian
7bcd65c9be Merge branch 'fix/fix_esp_tee_iv_length_check_v6.0' into 'release/v6.0'
feat(esp_tee): ESP-TEE Security Audit fixes (v6.0)

See merge request espressif/esp-idf!50851
2026-07-22 10:37:48 +08:00
Jiang Jiang Jian
f9058d5328 Merge branch 'feat/enable_cross_signed_cert_suppport_default_v6.0' into 'release/v6.0'
feat(mbedtls): enable cross signed certificate verification support by default (v6.0)

See merge request espressif/esp-idf!50535
2026-07-22 10:30:53 +08:00
morris
5d0975e307 Merge branch 'feat/i2s_duplex_update_v6.0' into 'release/v6.0'
feat(i2s): allow full duplex mode in less strict condition (v6.0)

See merge request espressif/esp-idf!50866
2026-07-21 11:09:18 +08:00
Konstantin Kondrashov
6b95e00788 feat(ipc_isr): adds IPC ISR safe API for other CPU stall API 2026-07-20 11:20:23 +03:00
Jiang Jiang Jian
06b8df9d7a Merge branch 'doc/bootloader-anti-rollback-fix_v6.0' into 'release/v6.0'
fix(docs): Update bootloader anti-rollback documentation (v6.0)

See merge request espressif/esp-idf!50838
2026-07-20 10:41:12 +08:00
Jiang Jiang Jian
a1b0ace41b Merge branch 'fix/keep_use_secure_element_v6.0' into 'release/v6.0'
fix(esp-tls): Keep deprecated use_secure_element field for compatibility (v6.0)

See merge request espressif/esp-idf!50780
2026-07-20 10:38:38 +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
Laukik Hase
3fd876dffa feat(esp_tee): Restrict REE access to TEE-owned secure storage keys 2026-07-17 18:15:37 +05:30
Ashish Sharma
2c4bcab8d2 feat(mbedtls): enable cross signed certificate verification support by default 2026-07-17 18:12:56 +08:00
Chen Chen
5c7be29ef2 refactor(i2s): make the slot_bit_width checks unique 2026-07-17 14:38:27 +08:00
Chen Chen
47bb180049 feat(i2s): allow full duplex mode in less strict condition 2026-07-17 14:38:27 +08:00
morris
8ca8e00621 Merge branch 'feat/uhci_send_multi_buffer_v6.0' into 'release/v6.0'
feat(uhci): support transmit multi buffer (v6.0)

See merge request espressif/esp-idf!50777
2026-07-16 19:26:34 +08:00
Konstantin Kondrashov
79af60b4ef fix(docs): Update bootloader anti-rollback documentation 2026-07-16 13:39:50 +03:00
morris
80f969e279 Merge branch 'isp_dma_one_frame_v6.0' into 'release/v6.0'
feat(isp): support isp dma input and add example (v6.0)

See merge request espressif/esp-idf!50755
2026-07-16 17:17:25 +08:00
Aditya Patwardhan
d79940bd3b fix(esp-tls): Keep deprecated use_secure_element field for compatibility
Restore the use_secure_element field in esp_tls_cfg_t, esp_tls_cfg_server_t
and httpd_ssl_config_t, and esp_transport_ssl_use_secure_element(), as
deprecated no-ops so that existing code keeps compiling. Setting them now
fails at runtime with ESP_ERR_NOT_SUPPORTED, as the feature is accessed
via the esp_key_config_t interface. To be removed in the next major release.

No compile-time deprecation attribute on this release branch; the field and
function stay warning-free here and carry only documentation notes.
2026-07-15 15:35:28 +05:30
Hu Rui
1dbf4678ef feat(uhci): support transmit multi buffer 2026-07-15 17:34:38 +08:00
morris
ff81dad1bd Merge branch 'fix/legacy_twai_rx_non_iso_dlc_oob_v6.0' into 'release/v6.0'
fix(driver_twai): fixed legacy twai OOB issue when rx dlc larger than 8 (v6.0)

See merge request espressif/esp-idf!50750
2026-07-15 16:01:02 +08:00
gaoxu
0df7a1f2cf feat(isp): Add example and script to check raw picture by ISP dma input 2026-07-15 14:15:29 +08:00
gaoxu
e4f9f672b0 feat(isp): support isp dma input and add example 2026-07-15 14:15:28 +08:00
Island
1dc74d56a2 Merge branch 'feat/support_bluedroid_le_coc_and_eatt_v6.0' into 'release/v6.0'
feat(ble/bluedroid): Support bluedroid LE COC and EATT features (6.0)

See merge request espressif/esp-idf!50715
2026-07-15 14:02:50 +08:00
morris
ed1a98ac65 Merge branch 'docs/i2s_ws_setting_v6.0' into 'release/v6.0'
docs(i2s): clarify WS width setting for standard mode (v6.0)

See merge request espressif/esp-idf!50666
2026-07-15 11:52:33 +08:00
wanckl
9da7cc92b3 feat(driver_twai): fd hardware support time trigger trans 2026-07-15 11:23:44 +08:00
Zhi Wei Jian
1ade9c6f0e feat(ble/bluedroid): Support bluedroid dual identity
(cherry picked from commit 2358786647)

Co-authored-by: zhiweijian <zhiweijian@espressif.com>
2026-07-14 14:17:33 +08:00
C.S.M
1873ca6359 fix(jpeg): JPEG can encode and decode in encryption situation 2026-07-13 19:56:28 +08:00
Chen Chen
5f7bc56a2e docs(i2s): add note for ws setting under DEFAULT config
Closes https://github.com/espressif/esp-idf/issues/18744
2026-07-13 15:23:26 +08:00
morris
c2aa496f98 feat(jpeg): simplify decoder example and add pytest coverage 2026-07-13 15:15:39 +08:00
wuzhenghui
d3c628c759 change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:31:43 +08:00
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
b6bc9710a1 docs(esp-tls): Update documentation for unified key interface and SE driver
Update esp_tls, esp_http_client docs and migration guide to reflect
the new esp_key_config_t interface and secure element PSA driver.

(cherry picked from commit 37808e2386)
2026-07-09 11:17:01 +05:30
Aditya Patwardhan
e889a304c5 feat(mbedtls): Add PSA Crypto driver for external secure elements
Add generic secure element PSA driver with runtime callback registration.
Consolidate Kconfig into single MBEDTLS_SECURE_ELEMENT_DRIVER_ENABLED option.

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

(cherry picked from commit 1c20f525b4)
2026-07-09 11:14:15 +05:30
Jiang Jiang Jian
52198d19a2 Merge branch 'docs/ulp_fsm_instruction_v6.0' into 'release/v6.0'
docs(ulp): clarify ULP FSM instruction cycle timing (v6.0)

See merge request espressif/esp-idf!50367
2026-07-09 12:34:46 +08:00
Jiang Jiang Jian
2a15269b80 Merge branch 'bugfix/fix_some_wifi_bugs_260706_v6.0' into 'release/v6.0'
fix(wifi): fix some wifi bugs 260706 v6.0(Backport v6.0)

See merge request espressif/esp-idf!50396
2026-07-08 14:26:57 +08:00
muhaidong
0ed8d91726 fix(wifi): update auth mode threshold doc 2026-07-07 16:00:39 +08:00
morris
db3825c799 Merge branch 'fix/spi_buslock_multi_dev_acq_release_issue_v6.0' into 'release/v6.0'
fix(esp_hw_support): fixed spi buslock multi dev acq/release logic issue (v6.0)

See merge request espressif/esp-idf!49168
2026-07-07 14:53:55 +08:00
wanckl
3b9f4ed1a0 feat(driver_spi): slave driver support config different tx/rx length 2026-07-06 11:58:08 +08:00
Marius Vikhammer
e794e6a348 docs(ulp): clarify ULP FSM instruction cycle timing
Closes https://github.com/espressif/esp-idf/issues/4088
2026-07-06 11:03:45 +08:00
harshal.patil
3c4586abff feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-07-03 10:25:48 +05:30
Mahavir Jain
175d0d844b Merge branch 'fix/align_sw_psa_drivers_and_hw_esp_psa_drivers_v6.0' into 'release/v6.0'
Align s/w and h/w PSA drivers (v6.0)

See merge request espressif/esp-idf!49834
2026-07-03 09:01:38 +05:30
Mahavir Jain
398265cc65 Merge branch 'docs/add_ws_post_handshake_cb_doc_v6.0' into 'release/v6.0'
docs(esp_http_server): adds doc and migration entry for ws server post handshake cb (v6.0)

See merge request espressif/esp-idf!49337
2026-07-02 11:38:29 +05:30
morris
7a627c71ac Merge branch 'feat/async_color_converter_v6.0' into 'release/v6.0'
feat(esp_driver_dma): add async color convert driver (v6.0)

See merge request espressif/esp-idf!49748
2026-07-01 10:25:10 +08:00