Commit Graph

56 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
Meco Man 9bc68d26a4 format Kconfig and sconscript 2023-01-08 22:52:13 -05:00
Man, Jianting (Meco) 99bdf978d7
[rtdef] use lower-case to define attributes (#6728)
* [rtdef] rename RT_WEAK attribute as rt_weak

* [rtdef] rename RT_USED attribute as rt_used

* [rtdef] rename RT_SECTION attribute as rt_section

* [rtdef] rename ALIGN attribute as rt_align

* [legacy] add RT_USED ALIGN RT_SECTION RT_WEAK as legacy support
2022-12-11 13:12:03 -05:00
小李憨憨 5967ce44ff Add annotations 2022-09-06 14:28:45 -04:00
Man, Jianting (Meco) ba6f78bd8e
format code (#5699) 2022-03-24 08:30:41 +08: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
liukangcc 27511885f3 [update] change ccflags to cflags 2022-01-20 11:50:30 +08:00
greedyhao 8a85ff4ebe [bsp/bluetrum] formatting code 2021-11-30 17:26:39 +08:00
greedyhao 26310fe254 [bsp/bluetrum] add flash support 2021-11-30 14:38:51 +08:00
Meco Man a1cc3d43e7 modify time.h to sys/time.h 2021-11-23 22:38:00 -05:00
Meco Man df9a23c534 [mutex] use RT_IPC_FLAG_PRIO to replace RT_IPC_FLAG_FIFO 2021-11-17 15:57:15 -05:00
greedyhao cb81d72f51 [bluetrum] rtc add version check 2021-11-08 10:19:08 +08:00
greedyhao 9d27d8c94b [bluetrum] add gpio input nopull 2021-11-08 10:06:44 +08:00
greedyhao bae4de3b1b add ble support 2021-11-05 17:16:44 +08:00
Bernard Xiong 98404184b1
Merge pull request #5128 from liukangcc/action
[update] add riscv toolchain for ci.
2021-10-13 15:37:26 +08:00
liukangcc 791ec32926 [update] add riscv toolchain for ci. 2021-10-12 10:49:26 +08:00
greedyhao 9fc0c75506 [bsp][bluetrum] convert uintxx_t to rt_uintxx_t 2021-10-11 15:56:02 +08:00
Meco Man 0d4945777d [ab32vg1] 修复NULL和uint8报错 2021-10-01 20:08:50 -04:00
greedyhao e6afb03d14 [bsp][bluetrum] remove .a file 2021-08-12 17:06:26 +08:00
greedyhao 5409ceed63 [bsp][bluetrum] Fixed RTC driver building errors 2021-08-08 16:32:56 +08:00
greedyhao 1e7290231e [bsp][bluetrum] Optimizing the uart driver 2021-08-08 16:31:00 +08:00
leton-tian 4e66a20fbf
Update drv_rtc.c
将rt_int32_t改为time_t。
2021-06-10 22:23:06 +08:00
ZHU Hao 8da49ff984
Update startup.S 2021-05-14 11:59:30 +08:00
ZHU Hao 21beba7913
Update api_fmrx.h 2021-05-13 11:58:09 +08:00
greedyhao 3e65ce5d03 [bluetrum] add fmrx support 2021-05-13 10:22:45 +08:00
greedyhao 74f6a0ba7d [bluetrum] Fix the cache mechanism 2021-05-13 10:22:09 +08:00
YYF 58065b0565
Update drv_usart.c 2021-04-28 09:20:04 +08:00
yaoyufan e2d4a912be fix bluetrum uart1 and uart2 cannot recv data 2021-04-23 10:21:10 +08:00
ZHU Hao 368676a42f
[ab32vg1] update file format 2021-04-14 09:20:53 +08:00
greedyhao ada0570b47 [ab32vg1] add irda support 2021-04-13 10:28:47 +08:00
greedyhao 42dc1c9c3e [ab32vg1] rewrite drv_xx.c 2021-04-09 17:35:26 +08:00
Meco Man 8e1bbb06de [ab32] rt_rtc_control->ab32_rtc_control 2021-03-29 23:39:01 +08:00
iysheng 7f738d9f3a [bsp][ab32vg1] Add alarm and 1 second interrupt support 2021-03-26 23:38:40 +08:00
iysheng d8e906e6c8 [bsp][ab32vg1] Add env config to choose whether use internal clock 2021-03-23 13:50:25 +08:00
iysheng 011564e1eb [bsp][ab32vg1] Modify just set time when first power up 2021-03-23 09:54:54 +08:00
iysheng a05801911e [bsp][ab32vg1] Add support with uart2 and optimize serial port configuration with env tool 2021-03-18 13:49:01 +08:00
JiangYangJie 137bcdd5b4 add GET_PIN(PORTx,PIN)
Signed-off-by: JiangYangJie <JiangYangJie@126.com>
2021-03-14 18:47:54 +08:00
Bernard Xiong 5c4f92126d
Merge pull request #4444 from mysterywolf/wdg
[ab32vg1] 增加看门狗溢出时间宏定义
2021-03-12 08:09:00 +08:00
Meco Man 67e3282aec [ab32vg1] 增加看门狗溢出时间宏定义 2021-03-11 15:18:32 +08:00
Meco Man f18dfa0850 auto formatted 2021-03-11 13:26:54 +08:00
Meco Man f073911cd3 解决底层驱动格林威治时间与当地时间胡乱使用的问题 mktime函数改为timegm函数 2021-02-07 21:08:41 +08:00
greedyhao 4b9e58cb1b [bsp][bluetrum] add adc and rtc support 2021-02-04 13:51:55 +08:00
greedyhao 801aa4747b [bsp][bluetrum] add pwm support 2021-01-28 17:06:09 +08:00
greedyhao 76dbf1936d [bsp][bluetrum] only keep uart driver open 2021-01-26 16:20:25 +08:00
greedyhao 16074235b9 [bsp][bluetrum] add hwtimer support 2021-01-26 16:09:35 +08:00
greedyhao bd07198444 [bsp][bluetrum] add wdt support 2021-01-26 16:09:09 +08:00
greedyhao c92b6e151e [bsp][bluetrum] add i2c support 2021-01-26 16:08:46 +08:00
greedyhao 71bf7993f2 [bsp][bluetrum] change the name of the sd register enum 2021-01-22 16:08:14 +08:00
greedyhao f7565c4467 [bsp][bluetrum] update copyright 2021-01-21 16:08:06 +08:00
greedyhao 7d0155eeaa [bsp][bluetrum] add sdio support 2021-01-20 19:28:26 +08:00