Commit Graph

1915 Commits

Author SHA1 Message Date
yinqingzhao
680d9e6272 feat(wifi): support disable dfs channels in apsta example 2026-09-15 14:34:21 +08:00
Alexey Gerenkov
445d48b773 Merge branch 'tracing_test_fixes_v6.0' into 'release/v6.0'
Tracing test fixes (v6.0)

See merge request espressif/esp-idf!52328
2026-09-08 18:43:46 +08:00
Vojtech Piroch
6e0fc71aed fix(tools): Detect serial port matching the project target
Auto-detect used to pick the first Espressif device, even when it did
not match IDF_TARGET. With several boards attached, flash/monitor could
talk to the wrong chip.

Pass the project target into esptool so unmatched ports are skipped.
Resolve the port after ensure_build_directory() so the target is known.
For monitor on an unconfigured project, probe the connected chip and
pass it directly to idf_monitor without configuring the project.
2026-09-07 14:48:25 +02:00
Erhan Kurubas
69de071692 refactor(examples): group trace examples under examples/system/tracing/
Move 6 trace-related examples (app_trace_basic, app_trace_to_plot,
esp_trace, 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 and component READMEs.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KZAGzon27T12sGbDPPbZ8G
2026-09-05 03:15:58 +08:00
Alexey Gerenkov
2007a7c8db Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260831_v6.0' into 'release/v6.0'
feat(tools): update openocd version to v0.12.0-esp32-20260831 (v6.0)

See merge request espressif/esp-idf!52392
2026-09-04 17:32:14 +08:00
Alexey Gerenkov
3d678a280b Merge branch 'add_trace_doc_section_v6.0' into 'release/v6.0'
docs(esp_trace): restructure tracing docs with esp_trace as master (v6.0)

See merge request espressif/esp-idf!52265
2026-09-04 17:22:14 +08:00
Fu Hanxi
ddb9fd017c ci: apply idf-ci 1.x 2026-09-03 20:24:50 +02:00
Erhan Kurubas
8a1336523a change(system): increase OCD stub memory reservation from 8K to 12K 2026-09-03 13:04:40 +02:00
Zhang Shuxian
4ef3ad269b docs: Update CN translation for tracing
(cherry picked from commit 35deba1bd7)
2026-08-31 15:02:42 +02:00
Erhan Kurubas
70e16c4331 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.

(cherry picked from commit 6c6490d54c)
2026-08-31 15:02:14 +02: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
Konstantin Kondrashov
79af60b4ef fix(docs): Update bootloader anti-rollback documentation 2026-07-16 13:39:50 +03: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
wuzhenghui
d3c628c759 change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:31:43 +08:00
muhaidong
0ed8d91726 fix(wifi): update auth mode threshold doc 2026-07-07 16:00:39 +08:00
morris
255cce5d1f Merge branch 'feat/spiram_enc_exempt_v6.0' into 'release/v6.0'
feat(esp_psram): add option to carve unencrypted PSRAM region (v6.0)

See merge request espressif/esp-idf!48810
2026-06-30 15:22:36 +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
bcfdd44e40 Merge branch 'docs/add_semihosting_chapter_v6.0' into 'release/v6.0'
docs(jtag-debugging): add semihosting chapter (v6.0)

See merge request espressif/esp-idf!49888
2026-06-29 15:42:54 +08:00
Jiang Jiang Jian
dcbeafd594 Merge branch 'feat/esp_trace_example_v6.0' into 'release/v6.0'
esp_trace example library integration (v6.0)

See merge request espressif/esp-idf!49092
2026-06-29 15:35:30 +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
Mahavir Jain
4163417ff1 Merge branch 'feat/support_rom_psa_mbedtls_v6.0' into 'release/v6.0'
feat(mbedtls): enable ESP32-C2(Rev2.0) ROM mbedTLS crypto for PSA (v6.0)

See merge request espressif/esp-idf!48843
2026-06-29 11:22:33 +05:30
Erhan Kurubas
6cb1b59e7c feat(esp_trace): add example to demonstrate external lib integration 2026-06-26 14:12:09 +02:00
Zhang Shuxian
75f5ddfd44 docs: Update CN translation for idf-py.rst 2026-06-25 09:14:01 +02:00
Marek Fiala
57365fdfb4 docs(tools): update mcp-server docs for project_dir and create-project
- Server can now start from any directory, not just a valid project dir
- Document project_dir argument available on all tools
- Add create-project tool to the list of available tools

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-25 09:14:01 +02:00
Samuel Obuch
2bb8dfe213 docs(jtag-debugging): add semihosting chapter
Co-authored-by: Shen Mengjing <shenmengjing@espressif.com>
Co-authored-by: Zhang Shu Xian <zhangshuxian@espressif.com>
2026-06-22 13:02:29 +02:00
Jiang Guang Ming
3fdf8eba84 docs(mbedtls): update docs with CONFIG_MBEDTLS_USE_CRYPTO_ROM_IMPL 2026-05-25 10:08:05 +08:00
Mahavir Jain
9dd7a89fde docs(esp_psram): mirror carve-out review-feedback updates in zh_CN
Mirror the recent EN-side updates in the Chinese External RAM guide:

- Replace "PSRAM 顶部" with "PSRAM 上端(最高物理地址区)" to match the
  clarified wording on the EN side.
- Add the verification-helper pointer next to the heap_caps_malloc
  example so Chinese readers also learn about esp_psram_ptr_is_no_enc().

Also drop the :cpp:func: cross-reference for esp_psram_ptr_is_no_enc on
the EN side: esp_psram.h is not in any chip-specific Doxyfile, so
Sphinx/Breathe cannot resolve the reference. Use a plain inline code
literal instead, matching the existing reference style for
esp_psram_get_size and other esp_psram functions in the docs.
2026-05-21 20:54:31 +05:30
Mahavir Jain
77e85b886a docs(esp_psram): clarify carve-out location is at upper end of PSRAM
The previous wording "top of PSRAM" was ambiguous: the carve-out is
actually mapped at the highest physical addresses of PSRAM (after the
rodata, text, and main heap mappings). Update the Kconfig help text for
SPIRAM_ENC_EXEMPT and SPIRAM_ENC_EXEMPT_SIZE, the External RAM
documentation, and the internal layout comment to say "upper end of PSRAM
(highest physical addresses)" instead.
2026-05-21 20:54:31 +05:30
Mahavir Jain
ef7192fc73 feat(esp_psram): add esp_psram_ptr_is_no_enc() helper
Drivers that allocate from the unencrypted PSRAM carve-out via
MALLOC_CAP_SPIRAM_NO_ENC currently have no way to verify after the fact
which pool a buffer came from. This is particularly relevant for callers
using heap_caps_malloc_prefer(MALLOC_CAP_SPIRAM_NO_ENC, MALLOC_CAP_SPIRAM),
where a silent fallback to encrypted PSRAM would still pass the typical
esp_ptr_external_ram() check.

Expose esp_psram_ptr_is_no_enc() in the public esp_psram.h header. It
performs a range check against the carve-out's virtual-address window and
returns false when PSRAM is not initialized or CONFIG_SPIRAM_ENC_EXEMPT is
disabled, so callers do not need to guard the call site with #if.

Also reference the helper from the External RAM documentation alongside
the heap_caps_malloc(MALLOC_CAP_SPIRAM_NO_ENC) usage example.
2026-05-21 20:54:31 +05:30
Mahavir Jain
10d2d9cb9f docs(esp_psram): document MALLOC_CAP_SPIRAM_NO_ENC carve-out
Extends the External RAM encryption section to describe
CONFIG_SPIRAM_ENC_EXEMPT and the MALLOC_CAP_SPIRAM_NO_ENC heap
capability, including a security warning and a typical DMA-alignment
use case. Mirrors the change in zh_CN.
2026-05-21 20:54:30 +05:30
muhaidong
e000bfd1b7 fix(doc): gate 5 GHz min-channel note on SOC_WIFI_SUPPORT_5G 2026-05-12 19:22:54 +08:00
muhaidong
b565b34f3f fix(wifi): fix max connection number issue 2026-05-12 19:22:54 +08:00
Zhang Shuxian
744a55ac4a docs: Update CN translation for jtag-debugging 2026-05-11 12:17:00 +02:00
Samuel Obuch
a363781a0a docs(jtag-debugging): update OpenOCD flashing documentation 2026-05-11 12:17:00 +02:00
Jiang Jiang Jian
6a18d93382 Merge branch 'docs/clarify_sdkconfig_defaults_example_v6.0' into 'release/v6.0'
docs: clarify how SDKCONFIG_DEFAULTS cache variable works (v6.0)

See merge request espressif/esp-idf!47189
2026-04-30 16:26:09 +08:00
Marius Vikhammer
430b404637 Merge branch 'fix/issue-18391-psram-default-docs_v6.0' into 'release/v6.0'
docs: clarify PSRAM default allocation behavior (v6.0)

See merge request espressif/esp-idf!47053
2026-04-29 11:22:07 +08:00
Martin Vychodil
193cb862a1 Merge branch 'docs/update_fatfs_config_docs_v6.0' into 'release/v6.0'
docs(storage/fatfs): Refactor fatfs docs (v6.0)

See merge request espressif/esp-idf!47188
2026-04-28 23:27:25 +08:00
Marius Vikhammer
d11267de2b Merge branch 'docs/refresh-broken-links_v6.0' into 'release/v6.0'
docs: refresh broken documentation links (v6.0)

See merge request espressif/esp-idf!47493
2026-04-28 09:03:01 +08:00
Zhang Shuxian
d01df69c75 docs: Update CN translation for idf-py 2026-04-27 22:04:34 +08:00
Marek Fiala
46cc126c50 feat(tools): Restrict loading extension components to trusted sources 2026-04-27 22:04:34 +08:00
Zhang Shuxian
fbd1fab6b8 docs: Provide translation for configuration_structure.rst 2026-04-15 10:51:11 +02:00
Jan Beran
7b81b8e482 docs(kconfig): clarify how multiple renames work in sdkconfig.renames
Describe how multiple renames of one deprecated option to several new
options work.
2026-04-15 10:48:10 +02:00
Marius Vikhammer
2baddb3295 docs: refresh broken documentation links 2026-04-13 09:47:46 +08:00
Mahavir Jain
64c744abb7 docs: update PSRAM and flash encryption docs with per-page and separate key capabilities 2026-04-02 12:20:24 +05:30
renpeiying
b6cb59f4fe docs: Add CN translation 2026-03-31 15:14:14 +02:00
Jan Beran
9f1cb88d2f docs: clarify how SDKCONFIG_DEFAULTS cache variable works 2026-03-31 15:14:14 +02:00
Tomáš Rohlínek
7601f9b829 docs(storage/fatfs): Refactor FatFs documentation
# Conflicts:
#	docs/en/api-reference/storage/fatfs.rst
2026-03-31 14:15:31 +02:00
Marius Vikhammer
d09e551417 docs: clarify PSRAM default allocation behavior
Clarify that MALLOC_CAP_DEFAULT describes a memory capability
rather than the malloc() placement policy, so PSRAM-backed
capability allocations are documented correctly when malloc()
remains internal-only by default.

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

Made-with: Cursor
2026-03-27 10:05:28 +08:00
Wei Yu Han
495d6ece74 fix(docs): Updated BLE features support status
(cherry picked from commit ad43685220)

Co-authored-by: Wei Yuhan <weiyuhan@espressif.com>
2026-03-22 12:41:45 +08:00
Sudeep Mohanty
700c86d0c9 fix(cmakev2): Defer idf_component_optional_requires linking to library build time
This commit introduces a new build property, __OPTIONAL_REQUIRES_MODE,
and uses it to either defer or link immediately, optional requirements
to components that request such linkage via the
idf_component_optional_requires() function in build system v2. The
DEFERRED mode is intended for single-binary projects where in the linking
of optional components happens after the library target is created the
dependency graph is available to the build system, thereby allowing it to
behave like the v1 version of the function.
2026-03-20 08:13:27 +01:00