summaryrefslogtreecommitdiff
path: root/examples
AgeCommit message (Collapse)Author
2026-04-19[action][utest]:Expand kernel auto-run matrix and sync test configsCYFS
2026-04-01fix(tmpfs): harden path component bounds and validationAFWEF_147
2026-03-19[utest] Add standardized documentation blocks for mm and lwp test casescl2t
Add functional description comment blocks to 5 test case files that were missing them, following the format specified in issue #10895: - mm/mm_memblock_tc.c: memory block management tests - mm/rt_ioremap.c: I/O remap tests - lwp/condvar_broadcast_tc.c: condition variable broadcast tests - lwp/condvar_signal_tc.c: condition variable signal tests - lwp/condvar_timedwait_tc.c: condition variable timed wait tests Closes #10895 (partial) Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2026-01-31[components][clock_time] Refactor time subsystem around clock_time (#11111)Bernard Xiong
* [components][clock_time] Refactor time subsystem around clock_time Introduce the clock_time core with clock source/event separation, high-resolution scheduling, and boot-time helpers, plus clock_timer adapters for timer peripherals. Remove legacy ktime/cputime/hwtimer implementations and migrate arch and BSP time paths to the new subsystem while keeping POSIX time integration functional. Update drivers, Kconfig/SConscript wiring, documentation, and tests; add clock_time overview docs and align naming to clock_boottime/clock_hrtimer/clock_timer. * [components][clock_time] Use BSP-provided clock timer frequency on riscv64 * [risc-v] Use runtime clock timer frequency for tick and delays * [bsp] Add clock timer frequency hooks for riscv64 boards * [bsp] Update Renesas RA driver doc clock_timer link * [bsp] Sync zynqmp-r5-axu4ev rtconfig after config refresh * [bsp][rk3500] Update rk3500 clock configuration * [bsp][hpmicro] Add rt_hw_us_delay hook and update board delays * [bsp][stm32l496-st-nucleo] enable clock_time for hwtimer sample in ci * [bsp][hpmicro] Fix rtconfig include scope for hpm6750evk Move rtconfig.h include outside the ENET_MULTIPLE_PORT guard for hpm6750evk and hpm6750evk2 so configuration macros are available regardless of ENET settings. * [bsp][raspi3] select clock time for systimer * [bsp][hpm5300evk] Trim trailing blank line * [bsp][hpm5301evklite] Trim trailing blank line * [bsp][hpm5e00evk] Trim trailing blank line * [bsp][hpm6200evk] Trim trailing blank line * [bsp][hpm6300evk] Trim trailing blank line * [bsp][hpm6750evk] Trim trailing blank line * [bsp][hpm6750evk2] Trim trailing blank line * [bsp][hpm6750evkmini] Trim trailing blank line * [bsp][hpm6800evk] Trim trailing blank line * [bsp][hpm6e00evk] Trim trailing blank line * [bsp][nxp] switch lpc178x to gcc and remove mcx timer source * [bsp][stm32] fix the CONFIG_RT_USING_CLOCK_TIME issue. * [docs][clock_time] add clock time documentation * [docs][clock_time] Update clock time subsystem documentation - Update device driver index to use correct page reference - Clarify upper layer responsibilities in architecture overview - Update README to describe POSIX/libc, Soft RTC, and device driver usage - Refine architecture diagram with improved layout and color scheme - Remove obsolete clock_timer.md file * [kernel][utest] Trim trailing space * [clock_time] Fix hrtimer wrap handling * [clock_time] fix the static rt_inline issue * [clock_time] fix the rt_clock_hrtimer_control result issue
2025-12-16[utest][mm_api]:Add standardized documentation for MM API lwp TestChuan
2025-12-15[dm][graphic] support dm modeGuEe-GUI
1. Add backlight framework for graphic. 2. Add framebuffer and plane, power, EDID for graphic framework 3. Add boot logo render for graphic 4. Update lcd.h Signed-off-by: GuEe-GUI <[email protected]>
2025-12-15[utest][mm_api]Add standardized documentation for MM API TestChuan
2025-12-04[action]Add automatic testing for SMP.Rbb666
2025-12-03[DM/DMA] Update DMA #10987GUI
* Append WT attribute. * Change the API with pool size only. * Add address mask for DMA * Change DMA lock to mutex * Add pause callback for DMA engine driver * Add DMA Engine test * Add ARM PL330 DMA Engine driver
2025-10-23feat:[sal][utest] added test cases for the sal api (#10720)Yuqiang Wang
* feat:[sal][utest] added test cases for the sal api * improve[net][utestcase]: standardize script construction * ci[auto utest run]: standardize naming and add sal testcases * add sal utest auto run configure and standard Information
2025-10-16utest: UTEST_MEMPOOL_TC -> RT_UTEST_MEMPOOLChen Wang
Which is missed in PR #10808 "utest: unify configname", add it. Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: move cpp from examples to components/libc/cplusplusChen Wang
Also update the case names to compatible with naming rules. Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SCHEDULER_TC -> RT_UTEST_SCHEDULERChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MTSAFE_KPRINT_TC -> RT_UTEST_MTSAFE_KPRINTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_HOOKLIST_TC -> RT_UTEST_HOOKLISTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_ATOMIC_TC -> RT_UTEST_ATOMICChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_THREAD_TC -> RT_UTEST_THREADChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MAILBOX_TC -> RT_UTEST_MAILBOXChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MUTEX_TC -> RT_UTEST_MUTEXChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SIGNAL_TC -> RT_UTEST_SIGNALChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MESSAGEQUEUE_TC -> RT_UTEST_MESSAGEQUEUEChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_EVENT_TC -> RT_UTEST_EVENTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SEMAPHORE_TC -> RT_UTEST_SEMAPHOREChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_IRQ_TC -> RT_UTEST_IRQChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_OBJECT_TC -> RT_UTEST_OBJECTChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SMALL_MEM_TC -> RT_UTEST_SMALL_MEMChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MEMHEAP_TC -> RT_UTEST_MEMHEAPChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_TMPFS_CP -> RT_UTEST_TMPFS_CPChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MM_LWP_TC -> RT_UTEST_MM_LWPChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_MM_API_TC -> RT_UTEST_MM_APIChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_CPP11_THREAD_TC -> RT_UTEST_CPP11_THREADChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-15utest: UTEST_SELF_PASS_TC -> RT_UTEST_SELF_PASSChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-14[utest]Remove all posix test cases from utest.Rbb666
2025-10-14utest: fixed UTEST_DEVICE_TCChen Wang
In 01e015450f, "utest: move driver-related case under to drivers," UTEST_DEVICE_TC was replaced with RT_UTEST_DRIVERS_CORE. However, some files are forgot to do this replacement, so this patch address this. Note: In .config, lines like "# CONFIG_XXX is not set" do not need to be modified; they are comments. Furthermore, for BSPs, running "scons --menuconfig" and save the config will automatically replace them. Therefore, no modification is necessary in this case. Signed-off-by: Chen Wang <[email protected]>
2025-10-13utest: ipc: move from examples to components/drivers/ipcChen Wang
Also: - Add "RT_" prefix for utest config options. - Rename the case names to following the naming rule. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: core: move perf testcase from example to srcChen Wang
Also: - Add "RT_" prefix for the UTEST config options. - Follow the naming rules to update the case name. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: smp_call: move from example to components/drivers/smp_callChen Wang
Also, - Rename UTEST_SMP_CALL_FUNC to RT_UTEST_SMP_CALL_FUNC. - Add depends on RT_USING_SMP in Kconfig for RT_UTEST_SMP_CALL_FUNC - Follow the naming rules of utest case to update the cases' name. Signed-off-by: Chen Wang <[email protected]>
2025-10-11utest: serial: move from examples to components/drivers/serialChen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-10-10utest: serial_v2: add depends on RT_USING_SERIAL_V2Chen Wang
Add dependent of RT_USING_SERIAL_V2 in Kconfig to make sure utest for serial_v2 is only available when RT_USING_SERIAL_V2 is enabled. Otherwise menuconfig allow people enable UTEST_SERIAL_TC but building of utestcases failed. It looks weird and better to be fixed. Signed-off-by: Chen Wang <[email protected]>
2025-10-10utest: serial: bypass: add depends on RT_USING_SERIAL_BYPASSChen Wang
Add dependent of RT_USING_SERIAL_BYPASS in Kconfig to make sure utest for serial-bypass is only available when RT_USING_SERIAL_BYPASS is enabled. Otherwise building of utestcases failed when UTEST_SERIAL_BYPASS is enabled. Signed-off-by: Chen Wang <[email protected]>
2025-09-28improve[ci]: integrate utest run ci (#10748)Yuqiang Wang
2025-09-26utest: move core tesetcases under to directiry "src"Chen Wang
Signed-off-by: Chen Wang <[email protected]>
2025-09-26utest: remove RT_UTEST_USING_ALL_CASESChen Wang
Many modules' utests currently don't support enabling all tests at once. Furthermore, some modules' tests are complex, for example due to their numerous dependencies on other modules. This makes it nearly impossible to enable all tests with a single global switch. Consequently, the previously defined `RT_UTEST_USING_ALL_CASES` has lost its original meaning. We recommend deprecating this configuration switch. If a module needs to enable a group of functional tests through its own configuration, this local enable all switch should be implemented by the module itself, and a global RTT enable switch will no longer be provided. If such a requirement arises in the future, we recommend careful design, especially considering how to ensure that turning on a single switch enables all dependencies for all involved modules for ease of use. Signed-off-by: Chen Wang <[email protected]>
2025-09-24RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME should both use rt_tick_tYonggang Luo
2025-09-23[utest][cpp]add cpp-smartptr testcase.Rbb666
2025-09-23[utest][cpp]add cpp-lambda testcase.Rbb666
2025-09-23[utest][cpp]add cpp-auto testcase.Rbb666
2025-09-23[utest][cpp]add cpp-mutex testcase.Rbb666
2025-09-23[utest][cpp]add cpp-atomic testcase.Rbb666
2025-09-23[utest][cpp]rename thread_tc.cpp to tc_thread.cpp.Rbb666