Commit Graph

1751 Commits

Author SHA1 Message Date
Jiang Jiang Jian
cc5a3fbcb5 Merge branch 'feat/psram_enc_exempt_v5.5' into 'release/v5.5'
feat(esp_psram): add option to carve unencrypted PSRAM region (v5.5)

See merge request espressif/esp-idf!49931
2026-07-16 17:04:28 +08:00
wuzhenghui
1b3d83528b change(heap): reserve DMA pool with low priority MALLOC_CAP_DEFAULT caps 2026-07-09 17:33:25 +08:00
Mahavir Jain
d8f79c427b 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-06-23 14:56:41 +05:30
Mahavir Jain
6d51abfc4c 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-06-23 14:56:41 +05:30
Mahavir Jain
afdf1a5259 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-06-23 14:56:40 +05:30
Mahavir Jain
ba69281a01 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-06-23 14:56:39 +05:30
Samuel Obuch
c33de7ac03 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:14:12 +02:00
Fu Hanxi
c433cb7bd2 Merge branch 'ci/stable-build-jobs-v5.5' into 'release/v5.5'
Ci/stable build jobs v5.5

See merge request espressif/esp-idf!48716
2026-05-21 10:16:53 +02:00
Fu Hanxi
6717c915d9 feat(build): support env var IDF_PY_BUILD_JOBS for ninja jobs 2026-05-20 09:43:34 +08:00
muhaidong
81fa030c00 fix(wifi): update auth mode threshold doc 2026-05-19 21:12:11 +08:00
muhaidong
fce13679a0 fix(doc): gate 5 GHz min-channel note on SOC_WIFI_SUPPORT_5G 2026-05-19 21:12:11 +08:00
muhaidong
c4b31cd2e8 fix(doc): update the soft-AP max_connection documentation 2026-05-19 21:12:11 +08:00
Zhang Shuxian
95e7cdc6cf docs: Update CN translation for jtag-debugging 2026-05-12 14:33:42 +02:00
Samuel Obuch
f640231272 docs(jtag-debugging): update OpenOCD flashing documentation 2026-05-12 14:33:42 +02:00
Jiang Jiang Jian
31fea0455a Merge branch 'docs/update_c2_feature_status_v5.5' into 'release/v5.5'
fix(docs): Updated BLE features support status (5.5)

See merge request espressif/esp-idf!46859
2026-04-17 11:14:32 +08:00
Marius Vikhammer
b9ca3e3052 docs: refresh broken documentation links 2026-04-13 09:48:27 +08:00
renpeiying
89469e191c docs: Add CN translation 2026-03-31 15:14:28 +02:00
Jan Beran
13a643670a docs: clarify how SDKCONFIG_DEFAULTS cache variable works 2026-03-31 15:14:28 +02:00
morris
e4de37c194 Merge branch 'change/deprecate_tcm_and_use_scp_v5.5' into 'release/v5.5'
tcm: deprecated tcm and added scp memory utils (v5.5)

See merge request espressif/esp-idf!46590
2026-03-31 15:12:08 +08:00
Jiang Jiang Jian
ca7e3bbb99 Merge branch 'docs/update_unit_test_v5.5' into 'release/v5.5'
docs: Add related documentation for unit test (v5.5)

See merge request espressif/esp-idf!46443
2026-03-31 10:47:55 +08:00
Jiang Jiang Jian
5408e1b08d Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20260304_v5.5' into 'release/v5.5'
feat(tools): update openocd version to v0.12.0-esp32-20260304 (v5.5)

See merge request espressif/esp-idf!46364
2026-03-31 10:46:53 +08:00
armando
0cb42beabf fix(spm): rename scp (scratchpad) to spm (scratchpad memory) 2026-03-31 09:24:53 +08:00
armando
55c462ccab change(mem): deprecated tcm and added scp memory utils 2026-03-31 09:22:11 +08:00
Mahavir Jain
ff249f532f Merge branch 'bugfix/external_mem_enc_docs_v5.5' into 'release/v5.5'
docs: update PSRAM and flash encryption docs with per-page and separate key capabilities (v5.5)

See merge request espressif/esp-idf!46956
2026-03-30 11:46:30 +05:30
Shen Mengjing
485e8c1007 docs: Add related documentation for unit test 2026-03-27 10:39:43 +08:00
Marius Vikhammer
d3a1700039 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:54 +08:00
Mahavir Jain
1b9b001f23 docs: update PSRAM and flash encryption docs with per-page and separate key capabilities 2026-03-24 12:54:59 +05:30
Wei Yu Han
96f7217b5b 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:43 +08:00
Samuel Obuch
180bf1c327 docs(jtag-debugging): update program_esp parameters for new OpenOCD version 2026-03-12 08:50:23 +01:00
Jack
5ab4636572 fix some issues found by Opus 4.5 2026-03-12 11:41:35 +08:00
Zhang Shuxian
d267475aed docs: Update CN translation for JTAG debugging 2026-03-04 00:29:01 +08:00
Samuel Obuch
805bc7b2ce fix(docs): unlimited number of sw breakpoints available for riscv targets 2026-03-04 00:29:01 +08:00
Samuel Obuch
8eb7d3285e fix(docs): add missing USB pins 2026-03-04 00:29:01 +08:00
Alexey Gerenkov
0c7eac2565 Merge branch 'feature/picolibc_v5.5' into 'release/v5.5'
feat(build): add Picolibc support (v5.5)

See merge request espressif/esp-idf!44108
2026-02-26 18:12:58 +08:00
Roland Dobai
847ee14822 Merge branch 'fix/minimal_build_no_main_v5.5' into 'release/v5.5'
fix(build): ensure the main component exists when MINIMAL_BUILD is enabled (v5.5)

See merge request espressif/esp-idf!45916
2026-02-19 09:43:00 +01:00
Frantisek Hrbata
4818b0b2c5 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-19 06:19:25 +01:00
Jan Beran
60f0272c13 docs(kconfig): explain how config options get their values 2026-02-02 14:46:51 +01:00
Alexey Lapshin
0b3929d0d9 feat(esp_libc): add full support for picolibc 2026-01-30 23:39:53 +07:00
Alexey Gerenkov
275b2817ac Merge branch 'update_jtag_docs_v5.5' into 'release/v5.5'
Update jtag docs (v5.5)

See merge request espressif/esp-idf!44887
2026-01-21 23:07:07 +08:00
Martin Vychodil
bc31174c58 Merge branch 'feat/nvs_iteration_statistics_examples_v5.5' into 'release/v5.5'
feat(examples/storage): add nvs statistics and iteration examples (v5.5)

See merge request espressif/esp-idf!43661
2026-01-20 20:09:39 +08:00
Marek Fiala
a0685f893f docs(tools): Updated argument via file with quotations
Closes https://github.com/espressif/esp-idf/issues/18077
2026-01-19 16:15:43 +01:00
muhaidong
76ab9e82c2 docs(wifi): update wifi fragment doc 2026-01-14 19:31:53 +08:00
Island
8c7d8254a4 Merge branch 'docs/add_ble_multiconnection_guide_latest_v5.5' into 'release/v5.5'
docs(ble): Added BLE Multi Connection Guide (v5.5)

See merge request espressif/esp-idf!44601
2026-01-14 13:59:22 +08:00
Li Shuai
cf8ab3c7a4 docs(Power Management): support esp32c5 system and wifi low power programming guide docs 2026-01-09 12:03:22 +08:00
Erhan Kurubas
a9a379084d docs(jtag): document program_esp_bins command 2026-01-07 21:46:23 +03:00
Island
41bcb1746f Merge branch 'feat/ble_mesh_dfu_supported_v5.5' into 'release/v5.5'
Feat/ble mesh dfu supported v5.5

See merge request espressif/esp-idf!44132
2025-12-29 15:37:35 +08:00
Wei Yu Han
5931eb2908 docs(ble): Added BLE Multi Connection Guide
(cherry picked from commit 80905af2f0)

Co-authored-by: Wei Yuhan <weiyuhan@espressif.com>
2025-12-26 15:52:33 +08:00
luoxu
16d9fcf460 feat(ble_mesh): dfd client/server supported 2025-12-26 11:56:40 +08:00
luoxu
f19c2a36f2 feat(ble_mesh): Adapt DFU/MBT to esp-idf 2025-12-26 11:56:40 +08:00
Zhang Hai Peng
540b6bad34 docs: Update CN translation and improve formatting
(cherry picked from commit feff20614e)

Co-authored-by: Zhang Shuxian <zhangshuxian@espressif.com>
2025-12-11 16:21:48 +08:00