Sudeep Mohanty
0f0866f8c8
Merge branch 'task/optimize_freertos_test_coverage' into 'master'
...
Optimize freertos pytest test coverage to reduce redundant test runs and add support for gcov code coverage
Closes IDF-14186 and IDFCI-7565
See merge request espressif/esp-idf!44048
2026-01-06 15:07:44 +01:00
Michael (XIAO Xufeng)
c299c0b749
Merge branch 'refactor/remove_idf_test_component' into 'master'
...
refactor: Remove idf_test component
Closes IDF-12578
See merge request espressif/esp-idf!43733
2026-01-06 16:20:20 +08:00
Guillaume Souchere
2c8dfc0afb
ci(freertos): Add depends_components attribute to build-test-rules.yml
2026-01-05 09:07:27 +01:00
Xiao Xufeng
73735f3e87
test: merge chip-specific performance data headers
2026-01-01 02:35:58 +08:00
Xiao Xufeng
438e07b30e
refactor: Remove idf_test component
...
Split the idf_performance.h and target ver, which hold the performance
thresholds, into the headers of each testing.
In the past pytest also parse the common header to get the thresholds.
Now the logic is also removed. Performance thresholds are supposed to be
in the pytest scripts.
2026-01-01 02:26:42 +08:00
Marius Vikhammer
8ce6bd349b
test(core): fixed freertos and newlib test setup leaking memory
2025-12-31 15:40:34 +08:00
Marius Vikhammer
e87aee9bac
ci(core): fixed esp_event and psram freertos not running properly in CI
2025-12-31 12:38:47 +08:00
Sudeep Mohanty
a65c83264f
Merge branch 'fix/freertos_tick_hook_test' into 'master'
...
fix(freertos): Added stability fixes to tick hook test
Closes IDFCI-7671, IDFCI-7672, IDFCI-7679, and IDFCI-7680
See merge request espressif/esp-idf!44402
2025-12-23 17:52:28 +01:00
Sudeep Mohanty
fb3b5d93cc
test(freertos): Added support for gcov code coverage for FreeRTOS source files
...
This commit adds the following:
- Added support to FreeRTOS component to report code coverage using gcov
and app trace.
- Added a new sdkconfig.ci.code_coverage for code coverage tests.
- Added a new Kconfig option CONFIG_FREERTOS_ENABLE_COVERAGE_TESTS to
control the code instrumentation.
- Added an idf_component.yml file to the test_app to fetch the esp_gcov
component from the component registry.
- Updated the README to explain how to take code coverage data.
2025-12-23 13:48:59 +01:00
Sudeep Mohanty
ededccc839
test(freertos): Optimize pytest test coverage to reduce redundant test runs
...
This commit optimizes the FreeRTOS test matrix to reduce test execution
time while maintaining the required test coverage.
2025-12-23 13:48:59 +01:00
Sudeep Mohanty
5a847394f9
Merge branch 'fix/freertos_delete_block_tasks_test' into 'master'
...
test(freertos): Added stability fixes to the delete blocked tasks test
Closes IDFCI-3701, IDFCI-3718, IDFCI-4709, IDFCI-6443, and IDFCI-7544
See merge request espressif/esp-idf!44403
2025-12-23 09:41:54 +01:00
Sudeep Mohanty
2c070fc728
test(freertos): Added stability fixes to the delete blocked tasks test
2025-12-18 16:18:40 +01:00
Sudeep Mohanty
3a21076339
fix(freertos): Added stability fixes to tick hook test
2025-12-18 15:50:48 +01:00
Sudeep Mohanty
7d609d3ac9
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-18 12:21:45 +01:00
C.S.M
f405e51784
ci(esp32s31): Add ci build test for esp32s31
2025-12-11 15:17:15 +08:00
Sudeep Mohanty
4832c72163
ci(freertos): Re-enable freertos tests for esp32p4
2025-11-24 10:24:27 +05:30
armando
b25ba4a0c1
ci(p4): disable p4 rev3 invalid tests temporarily
2025-11-17 12:11:39 +08:00
Sudeep Mohanty
ba9591f753
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-03 17:55:45 +08:00
Marius Vikhammer
a95eb187fb
Merge branch 'ci/add_test_wdt_helper' into 'master'
...
test(core): add WDT protection to detect stuck tests
See merge request espressif/esp-idf!42828
2025-10-27 14:46:58 +08:00
Marius Vikhammer
cd741e995f
test(system): restructured system build test test-apps
2025-10-27 09:25:07 +08:00
Marius Vikhammer
113d69f188
test(core): add WDT protection to detect stuck tests
2025-10-24 10:48:13 +08:00
Chen Chen
a4710cc206
refactor(driver): remove redundant driver dependencies
...
now the driver component only contains legacy code for i2c, twai and
touch sensor
2025-09-30 15:47:45 +08:00
Sudeep Mohanty
bb0f072c7a
refactor(freertos): Make task snapshot debug API public
...
This commit makes the task snapshot related API public under the header
freertos_debug.h.
2025-09-15 16:13:29 +02:00
Marek Fiala
9d35d63651
feat(cmake): Update minimum cmake version to 3.22 (whole repository)
2025-08-19 14:44:32 +02:00
Sudeep Mohanty
11b80a7f11
Merge branch 'feat/freertos_in_flash_by_default' into 'master'
...
feat(freertos): Place FreeRTOS in flash by default
Closes IDF-12695
See merge request espressif/esp-idf!40579
2025-08-15 02:18:57 +02:00
Omar Chebib
4f4083ecda
Merge branch 'feature/dsp_coprocessor_support' into 'master'
...
feat(riscv): add support for the DSP coprocessor
Closes IDF-13087 and LLVM-369
See merge request espressif/esp-idf!40866
2025-08-08 11:06:22 +08:00
Sudeep Mohanty
26c19928a9
feat(freertos): Place FreeRTOS in flash by default
...
The following updates have been made in this commit:
- The commit places FreeRTOS code in flash memory by default.
- CONFIG_FREERTOS_PLACE_FUNCTIONS_INTO_FLASH has been removed.
- CONFIG_FREERTOS_IN_IRAM is unhidden and can be used to restore the
previous memory placement.
- A test has been added for users to conduct performance impact testing
based on memory placement configurations.
2025-08-07 19:56:30 +08:00
Omar Chebib
63cf7c06d3
test(freertos): add a test case for the DSP coprocessor
2025-08-07 14:40:30 +08:00
Marius Vikhammer
43667179f4
ci(system): enabled and cleanup misc system test-apps build-test-rules
2025-08-06 17:50:50 +08:00
Marius Vikhammer
bf84ab652a
change(test_utils): moved test_utils component to tools/test_apps/components/
2025-07-21 14:05:50 +08:00
Fu Hanxi
a5257dcc39
ci: apply idf-ci pytest plugin
...
Removed
- target markers. Now must use target as parametrization in esp-idf
- host test markers. Now will be automatically added with linux target and qemu marker
2025-07-09 10:33:28 +02: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