Commit Graph

7777 Commits

Author SHA1 Message Date
copilot-swe-agent[bot] 35e4335ee7 Remove vbus component and related code
Co-authored-by: BernardXiong <1241087+BernardXiong@users.noreply.github.com>
2025-10-28 23:36:25 +00:00
HZY0117 0017ad1255 移除HAL_Drivers/config/ra2a1 2025-10-28 14:20:26 +08:00
ache 36bf8f656b feat:clang format ignore migration 2025-10-28 14:13:56 +08:00
hzy0117 c553df5a3c
[bsp][renesas]:pwm_config里新增对BSP_USING_PWM10到BSP_USING_PWM12的定义 (#10859)
* [BSP][renesas][rsoc][fix]:移除HAL_Drivers/config/ra2a1,add pwm configuration items

* 在pwm_config里新增对BSP_USING_PWM10到BSP_USING_PWM12的定义
2025-10-28 14:05:59 +08:00
westcity-YOLO 858ed95cd2 修复gd32f5系列adc问题增加条件编译 2025-10-27 17:34:50 +08:00
rbb666 258395a552 cherryusb:Add the missing header files for bsp/frdm-mcxa156. 2025-10-27 17:31:55 +08:00
R b b666 ff973e548b
Fixed: ci build errors for hpm* bsp. (#10854) 2025-10-27 09:33:12 +08:00
kurisaw e2aed47b6c [format][version]: synchronize bsp version configuration 2025-10-23 22:06:51 +08:00
hydevcode 16e729e147 [BSP] xmc7100外设适配和RTDuino适配 2025-10-21 17:44:25 +08:00
Yucai Liu 982e52e200 [bsp/nxp/mcx/mcxa] Fix UART clock configuration type mismatch
Fixed implicit type conversion warning in UART driver by correctly
separating clock_name_t and clock_attach_id_t enum types.

Changes:
- Use kCLOCK_Fro12M (clock_name_t) for clock_src field
- Keep kFRO12M_to_LPUARTx (clock_attach_id_t) for clock_attach_id field
- Fix mcx_getc() to use correct status flag kLPUART_RxDataRegFullFlag

This resolves the compiler warning:
"implicit conversion from 'int' to 'clock_name_t' changes value from 16777216 to 0"

Signed-off-by: Yucai Liu 1486344514@qq.com
2025-10-21 10:28:06 +08:00
Yonggang Luo d3e0a53203 Remove rt_ktime_hrtimer_getcnt for hrtimer
There is no user of it and also the return type is mismatch
2025-10-21 10:25:41 +08:00
ljcjames f0659d79a7
[bsp][infineon] fix the type of rtc_alarm_callback in drv_rtc #10830 2025-10-20 12:49:23 +08:00
4444x daec5a939f fix-artpi-rtc 2025-10-20 10:34:51 +08:00
4444x 6603903ee8 [bsp][stm32]:fix-artpi-lcd 2025-10-17 21:50:58 +08:00
下里巴人 bc2fca59cf
[bsp][renesas][ra4m1-ek] add a new bsp for ra4m1-ek board (#10755)
* [bsp][renesas][ra4m1-ek] add a new bsp for ra4m1-ek board

* [bsp][renesas][ra4m1-ek] fix can driver compile problem

* [bsp][renesas][ra4m1-ek] bsp code format

* [bsp][renesas][ra4m1-ek] reset file status to original generated by RASC

* [bsp][renesas][ra4m1-ek] support RT-Thread Nano

* [bsp][renesas][ra4m1-ek] make it mini support for GPIO && USART

* [bsp][renesas][ra4m1-ek] make it compilable under the GCC compiler

* [bsp][renesas][ra4m1-ek] remove component RT_USING_CPLUSPLUS

* [bsp][renesas][ra4m1-ek] reduce bsp peripheral device driver
2025-10-15 09:49:37 +08:00
Chen Wang 1dbcde518a utest: UTEST_SCHEDULER_TC -> RT_UTEST_SCHEDULER
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang 0b8d2b3594 utest: UTEST_SMALL_MEM_TC -> RT_UTEST_SMALL_MEM
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang c2e1d7dee1 utest: UTEST_MEMHEAP_TC -> RT_UTEST_MEMHEAP
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
Chen Wang df4fdc0087 utest: UTEST_SELF_PASS_TC -> RT_UTEST_SELF_PASS
Signed-off-by: Chen Wang <unicorn_wang@outlook.com>
2025-10-15 09:43:16 +08:00
4444x f3473ee9ed fix bsp artpi RT_NAME_MAX to 16 2025-10-15 09:38:49 +08:00
Chen Wang e194a08b5a utest: fixed UTEST_SMP_CALL_FUNC
In 66448d9e96 "utest: smp_call: move from example to components/drivers/smp_call"
UTEST_SMP_CALL_FUNC was replaced with RT_UTEST_SMP_CALL_FUNC.
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 <unicorn_wang@outlook.com>
2025-10-14 09:15:15 +08:00
CYFS a3cc233969 feat[can][gd32]: Implement non-blocking send mechanism 2025-10-13 16:11:46 +08:00
Yonggang Luo ae3f52de68 Update compiling of bluetrum/ab32vg1-ab-prougen
remove auto generated cconfig.h
2025-10-13 10:46:58 +08:00
kurisaw e72182d7f4 gd32/driver: fix inaccurate WDT clock timeout feeding issue 2025-10-11 15:27:51 +08:00
Yonggang Luo b2d6e2c268 Use time_t for RT_DEVICE_CTRL_RTC_GET_TIME RT_DEVICE_CTRL_RTC_SET_TIME 2025-10-11 15:27:04 +08:00
Yonggang Luo 5ae232b6d0
bsp/w60x: fixes cppcheck: (#10781)
[cpp_check.py 80 INFO] bsp/w60x/drivers/drv_rtc.c:58:11: error: Syntax Error: AST broken, binary operator '&=' doesn't have two operands. [internalAstError]

[cpp_check.py 80 INFO] libcpu/arm/s3c24x0/rtc.c:34:12: error: Expression 'RTCCON|=RTCCON|=0x01' depends on order of evaluation of side effects [unknownEvaluationOrder]
2025-10-11 09:28:52 +08:00
Yonggang Luo 62bc4ba774 Remove rarely used rt_time_t
next_delay should be rt_tick_t

Use time_t for RT_DEVICE_CTRL_RTC_GET_TIME
2025-10-10 20:21:40 +08:00
zhangyan cc72712173
[CPU/AARCH64] 增加 libcpu/aarch64 KERNEL_ASPACE_START 配置 #10757
针对不同的 Aarch64 BSP 针对 KERNEL_VADDR_START 宏定义进行区分
2025-10-10 11:02:28 +08:00
Yuqiang Wang 4f7bc8c4c0 feat[driver][gd32]: Improve the RTC driver and support alarm interrupts 2025-10-10 10:54:53 +08:00
Yuqiang Wang 34f12d462f format: utilize the clang-format-ignore mechanism 2025-10-03 08:36:58 +08:00
WangShun cb4a370c71
[bsp/xuantie] 添加bsp导入rt-studio相关文件 (#10728)
* [fix] 更新e906的以BSP导入RT-Studio相关文件
2025-09-28 16:11:30 +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
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
CYFS 1daedb0bfc
[bsp][gd32]: can add support for GD32F5xx (#10737) 2025-09-25 18:24:05 +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
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
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 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
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
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