Commit Graph

17526 Commits

Author SHA1 Message Date
Chen Wang
ace7fdbff3 doxygen: fixed build warning for RT_CAN_FILTER_ITEM_INIT (#10758)
The names and number of macro parameters in doxygen comments
must match the actual macro definition; otherwise, a warning
will be generated.

Our goal is to eliminate all warnings.

Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-09-28 19:47:45 +08:00
蒙蒙plus
98340c1aab [Feature][Shell] 增加对 Home、Insert、Delete 和 End 键的支持,改进输入模式处理 (#10595) 2025-09-28 16:27:20 +08:00
WangShun
cb4a370c71 [bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728)
* [fix] 更新e906的以BSP导入RT-Studio相关文件
2025-09-28 16:11:30 +08:00
Yuqiang Wang
36393c61be improve[ci]: integrate utest run ci (#10748) 2025-09-28 16:08:51 +08:00
R b b666
2b65a6f2a7 fix:Fixed compilation error for libcpu/cortex-m4. (#10756) 2025-09-28 16:08:02 +08:00
wdfk-prog
11156de0de feat[can]: Implement non-blocking send mechanism and enhance CAN driver functionality
- Added support for non-blocking mode CAN message sending, including software ring buffer management and dynamic memory allocation options.
- Improved related comments and error handling.
- Updated example code to demonstrate the usage of both blocking and non-blocking sending modes, and corrected some structure field naming and macro definitions.
2025-09-28 11:17:21 +08:00
MuChenger
ed574f693f [fix] 修正UART驱动管脚配置不正确的问题 2025-09-28 09:32:36 +08:00
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