Meet Patel
2a8abd78fc
test(freertos): expand IDF additions test coverage
...
Improve coverage of idf_additions.h task utility APIs and correct
WithCaps delete usage in existing tests to avoid heap leaks.
2026-07-16 11:04:33 +02:00
Jiang Jiang Jian
aa137bacfd
Merge branch 'fix/freertos_delete_with_caps_smp_race_v5.5' into 'release/v5.5'
...
fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel (v5.5)
See merge request espressif/esp-idf!48601
2026-06-03 10:29:20 +08:00
Sudeep Mohanty
609ef78371
fix(freertos): close vTaskDeleteWithCaps cross-core delete race on SMP preview kernel
...
Replace the eTaskGetState() polling guard in prvTaskDeleteWithCaps()
with a per-core xTaskGetCurrentTaskHandleForCore() check, so the
predicate matches vTaskDelete()'s immediate-vs-deferred decision. This
closes the taskTASK_SCHEDULED_TO_YIELD race against the IDLE-deferred
TCB cleanup on the SMP preview kernel; behaviour is unchanged on the
default IDF kernel and on single-core targets.
2026-05-15 15:30:06 +02:00
Jonas Jonsson
dc5ae69a23
fix(freertos): Avoid core switch deadlock on start
...
With CONFIG_ESP_MAIN_TASK_AFFINITY_NO_AFFINITY=y the main task could
switch core between registering the idle hook and the while loop.
This would cause a deadlock were the current task was waiting for the
idle hook to run on the same core it's busy waiting.
Merge https://github.com/espressif/esp-idf/pull/16149
2026-05-15 11:25:51 +03:00
Jiang Jiang Jian
d9b0dab8f9
Merge branch 'fix/malloc_cap_iram_8bit_access_in_loop_v5.5' into 'release/v5.5'
...
fix(esp32): Fix access to MALLOC_CAP_IRAM_8BIT byte array in loop (v5.5)
See merge request espressif/esp-idf!46419
2026-05-06 10:29:09 +08:00
Konstantin Kondrashov
ae11eba923
fix(freertos): fix riscv pxEndOfStack offset alignment
...
Closes https://github.com/espressif/esp-idf/issues/18256
2026-05-01 15:50:29 +03:00
Konstantin Kondrashov
5ea2823c7c
fix(esp32): Fix access to MALLOC_CAP_IRAM_8BIT byte array in loop
...
The Xtensa load/store handler did not properly handle 8/16-bit
memory access to IRAM regions configured with MALLOC_CAP_IRAM_8BIT
(and CONFIG_ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY=y) from a loop
(LBEG/LEND/LCOUNT) context. This caused the loop to exit after
the first access, instead of continuing to iterate as intended.
Closes https://github.com/espressif/esp-idf/issues/14127
2026-05-01 12:46:26 +03:00
Jiang Jiang Jian
4bfd49dd66
Merge branch 'fix/esp32_iram_as_8bit_access_from_isr1_v5.5' into 'release/v5.5'
...
fix(xtensa): Fix ESP32_IRAM_AS_8BIT_ACCESSIBLE_MEMORY mode for ISR1 (v5.5)
See merge request espressif/esp-idf!46417
2026-04-24 15:27:46 +08:00
Sudeep Mohanty
8058028cae
test(freertos): harden mutex owner assert reset test
2026-04-16 21:18:14 +08:00
Sudeep Mohanty
11569c0e3d
fix(freertos): hide mutex-owner check config
2026-04-16 21:18:14 +08:00
Marius Vikhammer
b9ca3e3052
docs: refresh broken documentation links
2026-04-13 09:48:27 +08:00
Konstantin Kondrashov
152febebab
fix(esp32): Fix IRAM_AS_8BIT_ACCESSIBLE_MEMORY accessible from ISR1
2026-04-07 14:47:43 +08:00
Jiang Jiang Jian
7c2904e36d
Merge branch 'task/fix_flaky_freertos_psram_test_v5.5' into 'release/v5.5'
...
fix(freertos): Fix flaky PSRAM tests for freertos (v5.5)
See merge request espressif/esp-idf!46925
2026-03-31 10:50:06 +08:00
Alexey Gerenkov
752c01ece0
Merge branch 'feature/refactor_linker_scripts_v5.5' into 'release/v5.5'
...
feat(esp_system): refactor linker scripts to reduce duplicated code (v5.5)
See merge request espressif/esp-idf!45729
2026-03-30 21:19:53 +08:00
Fu Hanxi
06df177352
Merge branch 'ci/missing_config_pre_commit_hook_v5.5' into 'release/v5.5'
...
ci: add pre-commit hook to detect missing configs (v5.5)
See merge request espressif/esp-idf!46206
2026-03-30 08:16:44 +02:00
Jiang Jiang Jian
0a981c10cd
Merge branch 'feat/support_rv_fp_retention_v5.5' into 'release/v5.5'
...
feat(esp_hw_support): support rv fp retention (v5.5)
See merge request espressif/esp-idf!46522
2026-03-30 14:07:53 +08:00
Sudeep Mohanty
538e782b5b
fix(freertos): Use bare ticks for cleanup delays in freertos tests
2026-03-23 14:53:53 +01:00
Sudeep Mohanty
5c905afc15
fix(freertos): Fix flaky PSRAM tests for freertos
...
This commit adds additional delays to the stress test where we create
and self-delete tasks on PSRAM. iSuch tasks rely on the kernel creating
a special cleanup task to delete them. Hence, the delays in the main
task allow the cleanup task to bescheduled and the deletion to go
through.
2026-03-23 14:52:20 +01:00
Alexey Lapshin
dfafd6fc2a
fix(esp_system): xtensa: refactor linker scripts and reduce binary size for C++ apps
2026-03-16 14:39:26 +08:00
Evgeny Torbin
d412f4b858
ci: remove unused test cases
2026-03-13 16:06:08 +08:00
Marius Vikhammer
2a8fcf70ca
fix(freertos): remove spurious PRIVILEGED_FUNCTION from macro body
...
The macro expanded with a trailing PRIVILEGED_FUNCTION; token, making it
unusable in expression contexts (e.g. inside assert() or as a function
argument), causing a compile error: "expected ')' before ';' token".
Closes https://github.com/espressif/esp-idf/issues/17948
Made-with: Cursor
2026-03-12 15:02:20 +08:00
wuzhenghui
5ed166e97f
feat(esp_hw_support): support esp32p4 RV FPU context retention in pd_cpu sleep
2026-03-12 11:37:10 +08:00
Fu Hanxi
124a1d3b82
ci: backport master to 5.5
2026-02-25 11:38:38 +01:00
Li Shuai
31d7f49b76
change(esp_pm): fix ci failed test case of Automatic light occurs when tasks are suspended
2026-01-09 10:38:56 +08:00
Marius Vikhammer
bda5a3b34d
Merge branch 'fix/freertos_tick_hook_test_v5.5' into 'release/v5.5'
...
fix(freertos): Added stability fixes to tick hook test (v5.5)
See merge request espressif/esp-idf!44523
2026-01-06 08:39:31 +08:00
Jiang Jiang Jian
fbfa940c73
Merge branch 'feature/update-openocd-to-v0.12.0-esp32-20251215_v5.5' into 'release/v5.5'
...
feat(tools): update openocd version to v0.12.0-esp32-20251215 (v5.5)
See merge request espressif/esp-idf!44311
2025-12-30 10:35:19 +08:00
Marius Vikhammer
c6781e2c50
Merge branch 'fix/freertos_suspen_resume_test_memory_leak_v5.5' into 'release/v5.5'
...
test(freertos): Fix race condition in suspend-resume tests (v5.5)
See merge request espressif/esp-idf!44480
2025-12-26 10:01:39 +08:00
Sudeep Mohanty
f8e7ae3df2
fix(freertos): Added stability fixes to tick hook test
2025-12-24 08:15:05 +01:00
Sudeep Mohanty
131200a1fe
test(freertos): Added stability fixes to the delete blocked tasks test
2025-12-23 09:44:55 +01:00
Sudeep Mohanty
9be95156d0
test(freertos): Fix race condition in suspend-resume tests
...
This commit fixes a race condition in suspend-resume tests where in
a test task could escape deletion and result in a memory leak after test
completion.
2025-12-23 09:39:19 +01:00
Erhan Kurubas
78f8c22d0e
change(freertos): add task count and pointer width to OpenOCD debug table
2025-12-16 12:46:40 +01:00
Sudeep Mohanty
bd6a97fb6e
ci(freertos): Re-enable freertos tests for esp32p4
2025-11-27 11:20:43 +05:30
armando
304ba1655b
fix check test scripts build issue
2025-11-20 11:33:36 +08:00
armando
cdff2570c7
ci(p4): disable p4 rev3 invalid tests temporarily
2025-11-20 11:33:36 +08:00
Sudeep Mohanty
2a89a247de
test(freertos): Added miscellaneous stability fixes to unit tests
...
This commit adds fixes for freertos unit tests for a more deterministic
run and avoid occational failures.
2025-11-05 13:41:52 +05:30
Marius Vikhammer
e48bbec0b9
docs(freertos): fixed stack watermark documentation bytes vs words issue
...
Upstream freertos reports stack sizes in words, while IDF-kernel uses bytes.
2025-10-23 09:37:24 +08:00
Marius Vikhammer
590cb66669
ci(system): enabled and cleanup misc system test-apps build-test-rules
2025-08-18 14:22:13 +08:00
John Boiles
e29823cfe0
fix(freertos): Use ESP_EARLY_LOGE in vPortTLSPointersDelCb for RISCV
...
Using ESP_LOG* in this function causes a crash
2025-06-11 06:44:21 +00:00
Marius Vikhammer
503a9faa9f
change(core): clean-up leftover todo items in code
2025-04-23 16:15:19 +08:00
Sudeep Mohanty
3caddd5393
test(freertos): Added a unit test for tickless idle tick jump scenario
...
This commit adds a unit test to test that tickless idle mode does not
cause an unexpected jump in tick count after tickless idle mode is
exited.
2025-04-15 09:38:26 +02:00
Sudeep Mohanty
3af5603938
fix(freertos): Fixed tickless idle tick count accounting
...
This commit fixes an issue where the FreeRTOS kernel does not account
for the pended ticks occuring during automatic light-sleep mode and
hence causing a jump in the tick count at a later stage in the
application lifetime.
Closes: https://github.com/espressif/esp-idf/issues/15642
2025-04-15 09:38:26 +02:00
Chen Jichang
c34b4eb882
feat(esp32h4): enable ESP32H4 ci build
2025-03-28 14:41:28 +08:00
Sudeep Mohanty
ee98297647
Merge branch 'feat/enable_freertos_smp_for_c5_c61' into 'master'
...
feat(freertos): Enable Amazon FreeRTOS SMP kernel for esp32c5 and esp32c61
See merge request espressif/esp-idf!37933
2025-03-27 18:07:11 +08:00
Sudeep Mohanty
71a79ac0b1
feat(freertos): Add config to move additional functions into Flash
...
This commit adds a new Kconfig option, viz.,
CONFIG_FREERTOS_PLACE_ISR_FUNCTIONS_INTO_FLASH, which places
additional FreeRTOS functions, such as those which can be called from
and ISR context, into Flash memory. This feature utilizes the Flash auto
suspend/resume feature of the Flash chip.
2025-03-24 09:19:28 +01:00
Sudeep Mohanty
1742a982d5
feat(freertos): Enable Amazon FreeRTOS SMP kernel for esp32c5 and esp32c61
...
This commit enables the Amazon SMP port for FreeRTOS for the esp32c5 and
esp32c61 targets.
2025-03-21 15:31:55 +01:00
Omar Chebib
0bc169e735
fix(freertos): optimize HWLP context switch by disabling it when unused
2025-03-13 11:11:24 +08:00
Omar Chebib
c26879d29e
fix(freertos): workaround a hardware bug related to HWLP coprocessor
...
This commit manually sets the HWLP context to dirty when a Task that needs it is scheduled it.
2025-03-13 11:11:24 +08:00
Erhan Kurubas
a44c127dfa
feat(freertos): add list offsets to the openocd_params
2025-03-06 01:32:33 +01:00
igor.udot
daf2d31008
test: format all test scripts
2025-03-05 12:08:48 +08:00
Omar Chebib
c95a12658e
fix(freertos): fix a bug in prvTaskDeleteWithCaps related to coprocessors
...
When a coprocessor is used, the stack pointer is altered. It must be restored
before freeing the memory allocated to the task.
2025-02-18 11:59:04 +08:00