Commit Graph

32 Commits

Author SHA1 Message Date
Meco Man 6a9c42a19d [bsp][drv_gpio] fix the error code return when pin number is illegal 2024-03-24 09:18:25 +08:00
kk 2549b82bd6
[pin] pin_read/write rt_uint8_t to rt_ssize_t 2024-03-23 14:50:31 -04:00
Meco Man 2d1f46d31c [bsp][allwinner tina] fix drv_gpio header file included 2024-01-07 22:46:12 +08:00
hustlixiang21 5554bb58b3
[HUST CSE][bsp]fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7185) 2023-04-06 23:42:05 -04:00
shandianchengzi e49140b513
[HUST CSE IoTS&P Lab][bsp] add missing UL suffix to BIT macro to prevent undefined behavior (#7153)
* [bsp] add missing UL suffix to BIT macro to prevent undefined behavior.

* [bsp] add UL suffix to BIT macro for consistency and readability.

* fix toUppercase.

* fix the abnormal character.

* format the file.
2023-04-03 23:05:42 +08:00
Meco Man 0f461e870c [errno code][-RT_ERROR] fix that use RT_ERROR without - 2023-03-20 00:06:16 -04:00
Meco Man dfddd79b24 [errno code][-RT_EINVAL] fix that use RT_EINVAL without - 2023-03-16 20:21:43 -04:00
Meco Man 2cc9bd876e [error code][-RT_EIO] fix that use RT_EIO without - 2023-03-16 20:20:37 -04:00
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
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
Man, Jianting (Meco) f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 (#6481)
* [bsp][sconscript] 整理统一sconscript格式

* update

* update
2022-10-03 10:43:08 -04: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
Meco Man dfa72b980d [allwinner_tina] manual & auto formatted 2021-03-29 07:11:44 +08:00
yangjie eeaf1fcc50 resolve Conflicts
bsp/nrf52832/board/Sconscript
	bsp/nrf52832/startups/Sconscript
	bsp/raspberry-pi/raspi4-32/driver/SConscript
2020-12-28 12:02:31 +08:00
linyiyang e561dd77bc [bsp][allwinner_tina]fixed uart1 gpio rx/tx pin; 2020-11-30 09:07:33 +08:00
yangjie11 91261e25b9 [SConscript]rename group name 2020-11-20 13:38:11 +08:00
linyiyang d005a0717b [bsp][allwinner_tina]fixed spi driver bug 2020-11-10 13:47:01 +08:00
yangjie 38b3a3445e [bsp][driver] 初始化 BSP 中的 rt_pin_ops 2020-09-11 11:16:42 +08:00
armink 615c5733f0 [bsp/allwinner_tina] Remove the w25qxx driver code. 2019-05-29 14:15:56 +08:00
armink fa4d4ab7cf Update all of debug log definition to DBG_TAG and DBG_LVL. 2019-04-12 10:18:57 +08:00
armink 0d7ba79219 Remove the DBG_COLOR and DBG_ENABLE definition. 2019-03-06 17:54:30 +08:00
armink 83b7b763b7 The dbg_log API is DISCARDED. Change all dbg_log to LOG_X. 2018-11-02 10:20:30 +08:00
SASANO Takayoshi 829ea925fc To avoid 'unknown type name' error, replace uint8_t and uint16_t to
rt_uint8_t and rt_uint16_t respectively.
2018-09-24 08:14:36 +09:00
armink 6cd8658dad [rtdbg] Change all DBG_SECTION_NAME to new format. 2018-07-11 10:23:19 +08:00
luo jiao ef8398c2bb [components][drivers][pin module]:typo fix for pin_detach_irq 2018-06-26 22:18:58 +08:00
zyh 39558535f2 [Bsp][Tina]Add spi driver 2018-04-20 11:48:04 +08:00
zyh 7cbeb251e4 [Bsp][Tina]Add SDIO Driver 2018-04-20 11:15:07 +08:00
zyh 75194461ea [Bsp][Tina]Add mmc clock and dram gate 2018-04-20 11:04:07 +08:00
tangyuxin 5301a1b9d3 [bsp][allwinner_tina]更改表意不清晰的函数名字 2018-03-08 12:02:25 +08:00
emlslxl e65729660f fix uart register address structure type 2018-02-27 10:47:49 +08:00
ZYH ccf15490c9 [Bsp][Tina]Fix uart bug 2018-02-19 15:31:28 +08:00
uestczyh222 9bf2a755e0 [Bsp][New BSP]New bsp for allwinner tina 2018-02-09 15:20:38 +08:00