Commit Graph
125 Commits
Author SHA1 Message Date
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
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
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
Evgeny Torbin d412f4b858 ci: remove unused test cases 2026-03-13 16:06:08 +08:00
Fu Hanxi 124a1d3b82 ci: backport master to 5.5 2026-02-25 11:38:38 +01: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
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
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 590cb66669 ci(system): enabled and cleanup misc system test-apps build-test-rules 2025-08-18 14:22:13 +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
Chen Jichang c34b4eb882 feat(esp32h4): enable ESP32H4 ci build 2025-03-28 14:41:28 +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
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +08:00
gaoxu 5ef4f20778 feat(esp32h21): disable unsupported build test 2025-02-06 15:47:51 +08:00
Marius Vikhammer 2ef05f9f9b test(idf_test): add performance target file for H21 2025-01-17 12:27:00 +08:00
Marius Vikhammer 638b22ef4e test(freertos): changed freertos tests to compile even if no gptimer 2025-01-17 12:07:07 +08:00
Sudeep Mohanty a97a7b0962 Merge branch 'fix/priority_inv_when_remove_from_unordered_event_list' into 'master'
fix(freertos): Fixed priority inversion when setting event group bits

Closes IDF-8160

See merge request espressif/esp-idf!33953
2024-10-11 17:49:08 +08:00
morris aebf700919 refactor(freertos): rename SPIRAM_ALLOW_STACK_EXTERNAL_MEMORY and move to freertos 2024-10-09 13:32:03 +08:00
Sudeep Mohanty fc84220d90 test(freertos): Added unit test for event groups to test priority inversion
This commit adds a FreeRTOS unit test to verify that event groups do not
cause priority inversion when unblocking a higher priority task.
2024-10-08 09:36:45 +02:00
Sudeep Mohanty c01512f4b0 Merge branch 'fix/assert_fail_in_xtaskdeletewithcaps' into 'master'
Fixed occational assert failure in vTaskDeleteWithCaps()

Closes IDFGH-13294

See merge request espressif/esp-idf!33468
2024-09-20 16:19:40 +08:00
Sudeep Mohanty 01f521f3a0 test(freertos): Enabled FreeRTOS unit tests for esp32h2 2024-09-18 12:51:24 +02:00
Sudeep Mohanty 02cd0253a1 test(freertos): Added a test for vTaskDeleteWithCaps when stack is in ext RAM
This commit adds a stress tests for creating multiple tasks with
xTaskCreateWithCaps such that the stack is allocated in external SPIRAM.
Then the tasks self-delete. This is done iteratively as stress test.
2024-09-18 10:39:24 +02:00
Sudeep Mohanty 812fbb7874 test(freertos): Enabled FreeRTOS unit tests for esp32c61 2024-09-17 14:17:01 +02:00
Fu Hanxi 3c30341cfd ci: fix test_freertos markers 2024-09-03 09:34:09 +02:00
wanckl 4e095f4b9f ci(esp32c61): enable c61 generic target test 2024-09-02 19:26:12 +08:00
Sudeep Mohanty c3da2ace27 fix(freertos): Fixed memory leak issue in vTaskDeleteWithCaps()
vTaskDeleteWithCaps() leaked memory when a task uses the API to delete
itself. This commit adds a fix to avoid the memory leak.

Closes https://github.com/espressif/esp-idf/issues/14222
2024-07-26 16:58:18 +02:00
Sudeep Mohanty 7806aeb372 Merge branch 'fix/freertos_port_assert_in_isr_bug' into 'master'
fix(freertos): Incorrect assert in FreeRTOS port layer when not in ISR context

See merge request espressif/esp-idf!32324
2024-07-26 21:14:53 +08:00
Sudeep Mohanty 7bf349d20b test(freertos): Fixed flaky scheduling time test
This commit updates the scheduling time test to test for median
scheduling time values instead of average values.
2024-07-26 08:37:11 +02:00
Sudeep Mohanty 1012172436 fix(freertos): Incorrect assert in FreeRTOS port layer when not in ISR context
This commit fixes an issue where in the FreeRTOS port layer would cause
the portASSERT_IF_IN_ISR() assert check to fail even when the system is
not in an interrupt context.
2024-07-25 12:06:19 +02:00
wanlei 3cf069c7d8 feat(esp32c61): disable unsupported build test 2024-07-16 16:06:19 +08:00
laokaiyao cb22b8aaf7 ci(esp32c5): enable c5 target test 2024-07-02 16:45:49 +08:00
Marius Vikhammer fd18bb608b test(misc): enable misc tests that have been missed during bringup 2024-06-28 13:24:28 +08:00
Omar Chebib 82668dd3fe fix(riscv): make HWLP feature use direct saving of lazy saving 2024-05-21 17:27:46 +08:00
Omar Chebib 55acc5e5e7 feat(riscv): add support for PIE coprocessor and HWLP feature
FreeRTOS tasks may now freely use the PIE coprocessor and HWLP feature.
Just like the FPU, usiing these coprocessors result in the task being pinned
to the core it is currently running on.
2024-05-20 10:47:58 +08:00
wuzhenghui 270b9d22e4 fix(ci): fix CI unity test cases failure 2024-04-18 18:07:07 +08:00
laokaiyao 65b1fd33d3 ci(esp32c5mp): disable the unsupported tests 2024-04-07 12:13:29 +08:00
wuzhenghui 7408732688 fix(freertos): Updated threshold for scheduling time test for esp32p4
This commit increases the pass threshold for the scheduling time test on
esp32p4.
2024-03-27 16:19:19 +08:00
Sudeep Mohanty c6efc57e6e fix(freertos): Re-enabled FreeRTOS unit tests for esp32p4
This commit reenables the FreeRTOS unit tests to be run during CI
pipelines for esp32p4.
2024-03-25 09:03:09 +01:00