Commit Graph

17519 Commits

Author SHA1 Message Date
MuChenger
233cbaa974 [fix] 使能GD32H7 I/D Cache,移除Systick重复配置代码 2025-09-28 09:30:01 +08:00
Yuqiang Wang
fdb6acdf5c improve[format]: optimize the formatting display 2025-09-27 09:23:54 +08:00
Chen Wang
01e015450f utest: move driver related case under to drivers
src/utest/device_tc.c is testing API: rt_device_find(),
which is a function defined in components/drivers/core/device.c.
So it should be a testcase for drivers core, not for core.

Move it to under components/drivers/core.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-26 16:53:44 +08:00
ligr
7b8e8c95ba [components/lwp]add doxygen comment for lwp_dbg.c. 2025-09-26 16:52:46 +08:00
Chen Wang
adc3e2ccc5 utest: core: unify case names
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-26 09:59:05 +08:00
Chen Wang
6e51a8405f utest: move core tesetcases under to directiry "src"
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-26 09:59:05 +08:00
Chen Wang
495c8cfc25 utest: remove RT_UTEST_USING_ALL_CASES
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 <unicorn_wang@outlook.com>
2025-09-26 09:57:54 +08:00
Yuqiang Wang
320aa25ad4 improve[ci]: Improve the comment instructions for the PR format bot (#10747) 2025-09-26 09:05:24 +08:00
Yuqiang Wang
1adefcf85a maintainer: add new code owner for renesas and gd32(arm) 2025-09-25 21:12:32 +08:00
CYFS
1daedb0bfc [bsp][gd32]: can add support for GD32F5xx (#10737) 2025-09-25 18:24:05 +08:00
Yuqiang Wang
414df9d379 improve[clang-format]: optimize the formatting logic for RT-Thread coding standard 2025-09-25 14:23:34 +08:00
ligr
0785e224ce [components/lwp]add doxygen comment for lwp avl implementation. 2025-09-25 13:46:21 +08:00
Chen Wang
ef354df2e3 bsp/cvitek: Increase the value of RT_NAME_MAX
Otherwise report runtime error:
[E/kernel.obj] Object name sys workq exceeds RT_NAME_MAX=8, consider increasing RT_NAME_MAX.
(obj_name_len <= RT_NAME_MAX - 1) assertion failed at function:rt_object_allocate, line number:520

Increase the value of RT_NAME_MAX to 16 for c906B.
The value of RT_NAME_MAX for BSP of C906L and ARM core already meet
the requirement of more than 8.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-25 13:03:00 +08:00
wdfk-prog
7e5cd48360 feat[SPI]: Add SPI device detach function 2025-09-25 11:41:58 +08:00
Yuqiang Wang
da99c507c4 improve[ci]: standardize the naming of CI files related to auto assign reviewers #10729 2025-09-25 10:38:35 +08:00
ligr
a84e75527d [components/lwp]add doxygen comment for lwp_tid. 2025-09-24 18:14:03 +08:00
Yonggang Luo
66b2bcc080 RT_TIMER_CTRL_SET_TIME only accept rt_tick_t, pass rt_tick_t instead int/rt_int32_t 2025-09-24 18:12:36 +08:00
Yonggang Luo
5bba332e23 Fixes bsp/allwinner/libraries/sunxi-hal/hal/source/sdmmc/osal/os/RT-Thread/os_timer.c call to RT_TIMER_CTRL_SET_TIME
RT_TIMER_CTRL_SET_TIME expects a pointer to rt_tick_t (ticks).
period_tick is derived from periodMS (milliseconds) via rt_tick_from_millisecond
to ensure correct units are passed.
2025-09-24 18:12:36 +08:00
Yonggang Luo
5aa2faa2e2 sunxi-hal use rt_tick_t 2025-09-24 18:12:36 +08:00
Yonggang Luo
19451d9bb7 RT_TIMER_CTRL_SET_TIME and RT_TIMER_CTRL_GET_TIME should both use rt_tick_t 2025-09-24 18:12:36 +08:00
Yonggang Luo
4da1ef0f3d cast to (rt_tick_t)RT_WAITING_FOREVER for explicit 2025-09-24 18:12:36 +08:00
Yonggang Luo
0e9e50fe6d _rt_wqueue_wait use rt_tick_t 2025-09-24 18:12:36 +08:00
Yonggang Luo
78dfa1fd9a Trim trailing spaces of components/libc/posix/io/poll/poll.c
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
2025-09-24 18:12:36 +08:00
kurisaw
550d072398 improve[ci]: each comment is assigned a unique ID. 2025-09-23 18:55:08 +08:00
Yuqiang Wang
4123daf00c tools: add clang-format formatting script for CI (#10684)
* tools: add clang-format formatting script for CI

* improve[ci]: standardize the naming of CI files related to clang-format
2025-09-23 17:38:09 +08:00
Fan YANG
35672cd5cb [bsp][hpmicro] upgrade to bsp v1.10.0, add hpm6p00evk and hpm5e00evk support
- upgraded bsp to v1.10.0
- moved hpm_sdk to rt-thread package
- added support for hpm6p00evk and hpm5e00evk

Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
2025-09-23 13:38:22 +08:00
Rbb666
db1779e239 [utest][cpp]add cpp-smartptr testcase. 2025-09-23 10:55:47 +08:00
Rbb666
618516ef94 [utest][cpp]add cpp-lambda testcase. 2025-09-23 10:55:47 +08:00
Rbb666
c300b00470 [utest][cpp]add cpp-auto testcase. 2025-09-23 10:55:47 +08:00
Rbb666
d848e7321b [utest][cpp]add cpp-mutex testcase. 2025-09-23 10:55:47 +08:00
Rbb666
a4e5ae7bed [utest][cpp]add cpp-atomic testcase. 2025-09-23 10:55:47 +08:00
Rbb666
e4586d48cb [utest][cpp]rename thread_tc.cpp to tc_thread.cpp. 2025-09-23 10:55:47 +08:00
Rbb666
adbf59c448 [ci][rtduino]Fixed CI: ARDUINO_ADAFRUIT_SENSORLAB compilation failure issue. 2025-09-23 10:10:38 +08:00
BruceOu
1f38be3618 [bsp/renesas] add bsp ra6e2-ek #10631 2025-09-23 09:42:46 +08:00
Ze-Hou
bfbb3c93e7 bsp: k230: add rtc driver
Requirement: The BSP for the k230 platform in the RT-Thread repository
does not yet have an RTC driver.

Solution: Provide RTC drivers for the k230 platform in the RT-Thread
repository, implementing timekeeping and alarm functionalities,
with interrupt support for the alarm feature.

Signed-off-by: Ze-Hou <yingkezhou@qq.com>
2025-09-22 22:30:20 +08:00
Chen Wang
5a6acfa39b bsp/qemu-virt64-riscv: disable RT_USING_UTEST
utest framework is an optional module and should be
enabled when running utest.

So RT_USING_UTEST should not be enabled by default.
Disable it now.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-22 17:41:06 +08:00
wdfk-prog
2d375b236c [kernel]fix scheduling exception caused by interrupt preemption in rt_schedule 2025-09-21 15:26:51 +08:00
miaolei
42458e0618 [bsp/renesas] add bsp ra4e2-ek (#10700)
* [bsp/renesas] add bsp ra4e2-ek

* bsp: Renesas ra4e2-ek bsp support the nano

* fix bsp and SOC_SERIES_R7FA4E2

* remove file R7FA4E2B9.svd

工程未使用此文件,
此文件在renesas bsp中已有一份,此文件可以删除
bsp\renesas\ra4e2-eco\script\R7FA4E2B9.svd
2025-09-20 11:07:16 +08:00
Guorui Li
2cd44e23c0 [components/lwp]add doxygen comment for lwp_pid. #10702 2025-09-19 18:18:26 +08:00
Rbb666
d7dded112e [utest][netdev]add netdev api testcases. 2025-09-18 22:27:34 +08:00
CYFS
64a938174e [bsp][renesas][ek-ra2a1]add AD\DA and Flash device (#10704)
add AD\DA and Flash device
2025-09-17 20:05:10 +08:00
tomjielii
8a646c5e92 [bsp][renesas] add EK-RA2E2 other device drivers support (#10695)
* [bsp][renesas]add EK-RA2E2 sci_uart support

* [bsp][renesas] add EK-RA2E2 (i2c/spi/adc/pwm/flash/gpio interrupt) support

* [bsp][renesas] comment drv_flash.c and format drv_i2c.c
2025-09-17 20:04:44 +08:00
WangShun
f1bbaf1e25 [bsp/xuantie] [e906]添加以BSP方式导入RT-Studio的CDT工程文件 (#10705)
[bsp/e906] 添加以BSP方式导入RT-Studio的CDT工程文件
2025-09-17 20:03:09 +08:00
蒙蒙plus
df8c29a01d [components][finsh] 清理掉无用的拷贝操作 (#10699)
清理掉无用的拷贝操作
2025-09-17 09:30:58 +08:00
Chen Wang
b03bb709b9 utest: update naems using new rule
The names of the utest cases defined in their respective
modules have been updated.

Some utest case names are not yet in their respective modules
because their paths need to be finalized before their unique
names can be determined. Currently, these names do not
appear to conflict with the unified names. These include:

- utest cases still in examples
- bsp/qemu-virt64-riscv/applications/test/test_vector/test_vector.c.
  The entire test case should probably be placed in libcpu/risc-v
  rather than bsp.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-15 19:40:31 +08:00
Chen Wang
e2224f525b doxygen: update naming rule for utest-case
More details see PR #10681.

As utest cases are currently moving out of `examples/utest/testcases`
into their own module directories, the naming rule needs to change
accordingly.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-15 19:40:31 +08:00
Rbb666
1e81571256 [net/netdev]Fixed compilation errors when enabling IPv6 and IPv4 dual-stack support. 2025-09-15 11:21:34 +08:00
R b b666
ff26c0c4b3 [netdev]Fixed netdev_unregister missing correct return value. (#10693) 2025-09-14 11:35:20 +08:00
Guorui Li
5455622ad3 [components/lwp]add doxygen comment for lwp_args. (#10696) 2025-09-14 11:26:31 +08:00
蒙蒙plus
138c8887e7 移除已经废弃的CPU使用率相关的字段和初始化代码 2025-09-12 09:56:16 +08:00