Commit Graph

8500 Commits

Author SHA1 Message Date
morris
bff6bf5e8b Merge branch 'feat/async_memcpy_dw_gdma_backend' into 'master'
feat(esp_driver_dma): add dw_gdma backend for async_memcpy

Closes IDF-15760

See merge request espressif/esp-idf!50878
2026-08-10 16:16:53 +08:00
morris
eec76a070e feat(esp_driver_dma): add dw_gdma backend for async_memcpy 2026-08-10 16:16:53 +08:00
Mahavir Jain
2495e37a48 Merge branch 'feat/pma_pmp_lock_policy' into 'master'
Stop locking PMP in the bootloader and freeze the entry layout

See merge request espressif/esp-idf!50326
2026-08-06 11:31:39 +05:30
Mahavir Jain
6498d81eb4 Merge branch 'docs/vulnerabilities_guide_new_advisories' into 'master'
docs(security): update vulnerabilities guide with recently published advisories

See merge request espressif/esp-idf!51456
2026-08-05 18:27:43 +05:30
Michael (XIAO Xufeng)
b12870c43d Merge branch 'sdio-example-4bit-bringup' into 'master'
example(sdio_slave): add docs and examples for SI testing

See merge request espressif/esp-idf!49371
2026-08-05 16:48:38 +08:00
Sudeep Mohanty
cbc4dff964 Merge branch 'feat/ulp_custom_linker_support' into 'master'
ULP: Support custom LP Core linker layouts via the LINKER option

Closes IDF-12902

See merge request espressif/esp-idf!49991
2026-08-05 10:10:32 +02:00
Michael.B
0d9193fa98 feat(sdio): add hw_test example for signal integrity checks 2026-08-05 13:22:15 +08:00
Mahavir Jain
d9f42b3fc6 Merge branch 'update/update_certs_bundle' into 'master'
Update esp_crt_bundle certificates

See merge request espressif/esp-idf!50852
2026-08-05 10:42:06 +05:30
Alexey Gerenkov
72732994ef Merge branch 'feature/enable_atomic_lock_policy_on_riscv' into 'master'
feat(build): add CONFIG_COMPILER_CXX_ATOMIC_LOCK_POLICY option

See merge request espressif/esp-idf!49913
2026-08-04 20:05:40 +08:00
Alexey Lapshin
3003d738eb Merge branch 'fix/heap_trace_stack_corruption' into 'master'
fix(heap): avoid stack smash when heap tracing stack depth is 0

See merge request espressif/esp-idf!51416
2026-08-04 14:28:47 +04:00
morris
70d7ed8ce2 Merge branch 'docs/clarify_p4_no_wifi_ble' into 'master'
docs: Clarify that ESP32-P4 does not have Wi-Fi or Bluetooth in the introduction

See merge request espressif/esp-idf!51467
2026-08-04 14:47:38 +08:00
Zhang Shuxian
dfd5ea30b0 docs: Clarify that ESP32-P4 does not have Wi-Fi or Bluetooth in the introduction 2026-08-04 10:16:35 +08:00
Mahavir Jain
6d613d01ac docs(security): update vulnerabilities guide with recently published advisories 2026-08-03 18:04:17 +05:30
morris
08e0d30a74 Merge branch 'feat/uhci_ctn_doc_exmaple' into 'master'
feat(uhci): Add uhci_continuous api for example and doc

See merge request espressif/esp-idf!51363
2026-08-03 19:27:42 +08:00
Roland Dobai
56fea7d784 Merge branch 'docs/idf_sbom_multi_format' into 'master'
docs: Update the SBOM guide for multiple output formats

See merge request espressif/esp-idf!50299
2026-08-03 11:56:44 +02:00
Roland Dobai
b1d066dbd4 Merge branch 'contrib/github_pr_18871' into 'master'
feat(tools): add -j/--jobs option to idf.py (GitHub PR)

Closes IDFGH-18013

See merge request espressif/esp-idf!51409
2026-08-03 11:25:52 +02:00
Steven (Yang Minghui)
8588a299ac Merge branch 'feat/tsens_intr_priority_configurable' into 'master'
feat(tsens): support configurable interrupt priority

Closes IDF-7960

See merge request espressif/esp-idf!51413
2026-08-03 17:20:14 +08:00
Alexey Lapshin
aecc6eab60 fix(heap): avoid stack smash when heap tracing stack depth is 0
On RISC-V without frame pointers, STACK_DEPTH defaults to 0, so
alloced_by[] is empty. Writing callers[0] still ran and overwrote the
caller's cm.push saved ra, causing an illegal-instruction fault after
the first traced malloc (e.g. with HEAP_TRACING on ESP32-S31).
2026-08-03 16:07:54 +07:00
Steven (Yang Minghui)
cd8cea7e61 feat(tsens): support configurable interrupt priority 2026-08-03 15:12:58 +08:00
Zhang Shuxian
f9ba81e396 docs: Update CN translation for nvs_flash.rst 2026-08-03 11:39:48 +08:00
radek.tandler
56a01ca822 docs(nvs_flash): improved description of NVS space consumption
- Improved description of space required to store data types into NVS partition
  - Example showing nvs statistics extended with a code demonstrating the fragmentation effect
2026-08-03 11:39:47 +08:00
Sudeep Mohanty
2de7def60b docs(ulp): document the custom linker script feature
Describe the base/layout/checks split and how to supply a custom LP-core layout
through the LINKER option, covering the usable-window symbols
(LP_CORE_USER_MEMORY_REGION_START / _END), the section-boundary macros
(LP_CORE_TEXT_START / TEXT_END / DATA_START / DATA_END), and minimal and
multi-region layout examples.
2026-07-31 14:50:10 +02:00
Espressif BOT
8671276304 change(mbedtls/crt_bundle): Update esp_crt_bundle certificates 2026-07-31 10:09:00 +05:30
gaoxu
30e3df1c7c feat(isp): support ISP DPC, add tests and use it in multi pipeline example 2026-07-31 10:22:41 +08:00
C.S.M
ae64f66617 feat(uhci): Add uhci_continuous api for example and doc 2026-07-30 15:25:51 +08:00
Wang Meng Yang
5203199852 Merge branch 'docs/update_coexist_docs' into 'master'
docs(coex): enable coexist docs for c61 h21 h4 s31

See merge request espressif/esp-idf!51105
2026-07-29 20:14:35 +08:00
harshal.patil
29d67905f0 docs: add v6.2 migration guide entry for bootloader PMP ownership change
The second stage bootloader no longer configures or locks PMP entries on
C5, C6, C61, H2 and P4; document the impact on non-ESP-IDF applications
launched by the ESP-IDF bootloader that relied on the bootloader-provided
PMP configuration.
2026-07-29 11:41:22 +05:30
Erhan Kurubas
11e6799f80 Merge branch 'stub_bins_for_more_targets' into 'master'
Increase OCD stub memory reservation from 8K to 12K and extend this feature to more targets

See merge request espressif/esp-idf!51231
2026-07-28 16:58:05 +02:00
Wan Lei
49419d1a17 Merge branch 'fix/twai_fix_eventgroup_usf' into 'master'
fix(driver_twai): fix potential crash when node_delete from high priority task

Closes IDFGH-17927

See merge request espressif/esp-idf!50629
2026-07-28 17:39:39 +08:00
Erhan Kurubas
59ae1cf37f Merge branch 'move_trace_examples' into 'master'
refactor(examples): group trace examples under examples/system/tracing/

See merge request espressif/esp-idf!51160
2026-07-28 09:31:08 +02:00
Erhan Kurubas
6e5b4febf8 change(system): increase OCD stub memory reservation from 8K to 12K 2026-07-28 07:45:39 +03:00
Erhan Kurubas
19a27980a5 refactor(examples): group trace examples under examples/system/tracing/
Move 7 trace-related examples (app_trace_basic, app_trace_to_plot,
esp_trace_custom_library, function_tracing, gcov, sysview_tracing,
sysview_tracing_heap_log) from examples/system/ into a dedicated
examples/system/tracing/ subdirectory for better organization.

Update all path references across documentation (en + zh_CN),
build-test-rules, CI configs, Kconfig, and component READMEs.
2026-07-27 23:56:02 +03:00
wanckl
6e0d480b2a fix(driver_twai): fix potential crash when node_delete from low priority task
Closes https://github.com/espressif/esp-idf/issues/18803
2026-07-27 16:03:43 +08:00
Hu Rui
e7eaad0eb8 fix(uhci): rx fsm race condition and buffer size check
Closes https://github.com/espressif/esp-idf/issues/18819
Closes https://github.com/espressif/esp-idf/issues/18820
2026-07-27 11:48:52 +08:00
Alexey Lapshin
b3ae652f21 feat(build): add CONFIG_COMPILER_CXX_ATOMIC_LOCK_POLICY option
libstdc++ selects between a lock-free and a mutex-based policy for
std::shared_ptr reference counting based on this macro. Enabling this
option forces the lock-free policy, which avoids pulling in the
mutex-based implementation and can reduce code size.

Note: the lock-free policy avoids embedding a mutex in each control
block, saving about 88 bytes per shared_ptr, and improves performance
by using atomic operations instead of mutex locking.

Note: this option changes the ABI of libstdc++ atomic/shared_ptr
helpers. It can be incompatible when linking against prebuilt
libraries that were compiled without it, leading to link errors or
undefined runtime behavior. Only enable it if all C++ objects and
libraries in the build use the same setting.
2026-07-23 18:20:25 +07:00
morris
ee2cfdb3f3 Merge branch 'feature/isp-flash-dma-input' into 'master'
feat(isp): add aligned flash DMA input example

See merge request espressif/esp-idf!50959
2026-07-23 19:13:55 +08:00
linruihao
52c9ff43f7 docs(coex): enable coexist docs for c61 h21 h4 s31 2026-07-23 17:18:07 +08:00
Zhang Shuxian
35deba1bd7 docs: Update CN translation for tracing 2026-07-23 09:34:16 +03:00
Erhan Kurubas
6c6490d54c docs(esp_trace): restructure tracing docs with esp_trace as master
Reorganize the tracing documentation so esp_trace is the master
component, with app_trace, SystemView, and Gcov referenced from it.
2026-07-23 08:58:30 +03:00
Nebojša Cvetković
db6b310447 feat(tools): add -j/--jobs option to idf.py
Add a global -j/--jobs option to idf.py that sets the number of parallel
build jobs passed to the underlying build tool. Previously parallelism was
only configurable via the IDF_PY_BUILD_JOBS environment variable, and only
for the Ninja generator.

The option applies to both Ninja and Make and defaults to IDF_PY_BUILD_JOBS
when not given, so the environment variable keeps working as before.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-22 16:02:52 +01:00
Chen Ji Chang
1421a250a2 Merge branch 'doces/add_pcnt_pull_migreation_guide' into 'master'
docs(pcnt): add gpio pull mode migration guide

Closes IDFGH-18004

See merge request espressif/esp-idf!51009
2026-07-22 19:01:23 +08:00
Ivan Grokhotkov
d3766ffdea Merge branch 'feature/build-file-command' into 'master'
feat: add idf.py build-file command for standalone C files

Closes IDF-15453

See merge request espressif/esp-idf!47618
2026-07-22 10:34:38 +02:00
Chen Jichang
f0fd8fb0d0 docs(pcnt): add gpio pull mode migration guide
Closes https://github.com/espressif/esp-idf/issues/18862
2026-07-22 14:47:22 +08:00
Ivan Grokhotkov (bot)
b3a0e166fe feat: add compile_options support to idf.py build-file
Allow specifying extra compiler flags (warning flags, preprocessor
definitions, etc.) via a new 'compile_options' entry in the
idf-build-file frontmatter. The options are applied to the source
file via target_compile_options in the generated main component
CMakeLists, with CMake quoting so that flags like -DMSG="hello world"
reach the compiler exactly as written.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 22:04:41 +02:00
Ivan Grokhotkov
16275df0a1 feat: add idf.py build-file command for standalone C files
Add a new idf.py extension that allows building standalone C files
without requiring full project boilerplate. Source files can include
optional YAML frontmatter in block comments to specify sdkconfig
options, component dependencies, and target configuration.

When the frontmatter configuration changes, the stale sdkconfig is
removed so the new defaults are applied, and a target change also
clears the build directory since IDF_TARGET is pinned in the CMake
cache.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 22:04:41 +02:00
Chen Ji Chang
0bae8d1e27 Merge branch 'change/remove_lcd_restart_for_p4_s31' into 'master'
remove(lcd): remove restart support for p4 and s31

Closes IDF-15849 and IDF-15960

See merge request espressif/esp-idf!50892
2026-07-21 15:41:27 +08:00
morris
3af71b792e refactor(isp): read DMA input directly from flash
Avoid the PSRAM copy for unencrypted flash
2026-07-21 10:46:04 +08:00
morris
0315e2fb2e feat(build): support aligned embedded binary data
Allow callers to align embedded binary start symbols for DMA-capable
assets.
2026-07-21 10:40:18 +08:00
morris
2da1deee3b Merge branch 'contrib/github_pr_18864' into 'master'
docs: fix duplicate word typos across docs and hal (GitHub PR)

Closes IDFGH-18006

See merge request espressif/esp-idf!50942
2026-07-20 15:02:23 +08:00
Chen Jichang
9a196c8416 remove(lcd): remove restart support for p4 and s31 2026-07-20 13:19:09 +08:00