wuzhenghui
33f5b9a5fb
feat(esp_hw_support): check psram data is not corrupted after lightsleep
2026-06-18 16:06:00 +08:00
Guillaume Souchere
2b2d3f73f6
fix(esp_system): PSRAM stack crash in esp_restart_noos on RISC-V chips
...
On RISC-V chips with SPIRAM support (esp32c5, esp32c61, esp32h4, esp32p4,
esp32s31), esp_restart_noos() was disabling the cache while the current
stack pointer could still be in external RAM. Any stack access after cache
disable (function call, local variable spill) would then fault with
"Cache disabled but cached memory region accessed".
Xtensa chips (esp32, esp32s2, esp32s3) already had this guard via the
SET_STACK macro. Add the equivalent for RISC-V:
- Add rv_utils_set_sp() to riscv/rv_utils.h (plain "mv sp, %0" with a
memory clobber; no window register management needed on RISC-V)
- In each affected system_internal.c, under
CONFIG_FREERTOS_TASK_CREATE_ALLOW_EXT_MEM, check whether the current
SP is in PSRAM and if so switch it to the top of internal BSS before
any cache disable or writeback operation
- Fix xTaskCreateStaticPinnedToCore() stack size argument in the
spiram_stack test (was passing bytes instead of word count)
- Mark the null-pointer write in func_do_exception() as volatile to
prevent the compiler from optimizing it away
- Extend the [spiram_stack] tests to RISC-V by sharing fibonacci() and
the task/finish helpers across architectures, guarding only the
Xtensa-specific WINDOWBASE/WINDOWSTART prints
2026-05-12 08:15:19 +02:00
Fu Hanxi and Copilot
3cefdfb703
ci: rename eco tags to revision
...
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com >
2026-04-09 10:58:07 +02:00
Fu Hanxi
124a1d3b82
ci: backport master to 5.5
2026-02-25 11:38:38 +01:00
hebinglin
17c110d640
change(esp_driver): set cases with toppd check only run in esp32c5eco3 rather than eco2
2026-01-15 17:04:17 +08:00
hebinglin
902d13d489
change(esp_hw_support): remove sleep_mmu_retention related flow for esp32c5 eco1
2026-01-15 17:04:17 +08:00
hebinglin
69ced7c670
revert(unit-test): filter top domain power down check for some sleep test cases
...
This reverts commit c6c2948a99 .
2026-01-15 17:04:17 +08:00
Jiang Jiang Jian
a5cc517d31
Merge branch 'fix/core_system_fixes_for_p4_eco5_v5_5' into 'release/v5.5'
...
Core System fixes for p4 eco5 (v5.5)
See merge request espressif/esp-idf!43726
2025-12-02 19:56:22 +08:00
Xiao Xufeng
09aafffb2e
esp_system: increase bootloader partition size in examples using framepointer
2025-12-01 15:31:44 +08:00
Sudeep Mohanty
ccab591764
ci(esp_system): Re-enable esp_system tests for esp32p4
2025-11-27 11:20:43 +05:30
armando
cdff2570c7
ci(p4): disable p4 rev3 invalid tests temporarily
2025-11-20 11:33:36 +08:00
Konstantin Kondrashov
37ebf6793e
feat(ipc): Allow IPC recursion calls in esp_ipc_call
2025-10-20 14:25:24 +08:00
Jiang Jiang Jian
cd7c97e6eb
Merge branch 'disable_esp32c61_test_v5.5' into 'release/v5.5'
...
ci(change): disable esp32c61 tests
See merge request espressif/esp-idf!39656
2025-06-17 14:08:56 +08:00
Li Shuai
693a5393b2
change(unit-test): filter top domain power down check for some sleep test cases
2025-06-05 22:08:34 +08:00
Erhan Kurubas
0170c56e04
ci(change): disable esp32c61 tests
2025-06-04 11:11:05 +02:00
Marius Vikhammer
4ea1facb42
Merge branch 'feature/esp32h21_core_support' into 'master'
...
feat(esp32h21): added support for misc core system features
Closes IDF-12042, IDF-11598, IDF-11596, IDF-11874, IDF-11873, IDF-11528, and IDF-11511
See merge request espressif/esp-idf!38773
2025-04-29 14:53:52 +08:00
Marius Vikhammer
1256078ea2
feat(esp32h21): added support for misc core system features
2025-04-28 11:42:25 +08:00
Marius Vikhammer
298da837fd
feat(system): updated reset reasons for H21
2025-04-27 16:11:24 +08:00
armando
1abe57c987
test(system): increased 200B memory leak thresh due to mmu mmap mutex
...
200B to extend the thresh, real increase to the memory usage will be smaller
2025-04-14 10:45:40 +08:00
Chen Jichang
c34b4eb882
feat(esp32h4): enable ESP32H4 ci build
2025-03-28 14:41:28 +08:00
Marius Vikhammer
12e9d6514a
fix(console): fixed secondary console not working on all chips without VFS
2025-03-07 14:41:19 +08:00
igor.udot
daf2d31008
test: format all test scripts
2025-03-05 12:08:48 +08:00
wanckl
cfe4bf339f
feat(driver_gptimer): esp32h21 add basic gptimer support
2025-02-21 20:22:41 +08:00
Wu Zheng Hui
e95103aa56
Merge branch 'fix/add_sleep_duration_check_for_timer_wakeup' into 'master'
...
fix(esp_hw_support): add timer wakeup sleep duration check
Closes IDFGH-14485
See merge request espressif/esp-idf!36793
2025-02-13 10:42:58 +08:00
wuzhenghui
dc93eb533a
fix(esp_hw_support): add timer wakeup sleep duration check
...
Closes https://github.com/espressif/esp-idf/issues/15255
2025-02-07 19:43:54 +08:00
gaoxu
5ef4f20778
feat(esp32h21): disable unsupported build test
2025-02-06 15:47:51 +08:00
Omar Chebib
52b558d218
Merge branch 'feature/enable_fp_backtracing' into 'master'
...
feat(riscv): implement frame pointer option for backtracing
See merge request espressif/esp-idf!32342
2025-01-13 18:11:49 +08:00
Song Ruo Jing
486c95557a
Merge branch 'bugfix/gpio_8_16_bit_access' into 'master'
...
feat(gpio): add gpio_config_as_analog() API
Closes IDF-10247 and IDFGH-12754
See merge request espressif/esp-idf!35856
2025-01-10 15:14:19 +08:00
Omar Chebib
d6cd339e46
fix: take into account MR comments
2025-01-09 11:57:02 +08:00
Song Ruo Jing
3fde2017cd
refactor(rtcio): update comments for rtc_io header file
...
Closes https://github.com/espressif/esp-idf/issues/13735
2025-01-08 16:49:34 +08:00
Armando
4c869d1f23
feat(mspi): mspi axi disable feature
2025-01-07 16:16:06 +08:00
Tomáš Rohlínek
d5d295cf7a
fix(storage/console): fix test configuration
2024-11-28 13:34:25 +01:00
Tomáš Rohlínek
f59362266a
fix(storage/vfs_console): stop new console opens from overwriting existing fds
2024-11-28 13:12:22 +01:00
Marius Vikhammer
9c5dde5536
refactor(panic): refactor and unify cache panic errors
2024-11-07 11:39:40 +08:00
morris
d93a25d1fb
feat(etm): add driver support for esp32c61
2024-10-12 11:18:36 +08:00
morris
aebf700919
refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos
2024-10-09 13:32:03 +08:00
Marius Vikhammer
35a6671072
Merge branch 'feature/c6_misc_core' into 'master'
...
feat(system): misc core-system C61 bringup changes
Closes IDF-10954, IDF-10986, IDF-10957, IDF-9281, and IDF-9257
See merge request espressif/esp-idf!33297
2024-09-12 09:46:30 +08:00
Marius Vikhammer
40352943e3
ci(system): re-enable system test app for C61
2024-09-11 14:05:11 +08:00
wuzhenghui
13e42707a0
feat(esp_hw_support): add clk tree source gate management api
2024-09-11 10:53:01 +08:00
wuzhenghui
71fb3d2f31
fix(esp_system): fix test rodata being prefetched into cache unexpectedly
2024-09-11 10:53:00 +08:00
wanckl
4e095f4b9f
ci(esp32c61): enable c61 generic target test
2024-09-02 19:26:12 +08:00
Lou Tianhao
4393343ac9
fix(ci): some actions taken to pass ci
2024-08-29 14:15:41 +08:00
Marius Vikhammer
69ca6e49a7
test(console): add tests for console with vfs disabled
2024-08-12 10:01:04 +08:00
Armando
36f601b459
test(cache): cache panic test app
2024-08-08 10:38:02 +08:00
wuzhenghui
55219ba7f4
change(esp_hw_support): add case to test PSRAM survives after lightsleep
2024-08-05 13:21:09 +08:00
wuzhenghui
819680ff9b
change(esp_hw_support): reorder light/deep sleep test cases and wrapper with corresponding support macros
2024-08-05 13:21:08 +08:00
igor.udot
b0e8ce0111
ci: replace pytest function for linux target
2024-07-23 14:07:31 +08:00
wanlei
3cf069c7d8
feat(esp32c61): disable unsupported build test
2024-07-16 16:06:19 +08:00
morris
863344f769
feat(etm): support etm driver on esp32c5
2024-07-12 10:53:12 +08:00
Marius Vikhammer
fd18bb608b
test(misc): enable misc tests that have been missed during bringup
2024-06-28 13:24:28 +08:00