Commit Graph

10 Commits

Author SHA1 Message Date
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
LiuKang 75a7cb6929
[update] add fal component. (#5662)
* [update] add fal component.

* [update] format code.

* [update] change PKG_USING_FAL to RT_USING_FAL

* [update] format code.

* [update] fal

* [update] delete FAL_SW_VERSION
2022-03-15 09:48:05 +08:00
charlown 94cfe1d338 [bsp/wch/arm/Libraries/ch32_drivers]format code. 2022-01-26 18:07:36 +08:00
charlown 7b2b9cdb70 add wch ch32f203r-evt bsp. 2022-01-26 18:07:36 +08:00
Man, Jianting (Meco) bb1084556f [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题
* [console] 解决在没有定义RT_USING_DEVICE的情况下使用device报错的问题

* format codes

* [libc] 整理格式

* refresh projects
2022-01-09 00:20:32 +08:00
charlown a9aa150e16 [bsp/wch/arm/Libraries/ch32_drivers/drv_rtc_ch32f10x.c]: rename rtc ops. 2021-10-11 21:29:23 +08:00
charlown 9ec326f931 [bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c]:support pwm.
[bsp/wch/arm/ch32f103c8-core]:add timer1~4(include 4 channel) pwm.
2021-09-23 23:20:16 +08:00
charlown 5ce84153f3 [bsp/wch/arm/Libraries/ch32_drivers/drv_hwtimer_ch32f10x.c]:rename func: ch32f1_hwtimer_clock_init, ch32f1_hwtimer_clock_get, hwtimer and pwm will be use it. change some code annotation.
[bsp/wch/arm/ch32f103c8-core]: rename func.
2021-09-10 17:12:31 +08:00
charlown 84111766f9 [bsp/wch/arm/Libraries/ch32_drivers]: support ch32f10x hwtimer.
[bsp/wch/arm/ch32f103c8-core]: add hwtimer1~4.
2021-09-08 16:45:55 +08:00
charlown 2e74dd8e2d support ch32f10x family, add ch32f103c8-core bsp 2021-08-31 14:41:35 +08:00