Tomas Rezucha
2859a9b24a
docs(sleep): Update light-sleep USB wake-up source
2026-07-03 15:04:33 +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
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
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
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
JiangGuangMing and Cursor
6020aec177
fix(usb): address wakeup example review comments
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-06-10 18:59:24 +08:00
JiangGuangMing
348c4a4f19
feat(docs): update docs for usb wakeup from light sleep example
2026-06-10 15:14:37 +08:00
Marius Vikhammer
ecb4123afd
Merge branch 'bugfix/int_wdt_default_psram' into 'master'
...
fix(iwdt): increased default timeout if using PSRAM
Closes IDFGH-17392
See merge request espressif/esp-idf!49425
2026-06-10 10:20:20 +08:00
Marius Vikhammer
a79f0e7eae
docs(ulp): clarify ULP FSM instruction cycle timing
...
Closes https://github.com/espressif/esp-idf/issues/4088
2026-06-09 17:44:18 +08:00
Marius Vikhammer
e3570108ac
fix(iwdt): increased default timeout if using PSRAM
...
Default timeout for interrupt WDT was increased by default
on ESP32, due to some heap integrity check APIs taking a long
time on large PSRAMs and causing timeouts.
But this adjustment was only done for ESP32, not later chips,
even though they may experience the same issue.
Adjusted to have the same behavior on all chips with PSRAM
enabled, making it consistant with the docs.
Closes https://github.com/espressif/esp-idf/issues/18360
2026-06-09 17:18:58 +08:00
hebinglin
46ff88717c
fix(ulp): fix lp uart keep wakeup triggered
2026-06-08 16:17:09 +08:00
Konstantin Kondrashov
7a573330b8
Merge branch 'feature/efuse_dump' into 'master'
...
feat(efuse): Support efuse token dump
Closes IDF-14046
See merge request espressif/esp-idf!41754
2026-06-05 11:15:30 +03:00
Konstantin Kondrashov
885097762f
feat(efuse): Support efuse token dump
...
- efuse token dump is compatible with espefuse tool
- EFSW dump can be burned on chip with esp_efuse_token_burn()
2026-06-03 13:19:59 +03:00
Konstantin Kondrashov
672736304c
feat(ipc_isr): adds IPC ISR safe API for other CPU stall API
2026-06-02 13:57:47 +03:00
He Binglin
3bf83125b4
Merge branch 'change/esp_idf_ext1_unhold' into 'master'
...
Optimize parts of the sleep wake-up flow
See merge request espressif/esp-idf!47322
2026-05-25 11:15:22 +08:00
hebinglin
23f6b5985a
change(esp_hw_support): disable flash pd in h4 h21 c5 c61
2026-05-22 12:30:44 +08:00
hebinglin
2e59c25ecb
docs(pm): add flash sleep strategy recommendations
2026-05-22 12:30:09 +08:00
hebinglin
418ffbe2a6
change(esp_pm): move timer wakeup set out of critical section
2026-05-22 11:45:21 +08:00
Wu Zheng Hui
91e66a8d19
Merge branch 'feat/support_io_edge_wakeup' into 'master'
...
feat(esp_hw_support): support rtc io edge wakeup sleep
Closes FCS-1880 and IDF-11812
See merge request espressif/esp-idf!48410
2026-05-20 19:37:35 +08:00
wuzhenghui
0bd5331db7
feat(doc): update docs for sleep gpio edge wakeup
2026-05-20 11:04:03 +08:00
Konstantin Kondrashov
1ced5355fd
feat(docs): Update efuse doc for H21
2026-05-19 15:38:19 +03:00
Konstantin Kondrashov
b0da67ab1d
feat(docs): Update efuse doc for H4
2026-05-19 15:17:50 +03:00
Gao Xu
69136606ab
Merge branch 'feat/s31_rng_basic_support' into 'master'
...
Feat/s31 rng support
Closes IDF-14632, WIFIBUG-1875, and TZ-2554
See merge request espressif/esp-idf!47217
2026-05-13 17:47:59 +08:00
gaoxu
07aaba7c7b
refactor(rng): move rng read data function to rng_ll.h and update docs of RNG source
2026-05-13 15:09:55 +08:00
Marius Vikhammer
c3ed3898eb
Merge branch 'feature/s31_lpcpu_pmp' into 'master'
...
feat(ulp): support lp-core PMP on ESP32-S31
Closes IDF-15240
See merge request espressif/esp-idf!48335
2026-05-12 11:14:20 +08:00
Marius Vikhammer
88b39e88c4
feat(ulp): support lp-core PMP on ESP32-S31
2026-05-12 09:20:30 +08:00
Shen Meng Jing
7b3b94e6af
Merge branch 'docs/sync_cn_and_en_docs' into 'master'
...
docs: Sync CN and EN docs missing the translation label
Closes DOC-14472
See merge request espressif/esp-idf!48241
2026-05-11 15:43:32 +08:00
Shen Mengjing
1e71307770
docs: Sync CN and EN docs missing the translation label
2026-05-11 14:08:45 +08:00
renpeiying
4e34ec5193
docs: Update CN translation for mm.rst
2026-05-07 17:17:02 +08:00
Jiang Jiang Jian
0c832c345a
Merge branch 'feat/add_auto_lightsleep_example' into 'master'
...
feat(example): add power management example
Closes PM-672
See merge request espressif/esp-idf!46051
2026-05-06 15:26:21 +08:00
Konstantin Kondrashov
6adb99a389
Merge branch 'feature/support_efuses_esp32s31' into 'master'
...
feat(efuse): Support efuses for ESP32S31
Closes IDF-14688
See merge request espressif/esp-idf!47986
2026-04-30 12:08:52 +03:00
Konstantin Kondrashov
c29532f98c
feat(efuse): Support efuses for ESP32S31
2026-04-29 15:50:32 +03:00
Marius Vikhammer
261bd160aa
feat(ulp): support placing ULP app in HP-RAM
2026-04-29 09:47:33 +08:00
Shen Meng Jing
06c2bc2048
Merge branch 'docs/update_cn_ram_usage_and_log' into 'master'
...
docs: Update CN translations for ram-usage.rst and log.rst
Closes DOC-14343
See merge request espressif/esp-idf!47813
2026-04-22 14:43:49 +08:00
Shen Mengjing
0aeccc1adf
docs: Update CN translations for ram-usage.rst and log.rst
2026-04-22 14:36:22 +08:00
Marius Vikhammer
10637dbf5e
feat(ulp): add support for ulp on esp32s31
2026-04-20 14:45:23 +08:00
Wu Zheng Hui
ec5f956516
Merge branch 'doc/fix_sleep_mode_doc' into 'master'
...
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
See merge request espressif/esp-idf!47362
2026-04-14 16:38:34 +08:00
wuzhenghui
4b874b58af
docs(system): update GPIO wakeup section for clarity on EXT0 and EXT1 support
2026-04-08 16:59:03 +08:00
renpeiying
6a6a25817b
docs: Update CN translation for intr_alloc
2026-04-07 14:19:54 +08:00
wuzhenghui
f4eca3c42f
feat(example): implement power management example for ESP chips
2026-04-07 10:29:45 +08:00
Marius Vikhammer
c1256efd67
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-25 15:35:21 +08:00
Mahavir Jain
229a8a78fb
docs: clarify anti-rollback secure version bits for c2/c5
2026-03-23 16:21:26 +05:30
Wu Zheng Hui
8220859330
Merge branch 'fix/fix_esp32_int_wdt_workaround_break_sleep_process' into 'master'
...
fix(esp_system): disable esp32 cache livelock int_wdt workaround in ipc_isr_stall
Closes IDFCI-7791
See merge request espressif/esp-idf!45645
2026-03-18 19:07:17 +08:00
wuzhenghui
ce6f23e11e
feat(doc): add docs for sleep console UART handling strategies
2026-03-18 11:29:55 +08:00
renpeiying
f25237145a
docs: Add Chinese translation
2026-03-16 22:09:47 +05:30
Konstantin Kondrashov
658fbfcb0e
Merge branch 'doc/mac_doc_update_esp32p4' into 'master'
...
fix(doc): Update MAC-address related documentation for ESP32-P4
Closes IDFGH-17141
See merge request espressif/esp-idf!45933
2026-03-11 03:31:14 +02:00
Krzysztof
8ad2be7980
docs(debugging): Add debug helpers API reference
2026-03-09 11:06:22 +08:00
Shen Mengjing
e8618a531b
docs: Update CN translation for misc_system_api.rst
2026-03-06 14:28:32 +02:00
hebinglin
01fa2032a6
feat(doc): add uart wakeup migration guides
2026-03-06 11:23:27 +08:00