Commit Graph

7913 Commits

Author SHA1 Message Date
Shen Mengjing df1af52cc4 docs: Sync the CN transation and EN source 2026-02-24 10:58:19 +08:00
Roland Dobai 5410fc0d5c Merge branch 'feat/esp_idf_sbom' into 'master'
feat(tools): esp-idf-sbom integration into idf.py

Closes IDF-15120

See merge request espressif/esp-idf!45696
2026-02-20 10:18:47 +01:00
Martin Vychodil 0fd5bae048 Merge branch 'refactor/fatfs_vfs_change_esp_vfs_fat_register_prototype' into 'master'
refactor(fatfs): Update esp_vfs_fat_register function prototype

Closes IDF-9212 and DOC-12416

See merge request espressif/esp-idf!41953
2026-02-20 03:07:35 +08:00
Frantisek Hrbata b90098a9f2 feat(tools): esp-idf-sbom integration into idf.py
While the `esp-idf-sbom` `idf.py` extension is implemented within the
`esp-idf-sbom` python package, a few minor changes are also required on
the `idf.py` side.

1. Add `esp-idf-sbom` as a core requirement so it is automatically
   installed by the installation scripts.
2. Add the `sbom-create` action to the list of actions for which the
   flashing-related closing message is displayed.
3. Update the documentation in the api-guides for tools.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-02-16 09:03:17 +01:00
Roland Dobai dcc0ed1c60 Merge branch 'feat/split_hints' into 'master'
feat(tools): Extended `hints.yml` loading from components

Closes IDF-10976

See merge request espressif/esp-idf!44398
2026-02-13 15:40:24 +01:00
Konstantin Kondrashov c4e8c1df9f Merge branch 'feature/postpone_locked_efuses' into 'master'
feat(efuse): Defer WR_DIS eFuse burning

Closes IDF-14045

See merge request espressif/esp-idf!44652
2026-02-13 16:21:09 +02:00
Konstantin Kondrashov bb4c139547 Merge branch 'fix/esp32_iram_as_8bit_access_from_isr1' into 'master'
fix(xtensa): Fix ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY mode for ISR1

Closes IDF-15285

See merge request espressif/esp-idf!45737
2026-02-13 16:02:00 +02:00
Konstantin Kondrashov ac8fd0f491 fix(esp32): Fix IRAM_AS_8BIT_ACCESSIBLE_MEMORY accessible from ISR1 2026-02-13 11:30:44 +02:00
renpeiying 98d5785f86 docs: Update CN translation 2026-02-13 15:59:31 +08:00
Marek Fiala 75bf3bdb54 feat(tools): Extended hints.yml loading from components 2026-02-13 15:59:31 +08:00
Roland Dobai db947a0d51 Merge branch 'fix/minimal_build_no_main' into 'master'
fix(build): ensure the main component exists when MINIMAL_BUILD is enabled

Closes IDFGH-17219 and DOC-13790

See merge request espressif/esp-idf!45770
2026-02-13 06:33:17 +01:00
Mahavir Jain ecc8fda914 Merge branch 'bugfix/esp_local_ctrl_arg_check' into 'master'
fix(esp_local_ctrl): validate payload_case matches msg_type in command dispatcher

See merge request espressif/esp-idf!45817
2026-02-13 09:13:16 +05:30
Mahavir Jain 3a093f6f11 Merge branch 'feat/spi_mode_during_ota' into 'master'
feat(app_update): add API for checking the spi mode compatibility

See merge request espressif/esp-idf!45221
2026-02-12 13:46:58 +05:30
Frantisek Hrbata 5dac2fee69 Merge branch 'fix/cmakev2_idf_component_optional_requires' into 'master'
fix(cmakev2/compat): change idf_component_optional_requires behavior

Closes IDFGH-17112

See merge request espressif/esp-idf!45588
2026-02-12 08:50:24 +01:00
Jiang Jiang Jian 9d354dac56 Merge branch 'fix/mbedtls_enable_threading_pthread' into 'master'
fix(mbedtls): enable pthread threading by default

See merge request espressif/esp-idf!45798
2026-02-12 11:59:45 +08:00
Chen Chen 3e59db5f57 Merge branch 'feat/mcpwm_etm_timer_events' into 'master'
feat(mcpwm): ETM support mcpwm timer TEZ/TEP events

Closes IDF-6102

See merge request espressif/esp-idf!45679
2026-02-12 11:39:23 +08:00
Ashish Sharma 8a8c4c175e fix(mbedtls): enable pthread threading by default 2026-02-11 17:59:04 +08:00
Konstantin Kondrashov be517fa8c0 feat(efuse): Defer WR_DIS eFuse burning 2026-02-11 11:07:12 +02:00
Mahavir Jain 4631b4a5d9 docs(protocomm): recommend using security2 scheme for production purpose 2026-02-11 13:55:44 +05:30
Rahul Tank d3c1584238 docs(protocomm): add advisory for 2 new CVE 2026-02-11 12:06:03 +05:30
Zhang Shuxian c3f5b4a74e docs: Update CN translation 2026-02-10 19:15:16 +08:00
Lu Wei Ke 5b5ee24f1f Merge branch 'docs/fix_doc_access_html' into 'master'
docs: Change PDF to HTML in access description

Closes DOC-13022

See merge request espressif/esp-idf!45425
2026-02-10 19:03:18 +08:00
Chen Ji Chang 5d70c77962 Merge branch 'feat/fix_mipi_dma2d_example_when_flash_enc' into 'master'
feat(mipi_dsi): allow to use dma2d in example when flash is encrypted

See merge request espressif/esp-idf!45362
2026-02-10 18:30:26 +08:00
luweike 2e8e07f509 docs: Change PDF to HTML in access description 2026-02-10 17:20:49 +08:00
Samuel Obuch 08bfd7798d Merge branch 'docs/esp32h21_update_jtag_guide' into 'master'
docs(jtag): update esp32h21 jtag debugging guide

See merge request espressif/esp-idf!45727
2026-02-10 16:21:52 +08:00
Mahavir Jain 21f8ca5e6f feat(app_update): add API for checking the spi mode compatibility
New API to check the SPI flash mode from the incoming firmware image
during OTA updates could prevent bootloader/app incompatibility of
DIO vs QIO flash modes.

More information:
 - https://github.com/espressif/esp-hosted-mcu/issues/143#issuecomment-3741753788
 - https://github.com/espressif/esp-idf/issues/9674#issuecomment-1232533757
 - https://github.com/espressif/esp-idf/issues/9542#issuecomment-1211317354
2026-02-10 12:53:50 +05:30
Frantisek Hrbata 795904a41c fix(build): ensure the main component exists when MINIMAL_BUILD is enabled
The minimal build property is simply a shorthand for `set(COMPONENTS
main)`. The issue is that there is currently no check to verify whether
the `main` component actually exists or is known to the build system.
If the `main` component is not present, print an error message along
with suggestions on how to fix this inconsistency.

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

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-02-10 03:36:48 +08:00
Chen Jichang 456da1a132 feat(mipi_dsi): allow to use dma2d in example when flash is encrypted
Closes https://github.com/espressif/esp-idf/issues/17708
2026-02-09 19:23:14 +08:00
Wan Lei f2968a99d6 Merge branch 'feat/spi_slave_edma_psram_support' into 'master'
feat(driver_spi): spi slave edma psram support

Closes IDFCI-7326 and IDF-15125

See merge request espressif/esp-idf!44317
2026-02-09 15:22:46 +08:00
Samuel Obuch c03b548af4 docs(jtag): update esp32h21 jtag debugging guide 2026-02-06 12:54:29 +01:00
Tomas Rezucha 9620e107e2 Merge branch 'refactor/usb_host_cdc_example' into 'master'
refactor: Merge USB Host CDC-ACM and CDC-VCP examples

Closes IDF-11359

See merge request espressif/esp-idf!45589
2026-02-06 12:35:05 +01:00
Chen Ji Chang 7a8a5d8852 Merge branch 'test/parlio_flash_enc_test' into 'master'
test(parlio,rmt,lcd): add virtual flash encryption test

Closes IDF-15064, IDF-15065, and IDF-15069

See merge request espressif/esp-idf!45006
2026-02-06 19:26:22 +08:00
Tomas Rezucha b028d25f91 refactor: Merge USB Host CDC-ACM and CDC-VCP examples 2026-02-06 09:03:14 +01:00
wanckl cb55d54400 feat(driver_spi): slave hd driver support to using psram buffer 2026-02-06 15:47:45 +08:00
wanckl dd9a5b7719 feature(driver_spi): slave driver support psram transfer 2026-02-06 15:47:45 +08:00
Mahavir Jain 3a7d385ea4 Merge branch 'feat/add_opaque_ds_driver' into 'master'
feat: adds PSA opaque DS driver support

See merge request espressif/esp-idf!45008
2026-02-06 12:41:58 +05:30
Radek Tandler c5309ede7d Merge branch 'feature/nvs_flash_purge_erased' into 'master'
nvs_flash: Added purging of erased items at namespace (handle) level.

Closes IDFGH-8197 and IDF-972

See merge request espressif/esp-idf!44011
2026-02-05 16:44:07 +01:00
Aditya Patwardhan ce0597161e Merge branch 'refactor/remove_esp_wolfssl_from_esp_tls' into 'master'
feat(esp-tls): Added support to register custom tls stack

Closes IDF-11266

See merge request espressif/esp-idf!44342
2026-02-05 16:04:34 +05:30
Chen Chen 346a021d3d feat(mcpwm): ETM support mcpwm timer TEZ/TEP events 2026-02-05 18:08:51 +08:00
radek.tandler d50c7b4b6b feat(nvs_flash): Added purging of erased items at namespace level
- Added new option NVS_READWRITE_PURGE for nvs_open. All update and erase operations of
    the handle are wiping out the content erased items on top of just marking them erased.
  - Added new API call nvs_purge_all allowing to wipe out the existing erased items
    of the handle.
2026-02-05 11:07:43 +01:00
Chen Jichang b8c527a87c refactor(flash_enc): move esp_flash_encryption_enabled() to efuse component 2026-02-05 11:42:08 +08:00
Wu Zheng Hui a483acbf8f Merge branch 'feat/support_configurable_sleep_tick_overflow_behaviour' into 'master'
feat(pm): add light sleep tick overflow protection configuration

See merge request espressif/esp-idf!45413
2026-02-05 10:55:11 +08:00
Ashish Sharma e06a7dd791 feat: adds new Kconfig variable for DS peripheral 2026-02-05 10:12:25 +08:00
Adam Múdry 16e56b6368 docs: Provide translation for esp_vfs_fat_register function prototype update 2026-02-04 16:33:40 +01:00
Adam Múdry 38256a6b11 refactor(fatfs): Update esp_vfs_fat_register function prototype
to match esp_vfs_fat_register_cfg
2026-02-04 16:33:40 +01:00
Mahavir Jain f2635f98d9 Merge branch 'fix/externsive_mbedtls_aes_sha_tests' into 'master'
Re-introduce the extensive mbedtls AES and SHA tests

Closes SHA-512

See merge request espressif/esp-idf!45489
2026-02-04 18:33:57 +05:30
Mahavir Jain 4159b79b54 Merge branch 'fix/mbedtls_disable_default_configs' into 'master'
change(mbedTLS): update mbedTLS default configs

Closes DOC-13673

See merge request espressif/esp-idf!45358
2026-02-04 18:30:37 +05:30
Frantisek Hrbata e1eae669bc fix(cmakev2/compat): change idf_component_optional_requires behavior
The idf_component_optional_requires compatibility function in cmakev2
currently attempts to mimic the behavior of cmakev1 by adding a
dependency only if a component is already included in the build. In
cmakev1, this is handled by checking the BUILD_COMPONENTS list, which is
created during an early evaluation phase. Because cmakev2 removed this
early phase to allow for configuration-based component dependencies, the
build system does not inherently know which components will be part of
the build beforehand. To compensate, the current compatibility function
relies on the TARGET_EXISTS generator expression to determine if a
component should be linked.

This approach poses a problem because generator expressions are not
evaluated until the generation phase, but cmakev2 processes linker
scripts during the configuration phase by recursively scanning targets
linked to a library. Because the scanner does not recognize and cannot
evaluate generator expressions, any component linked optionally through
generator expression is skipped. If that component carries a linker
script, the script is never added to the library interface, resulting in
build failures. Since cmakev2 aims to support multiple libraries, a
component might also exist globally, causing TARGET_EXISTS to evaluate
to true, yet still be missed during a specific library's recursive scan,
leading to the same omission of necessary linker scripts.

To resolve this, the implementation of idf_component_optional_requires
is changed to check if a component is known to the build system in
COMPONENTS_DISCOVERED build property. If so, it is explicitly included
and linked directly via its interface target. While this may pull more
components into a build than the previous generator expression method,
potentially increasing build times, it ensures that dependency trees are
fully visible to the library target scanner. This serves as a practical
middle ground that maintains compatibility with existing components and
ensures build stability. This approach allows for the gradual fixing of
idf_component_optional_requires usage in components for cmakev2, with
the eventual goal of removing its usage in cmakev2 entirely.

This change also fixes cases where idf_component_optional_requires is
used to conditionally add requirements based on configuration options.
In cmakev2, the presence of a configuration option does not guarantee[1]
that a component has been included via add_subdirectory, unlike the
behavior in cmakev1. With this change even constructions like

```cmake
if(CONFIG_VFS_SUPPORT_IO)
    idf_component_optional_requires(PRIVATE vfs)
endif()
```

will now work in cmakev2, as the updated idf_component_optional_requires
explicitly includes the required component if it is available to the
build system.

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

[1] https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/build-system-v2.html#id9

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-02-04 09:28:35 +01:00
renpeiying f965e08ac5 docs: Update CN translation 2026-02-04 13:53:29 +05:30
Aditya Patwardhan 8694115a75 feat(docs): Added migration guide 2026-02-04 13:53:29 +05:30