37 Commits

Author SHA1 Message Date
Bernard Xiong
743b614875 [components][clock_time] Refactor time subsystem around clock_time (#11111)
Some checks failed
RT-Thread BSP Static Build Check / 🔍 Summary of Git Diff Changes (push) Has been cancelled
RT-Thread BSP Static Build Check / ${{ matrix.legs.RTT_BSP }} (push) Has been cancelled
RT-Thread BSP Static Build Check / collect-artifacts (push) Has been cancelled
doc_doxygen / doxygen_doc generate (push) Has been cancelled
doc_doxygen / deploy (push) Has been cancelled
pkgs_test / change (push) Has been cancelled
utest_auto_run / A9 :components/dfs.cfg (push) Has been cancelled
utest_auto_run / A9 :components/lwip.cfg (push) Has been cancelled
utest_auto_run / A9 :components/netdev.cfg (push) Has been cancelled
utest_auto_run / A9 :components/sal.cfg (push) Has been cancelled
utest_auto_run / A9 :cpp11/cpp11.cfg (push) Has been cancelled
utest_auto_run / AARCH64-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / A9-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / XUANTIE-rtsmart :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64 :default.cfg (push) Has been cancelled
utest_auto_run / AARCH64-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :default.cfg (push) Has been cancelled
utest_auto_run / A9-smp :default.cfg (push) Has been cancelled
utest_auto_run / RISCV :default.cfg (push) Has been cancelled
utest_auto_run / RISCV-smp :default.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / RISCV :kernel/atomic_c11.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/ipc.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/kernel_basic.cfg (push) Has been cancelled
utest_auto_run / A9 :kernel/mem.cfg (push) Has been cancelled
ToolsCI / Tools (push) Has been cancelled
Weekly CI Scheduler / Trigger and Monitor CIs (push) Has been cancelled
Weekly CI Scheduler / Create Discussion Report (push) Has been cancelled
* [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
2026-01-31 17:44:27 +08:00
GuEe-GUI
5abecc1fd0 [dm][graphic] support dm mode
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 <2991707448@qq.com>
2025-12-15 16:54:23 +08:00
GUI
e5e0ad29bf [DM/DMA] Update DMA #10987
* 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-12-03 21:47:49 +08:00
Meco Man
443ade4c29 [sscanf] use rt_sscanf to replace sscanf 2024-11-27 10:59:15 +08:00
Xuhxx
439d3c34d9 [HUST CSE]Fix if condition statement not closed (#7353) 2023-04-23 17:40:42 -04:00
Meco Man
0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Shell
0de21341f9 [fix] mm bugs (#7010)
* [fix] implementation fault on avl

* [fix] mm may free varea allocated statically

* [test] add test and benchmark for avl
2023-03-03 11:51:21 +08:00
螺丝松掉的人
20459ec4d3 [ringbuffer] ringbuffer size boost to 32bit (#6915)
* ringbuffer size boost to 32bit
* 添加ringbuffer测试demo
related: #682
----
Co-authored-by: Zxy <1308465141@qq.com>
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2023-02-08 22:55:52 -05:00
liukangcc
3d2e23ec1c [update] move dfs_posix.h to legacy/dfs/dfs_posix.h 2022-01-14 23:09:32 +08:00
马志远
221da7f464 Remove C Style Command Shell 2021-08-23 17:30:05 +08:00
DavidLin1577
e0b00b21f5 [examples/test]update rtc_test.c 2021-07-06 18:03:15 +08:00
Meco Man
f0cc3e861a [example] 对版权信息进行人工扫描并添加确实的版权信息 2021-03-08 07:19:27 +08:00
Meco Man
08af426f01 [example] 格式化整理 2021-03-07 08:34:04 +08:00
David Lin
037ef1f51f Update net_test.c
clear the server_addr.sin_zero to '0'.
2021-01-05 18:32:25 +08:00
David Lin
6e6dfb0003 Update net_test.c
Fixed  pointer check, indentation
2020-10-17 10:52:29 +08:00
David Lin
f8a20ee433 Update net_test.c
申请内存失败时,直接return,此前代码goto _exit进行rt_free空指针,会造成内存泄漏
2020-10-14 09:56:53 +08:00
zylx
4fd6f2ef53 [examples][test]Perfect test function 2018-12-12 17:13:30 +08:00
armink
dff8a2c513 [DeviceDriver] Add rbb (ring block buffer) data structure. 2018-09-12 08:59:58 +08:00
liang yongxiang
2c7fcf7d83 [examples] fixed bug when device not found 2018-07-18 19:21:46 +08:00
liang yongxiang
707a0915e4 [examples] fixed gcc warning: value computed is not used 2018-03-13 17:38:53 +08:00
liu2guang
1a7e251423 [Examples] add RTC drive test finsh command. | 添加RTC驱动测试finsh命令. 2018-01-17 23:42:10 +08:00
liu2guang
d47dd9a12c 修复无法重复使用finsh命令device_test进行驱动测试
1. 该问题是打开设备后, 出错或者成功后没有关闭设备而导致.
2017-10-02 23:30:46 +08:00
heyuanjie87
d19f424909 简化操作接口 2015-09-06 15:05:47 +08:00
heyuanjie87
47b3a4d3cc 加入定时器使用范例 2015-09-02 22:03:16 +08:00
hduffddybz
7aff40f3f9 fix 2014-08-24 21:23:52 -08:00
hduffddybz
6ccfe9f374 fix 2014-08-24 21:16:02 -08:00
hduffddybz
c1d0db700c add version checking 2014-08-24 21:12:47 -08:00
hduffddybz
a8804d3503 correct netconn API usage 2014-08-18 00:41:03 -08:00
Bernard Xiong
72782e9203 convert end of line 2013-01-08 05:05:02 -08:00
wuyangyong
2c82d4945b use rt_deice API.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2135 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-05-29 03:21:04 +00:00
wuyangyong
3fca6b062a add multiple sector speed test.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1944 bbd45198-f89e-11dd-88c7-29a3b14d5316
2012-02-11 09:40:22 +00:00
wuyangyong
db82f30dc2 add mem_test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1837 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-12-13 07:08:34 +00:00
wuyangyong
7af3914228 add calculate_speed_print for device_test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1747 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-10-09 16:14:45 +00:00
bernard.xiong
9194b17b4a add Dhrystone benchmark code (only for testing).
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1566 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-07-01 07:49:49 +00:00
bernard.xiong@gmail.com
6904f495e1 add network test code.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1518 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-16 12:09:10 +00:00
wuyangyong
a8ba93e97c update fs_test.c
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1335 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-18 03:01:02 +00:00
wuyangyong
8bb6586942 add test
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1334 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-03-17 14:01:01 +00:00