Commit Graph

8391 Commits

Author SHA1 Message Date
Hu Rui
03cf5bb45a Merge branch 'refactor/driver_dac_common' into 'master'
refactor(dac): improve the DAC driver

See merge request espressif/esp-idf!48212
2026-07-01 13:36:23 +08:00
morris
a4fac3bed7 Merge branch 'feat/async_color_convert_scramble' into 'master'
feat(dma2d): support RGB24 and BGR24 scramble conversion

Closes IDF-15802

See merge request espressif/esp-idf!49814
2026-06-29 14:44:32 +08:00
Frantisek Hrbata
4cc2d22c48 Merge branch 'docs/cmakev2-build-system-v2' into 'master'
docs(cmakev2): Restructure build system v2 documentation into a guide

Closes IDF-15079 and IDF-15475

See merge request espressif/esp-idf!49781
2026-06-29 07:36:01 +02:00
Michael (XIAO Xufeng)
c1b218b640 Merge branch 'fix/mmap_cache_flash_wr' into 'master'
fix(mmap): fixed mmap read data wrong when flash being erased/written and cache not disabled

Closes IDFGH-14084

See merge request espressif/esp-idf!29804
2026-06-29 11:44:10 +08:00
morris
624a21f359 feat(dma2d): support RGB24 and BGR24 scramble conversion
Add async color convert coverage for direct RGB24/BGR24 byte-order swaps
and
thread both TX and RX CSC state through DMA2D transactions for future
extensibility.
2026-06-28 17:07:18 +08:00
renpeiying
1977b8a7cd docs: Update contribution docs 2026-06-26 19:44:28 +08:00
Roland Dobai
11f6f79697 docs: Improve the Python contribution guide 2026-06-26 19:44:28 +08:00
Dai Zi Yan
f81548d5bd Merge branch 'docs/fix_broken_links' into 'master'
docs: fix broken links to the older versions of IDF

Closes DOC-14856

See merge request espressif/esp-idf!49861
2026-06-26 08:55:35 +00:00
Tomas Rohlinek
dfd2e6b6f7 fatfs: add read_only flag to esp_vfs_fat_mount_config_t 2026-06-26 09:16:26 +02:00
Hu Rui
3de0e061c1 refactor(dac): improve the DAC driver 2026-06-26 13:45:38 +08:00
Marius Vikhammer
2f73018450 Merge branch 'docs/ulp_fsm_instruction' into 'master'
docs(ulp): clarify ULP FSM instruction cycle timing

Closes IDFGH-1885

See merge request espressif/esp-idf!49430
2026-06-25 21:03:12 +08:00
Roland Dobai
c2e931b1b1 Merge branch 'docs/eim-homebrew-support' into 'master'
docs: Add Homebrew installation instructions for EIM on Linux

Closes DOC-14831

See merge request espressif/esp-idf!46916
2026-06-25 08:14:31 +02:00
Meet Patel
d51e467e7c Merge branch 'feature/add_kasan_support' into 'master'
feat(kasan): add Kernel Address Sanitizer (KASAN) support for ESP-IDF

Closes IDF-13467

See merge request espressif/esp-idf!48106
2026-06-25 11:30:48 +05:30
Zhang Shuxian
bce32e9a7f docs: Update translation for homebrew installation 2026-06-25 11:29:35 +08:00
Petr Gadorek
e1214936bc docs: Add Homebrew installation instructions for EIM on Linux 2026-06-25 10:29:41 +08:00
morris
dc18ddc582 Merge branch 'feat/ppa_example_test' into 'master'
examples/ppa: refactor RGB demo to remove LCD dependency

Closes IDF-15828

See merge request espressif/esp-idf!49878
2026-06-24 23:08:27 +08:00
Zhang Shuxian
320ea43509 docs: Update CN translation for idf-py.rst 2026-06-24 18:46:39 +08:00
Marek Fiala
33924459ab 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-24 18:46:39 +08:00
Radek Tandler
7a8c1afbe2 Merge branch 'docs/storage_c61_support' into 'master'
docs(storage): removed non-updated docs refs for C61

Closes IDF-10165

See merge request espressif/esp-idf!47108
2026-06-24 10:45:01 +02:00
morris
d59e7cf1e6 feat(ppa): refactor PPA example and improve test coverage
also removed its dependency on the LCD driver
2026-06-24 16:43:17 +08:00
Frantisek Hrbata
f8adfd176e docs(cmakev2): Restructure build system v2 documentation into a guide
Split the single build-system-v2 page into a landing page that dispatches
to focused how-to guides (creating a project, creating components,
configuring dependencies, third-party libraries, ESP-IDF as a library,
multiple binaries) and reference pages (design and architecture, breaking
changes, and the generated API reference). Mirror the new structure on
zh_CN and update the API Guides table of contents.

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
2026-06-24 09:13:01 +02:00
renpeiying
1391610566 docs: Update hmac CN translation 2026-06-24 14:49:45 +08:00
Meet Patel
383e9adb82 feat(kasan): add Kernel Address Sanitizer (KASAN) support for ESP-IDF
Add KASAN support for detecting heap memory safety bugs (buffer
overflows, underflows, use-after-free) at runtime using compiler
instrumentation and shadow memory. Gated behind
CONFIG_IDF_EXPERIMENTAL_FEATURES, with touch points kept to esp_system
and heap so other components stay untouched.

- Core runtime (esp_system/kasan.c, esp_kasan.h): nibble-based shadow
  memory in DRAM, poison/unpoison, per-access validation, and __asan_*
  stubs; hot-path stubs in IRAM so they stay valid with the flash cache
  off. Shadow init runs before heap bring-up.
- Heap integration (heap/heap_kasan*.c): alloc/free hooks add redzones,
  a quarantine FIFO, and shadow updates.
- Panic handling: disable checks once at the panic handler entry so
  backtrace and stack dumps can read redzones without nested reports.
- Build system: -fsanitize=kernel-address for app code, with HAL, SoC,
  esp_rom, SPI flash, esp_hw_support, bootloader_support, FreeRTOS, and
  heap internals excluded from instrumentation.
- Test app (tools/test_apps/system/kasan_test): Unity tests for
  overflow, underflow, use-after-free, and all sized __asan_* stubs,
  with halt and no-halt configurations.
- Docs: document KASAN in the heap memory debugging guide (EN and CN).
2026-06-24 11:27:00 +05:30
renpeiying
c0ab9f7388 docs: Update chatbot project name for esp-idf 2026-06-23 15:09:15 +08:00
morris
ecd6425701 Merge branch 'bugfix/sdio_slave_buffer_size_limit' into 'master'
fix(sdio_slave): align buffer size checks with descriptor limits

See merge request espressif/esp-idf!49853
2026-06-22 21:15:38 +08:00
Samuel Obuch
b604e133eb Merge branch 'docs/add_semihosting_chapter' into 'master'
docs(jtag-debugging): add semihosting chapter

Closes IDF-15033

See merge request espressif/esp-idf!48709
2026-06-22 12:55:06 +02:00
Samuel Obuch
71e057cfca 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 12:55:06 +02:00
daiziyan
cc95341a9c docs: fix broken links to the older versions of IDF 2026-06-22 16:23:05 +08:00
Wang Ning
be650228e8 Merge branch 'docs/add_idf_install_flowchart' into 'master'
docs: add flowchart for get-started

Closes DOC-13969

See merge request espressif/esp-idf!47477
2026-06-22 16:10:35 +08:00
Juraj Michalek
0f909d01e9 docs: add idf.py wokwi command documentation 2026-06-22 15:59:25 +08:00
Wang Ning
79fbf6b2d4 docs: add flowchart for get-started 2026-06-22 15:14:55 +08:00
morris
4814514c26 fix(sdio_slave): align buffer size checks with descriptor limits
Define per-target SDIO slave descriptor buffer limits in the LL layer and validate queued send buffers against the 4-byte aligned effective maximum. Update the public docs to describe the chip-dependent limit instead of hardcoding 4092 bytes.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-22 11:33:10 +08:00
morris
9636c5a05c Merge branch 'refactor/jpeg_encoder_example' into 'master'
feat(jpeg): simplify encode example and add pytest coverage

See merge request espressif/esp-idf!49667
2026-06-20 22:49:24 +08:00
Martin Vychodil
2573bf3988 Merge branch 'feat/bdl_ioctl_checker' into 'master'
feat(esp_blockdev): add build-time ioctl command reservation overlap checker

Closes IDF-15799

See merge request espressif/esp-idf!49670
2026-06-19 12:40:28 +08:00
Mahavir Jain
3c40268442 Merge branch 'feat/psa_its_custom_backend' into 'master'
Support custom storage backend for persistent PSA keys

Closes IDF-15506

See merge request espressif/esp-idf!47106
2026-06-18 18:13:09 +05:30
Wu Zheng Hui
344edcd13f Merge branch 'feat/skip_spinlock_in_sleep_process_thread_safe_area' into 'master'
feat:skip spinlock in sleep process thread safe context

Closes PM-779

See merge request espressif/esp-idf!49246
2026-06-18 15:57:32 +08:00
harshal.patil
3494df8c85 feat(mbedtls): Support custom storage backend for persistent PSA keys 2026-06-18 09:37:15 +05:30
Mahavir Jain
bf51d194fe Merge branch 'update/update_cmn_crt_authorities_csv' into 'master'
Update common cert authorities csv

See merge request espressif/esp-idf!49372
2026-06-18 09:30:11 +05:30
wuzhenghui
90f6eeb327 feat(freertos): introduce thread-safe context management functions 2026-06-18 09:41:39 +08:00
Jiang Jiang Jian
41a7095015 Merge branch 'feat/support_usb_wakeup_from_light_sleep' into 'master'
feat: support usb wakeup from light sleep

Closes IDF-7212

See merge request espressif/esp-idf!48988
2026-06-17 19:50:11 +08:00
Liu Linyan
bade32f3eb docs(ble_audio): Adopt SIG product name and add LE Audio API guide entry 2026-06-17 14:51:17 +08:00
Wan Lei
28044f8fdb Merge branch 'feat/twaifd_support_tx_priority_time_trigger' into 'master'
feat(driver_twai): fd hardware support tx priority

Closes IDF-13157

See merge request espressif/esp-idf!48595
2026-06-16 19:45:04 +08:00
Tomáš Rohlínek
a9f545bcea feat(esp_blockdev): add build-time ioctl command reservation overlap checker 2026-06-16 11:38:22 +02:00
morris
42b84667e0 docs(dma2d): added async color convert programming guide 2026-06-16 15:01:23 +08:00
Xiao Xufeng
789ce684c9 fix(mmap): fixed some API read wrong data via mmap when flash being erased/written while XIP on PSRAM
Before:

The cache won't be disabled when XIP on psram. But during flash
erasing/programming, read data will be courrupt.

When XIP in psram is enabled, the image is not mapped to the cache so
usually there will be no flash access. The only way to read from flash
is via the driver or use mmap. The driver has protection during erasing,
while th mmap region not.

Now:

Mmap APIs provide a flag to make mmap->unmap region mutually exclusive
to flash erase/programming when XIP from psram. SPI Flash write APIs
will benefit from this. When the flag is used, no concurrent access to
mapped region will happen while writing; otherwise the cache will be
disable to avoid data corruption.

Most ESP-IDF APIs calls mmap with this flag. As for users calling
mmap-like APIs directly, they can choose whether to enable this by a
flag.

Closes https://github.com/espressif/esp-idf/issues/14897
2026-06-16 01:00:43 +08:00
wanckl
e781366a94 feat(driver_twai): add prioritized TX queue support 2026-06-15 20:39:10 +08:00
morris
ccc29524fb feat(jpeg): simplify encode example and add pytest coverage
Embed a 720p BGR raw asset and stream the encoded JPEG over UART so
this example no longer depends on SD card setup.

Add pytest coverage that reconstructs the JPEG from base64 output and
compares it against a checked-in golden image.
2026-06-15 18:52:23 +08:00
Ashish Sharma
e6f5f5ff63 fix(mbedtls/port): add additional hardening for PSA drivers 2026-06-15 16:10:09 +05:30
Hu Rui
94627542f9 fix(touch): enable touch deep sleep on esp32-s31 2026-06-12 14:13:56 +08:00
Zhang Shu Xian
c9e7f70d3f Merge branch 'docs/update_translation_for_host_apps' into 'master'
docs: Update CN translation for host-apps.rst

Closes DOC-14847

See merge request espressif/esp-idf!49566
2026-06-12 11:56:16 +08:00