Commit Graph

8490 Commits

Author SHA1 Message Date
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
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
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
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
Mahavir Jain
ef2d5c887d Merge branch 'feat/mbedtls_update_4.1.1' into 'master'
Feat/mbedtls update 4.1.1

See merge request espressif/esp-idf!50602
2026-07-20 09:34:19 +05:30
Atharva-2708
f8544b40df docs: fix duplicate word typos across docs and hal
Removes duplicated "the" typos in FreeRTOS, eFuse, Kconfig documentation, and the HAL README.

Signed-off-by: Atharva-2708 <atharva.btech27@gmail.com>
2026-07-19 15:31:16 +05:30
Chen Chen
836471c6b7 Merge branch 'feat/i2s_duplex_update' into 'master'
feat(i2s): allow full duplex mode in less strict condition

Closes IDF-15787

See merge request espressif/esp-idf!49662
2026-07-17 14:36:51 +08:00
Erhan Kurubas
7a07c33565 Merge branch 'feat/enable_function_tracing' into 'master'
Enable function tracing (-finstrument-functions)

See merge request espressif/esp-idf!49951
2026-07-16 15:57:42 +02:00
Mahavir Jain
2fd018b978 Merge branch 'docs/fix_ecdsa_p384_sb_doc_gating' into 'master'
docs(security): show ECDSA-P384 Secure Boot notes only on targets supporting it

See merge request espressif/esp-idf!50751
2026-07-16 17:51:36 +05:30
Chen Chen
4f29628c9b refactor(i2s): make the slot_bit_width checks unique 2026-07-16 17:34:58 +08:00
Chen Chen
a14f15eb15 feat(i2s): allow full duplex mode in less strict condition 2026-07-16 17:34:58 +08:00
Laukik Hase
ec08423276 Merge branch 'feat/esp_tee_misc_optim' into 'master'
feat(esp_tee): Restrict REE access to TEE-owned secure storage keys

Closes IDF-15938 and IDFGH-17659

See merge request espressif/esp-idf!50307
2026-07-16 14:00:51 +05:30
Erhan Kurubas
39d6aaaecb feat(esp_trace): add compiler-instrumented function tracing support 2026-07-16 10:18:25 +02:00
Ashish Sharma
224902efc9 feat(mbedtls): update to version 4.1.1 2026-07-16 14:38:48 +08:00