Commit Graph

1341 Commits

Author SHA1 Message Date
Michael Wilson 39409058d3 fix(freertos): Correct misleading error messages for vPortEnter/ExitCritical
The error messages for vPortEnterCritical and vPortExitCritical are
misleading when they're called on a multi-core target, as they seem to
imply that the call is NOT supported on a single-core target. In fact,
they are, these functions are, however, not supported on multi-core
targets, so the error message has been updated to reflect this.

Merges https://github.com/espressif/esp-idf/pull/18109
2026-01-13 10:33:45 +01:00
Li Shuai 1494370a40 change(esp_pm): fix ci failed test case of Automatic light occurs when tasks are suspended 2026-01-08 17:48:33 +08:00
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
Erhan Kurubas c2dab51975 change(freertos): add task count and pointer width to OpenOCD debug table 2025-12-17 02:15:19 +01:00
morris 291554cd09 refactor(global): remove completed todos in the codebase 2025-12-15 22:40:15 +08:00
C.S.M f405e51784 ci(esp32s31): Add ci build test for esp32s31 2025-12-11 15:17:15 +08:00
Erhan Kurubas 0544720401 Revert "change(freertos): add task count and pointer width to OpenOCD debug table"
This reverts commit 799de719d7.
2025-12-03 19:39:12 +08:00
Laukik Hase 7c24682643 feat(esp_tee): Add support for the RISC-V H/W stack guard mechanism 2025-11-24 18:49:06 +05:30
Sudeep Mohanty 4832c72163 ci(freertos): Re-enable freertos tests for esp32p4 2025-11-24 10:24:27 +05:30
Erhan Kurubas 799de719d7 change(freertos): add task count and pointer width to OpenOCD debug table 2025-11-17 14:48:27 +01:00
armando b25ba4a0c1 ci(p4): disable p4 rev3 invalid tests temporarily 2025-11-17 12:11:39 +08:00
Erhan Kurubas 79cda70029 change(app_trace): move sysview to component registry 2025-11-10 15:55:41 +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
Erhan Kurubas 1dac8685db feat(tracing): add new component for tracing 2025-10-30 12:15:35 +01: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
Erhan Kurubas 68764bf80f refactor(app_trace): remove redundant init call from startup 2025-10-18 02:28:31 +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 cf12478049 refactor(freertos): Deprecate xPortGetTickRateHz()
This commit deprecates xPortGetTickRateHz() from the FreeRTOS port API
as the FreeRTOS tickrate is constant for an application and can be
inferred using the CONFIG_FREERTOS_HZ config option.
2025-09-22 09:23:07 +02:00
Sudeep Mohanty 141e62806c feat(freertos-smp): Enabled FreeRTOS Runtime stats gathering for Amazon SMP Kernel 2025-09-22 09:23:07 +02:00
Sudeep Mohanty 9a4341bb87 refactor(freertos): Moved FreeRTOS Run Time Stats gathering to port.c
This commit creates a new port layer API xPortGetRunTimeCounterValue()
in port.c files. This helps to remove inclusion of header files such as
esp_timer.h and xtensa/hal.h from portmacro.h
2025-09-22 09:23:01 +02:00
Sudeep Mohanty 75619d8ef5 Merge branch 'task/remove_vportcleanuptcb_support' into 'master'
remove(freertos): Remove legacy vPortCleanUpTCB user hook

Closes IDF-8097

See merge request espressif/esp-idf!41867
2025-09-19 10:03:07 +02:00
Konstantin Kondrashov b7da740f12 Merge branch 'feature/log_v2_optimization' into 'master'
feat(log): Optimize idf components for binary logging

Closes IDF-12775

See merge request espressif/esp-idf!40289
2025-09-19 14:45:43 +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
Konstantin Kondrashov dcf486359e feat(log): Optimize log tag init for bin logging 2025-09-15 15:59:52 +03:00
Sudeep Mohanty c76cc9a24d remove(freertos): Remove legacy vPortCleanUpTCB user hook
This commit removes support for the vPortCleanUpTCB() user hook as well
as drops support for associated Kconfig option,
CONFIG_FREERTOS_STATIC_TASK_CLEAN_UP.
2025-09-11 16:05:11 +02:00
Marius Vikhammer 926817e872 docs(freertos): fixed stack watermark documentation bytes vs words issue
Upstream freertos reports stack sizes in words, while IDF-kernel uses bytes.
2025-09-10 08:50:16 +08:00
Alexey Lapshin b25cb2906c fix(freertos): fix xesppie registers save/restore 2025-08-25 11:58:21 +07: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
Sudeep Mohanty 3ef41363cf Merge branch 'task/remove_freertos_compatibility' into 'master'
remove(freertos): Removed freertos_compatibility.c

Closes IDF-3851 and IDF-8144

See merge request espressif/esp-idf!40652
2025-08-11 10:25:33 +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
Omar Chebib 03f4744497 feat(riscv): add support 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