sheltonyu
8612d5e119
[bsp/at32] add support dac driver
2023-04-18 17:16:57 +08:00
Stwsyburg
3f44132ade
Fix: if语句的判断条件存在变量名错误
2023-04-17 22:07:14 -04:00
sheltonyu
4157a2802b
[bsp/at32] add at32f435_437 uart interrupt functions macros
2023-04-14 12:28:19 -04:00
sheltonyu
f86715cee5
[bsp/at32] update for perfection of drv_usart_v2 ( #7210 )
2023-04-14 00:35:07 +08:00
sheltonyu
2352d3e310
[bsp/at32] fixed auto check error
2023-04-07 03:46:36 -04:00
sheltonyu
aa4f2b224d
[bsp/at32] 1.fixed some errors and remove unused contents, 2.add support at32f423 series
2023-04-07 03:46:36 -04:00
sheltonyu
3bee170d52
[bsp/at32] remove #ifndef ( #7168 )
2023-04-03 21:18:49 -04:00
hustlixiang21
dd17ca01e6
[bsp] fix mismatched function types in rt_pin_ops ( #7161 )
2023-04-03 23:04:29 +08:00
Zxy
156fda61cf
[errno code]fix that use RT_ENOMEM without -
2023-03-23 01:55:21 -04: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
sheltonyu
d6605e3f8b
fixed gcc compiling usb driver errors, update for including file position and adding macros
2023-02-27 18:27:14 -05:00
sheltonyu
a5c62b9a84
[bsp/at32] add support usb driver ( #6968 )
...
* add support usb driver
* fixed code format error
2023-02-24 21:47:04 -05:00
jonas
7bf6648853
[serial]增加at32的serial_v2驱动
2023-02-24 14:54:20 +08: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
sheltonyu
c8106bc19b
add support f421/f425
2023-02-01 11:30:56 +08:00
Meco Man
7e177ebf1a
[at32][can]修复CAN驱动返回消息时,错误给id和ide赋值问题
...
该驱动收到can消息时,给上级返回消息结构的id和ide成员赋值不正确。
Signed-off-by: 李刚 <lg28870983@163.com>
2023-01-29 08:44:07 -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
sheltonyu
a64750ebed
[bsp/at32] 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers suppor… ( #6695 )
...
* 1.407/437 uart2 pins change to pd5/pd6. 2.uart and spi drivers support dma
* [bsp/at32] remove #ifndef
2022-12-06 22:13:25 -05:00
wdfk-prog
569e2ae1e8
[CAN]update struct can_filter_item and rt_can_msg ( #6556 )
...
* 修改ry命令,已便于自定义保存路径
* modified: components/utilities/ymodem/ry_sy.c
* 修复从被动错误恢复后发送返回异常
* 修复在自动重传模式下,ACK异常阻塞线程
- 删除TX中断函数else分支。仅当RQCP位 置一才进入该中断
- 添加SCE中断函数中关于ACK_ERR的else判断。自动重传模式下会进入该判断,打断自动重传释放完成量。
* 增加对于CAN1与CAN2的SCE中断和TX中断的公共处理函数
* formatting格式化代码
* update struct can_filter_item and rt_can_msg
1. 对过滤器号和索引号结构体定义中同一名称hdr进行重命名hdr_bank和hdr_index,
以便准确区分.采用宏定义兼容以前变量名.
2. 添加接收标识rxfifo,已指明是哪个RXFIFO.
* 更正42M下的波特率
* 修复接收获取索引号错误
* 添加接收标识
* 更新注释
* 取消CANFD限制
* update struct can_filter_item and rt_can_msg
2022-11-21 21:45:51 -05:00
sheltonyu
1d77744a37
optimize emac and usart driver code
2022-10-16 17:56:50 -04:00
Meco Man
10695d6a90
[fal] PKG_USING_FAL -> RT_USING_FAL
2022-08-22 09:42:35 +08:00
Fan Yang
666af5e29d
[DeviceDriver] Add CANFD support and correct typos ( #5912 )
...
* Add CANFD support and correct typos
- Added CANFD required fields to can.h
- Fixed typos in can.h and can.c
- Corrected all the projects affected by the typo
- Fixed wrong line-ending in some affected can driver files
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
* update
Signed-off-by: Fan YANG <fan.yang@hpmicro.com>
Co-authored-by: Meco Man <920369182@qq.com>
2022-08-13 22:59:28 -04:00
Man, Jianting (Meco)
9595df24f1
attach #6166 ( #6168 )
2022-07-23 11:53:42 +08:00
sheltonyu
5c6e7d815b
optimize code to improve network throughput performance ( #6157 )
2022-07-12 08:40:58 +08:00
Man, Jianting (Meco)
2c10d5ad01
[rtc] use gmtime_r to replace gmtime ( #6012 )
...
* [rtc] use gmtime_r to replace gmtime
2022-06-22 13:41:06 +08:00
xfwangqiang
e8d775f888
[componnets][pin]add pin operate command in MSH ( #5892 )
...
* 1. 在AT32的BSP的drv_gpio中增加了at32_pin_get函数,用于实现rt_pin_ops对象中的pin_get
2. 在MSH中增加了PIN的操作命令
3. 为了方便在MSH命令中解析字符串,增加了一些字符串相关的函数
2022-05-30 18:00:26 +08:00
sheltonyu
d466bd0540
[bsp/at32] 1、调整文件结构,合并各系列独立的rt-drivers,以便维护。 2、更新各系列library和工程相关内容
2022-05-19 15:00:03 +08:00