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
tianshnegming
2cb9d2bc94
[bsp][at32]修复由于ADC转换完成标志未清除导致ADC多通道读取时概率性地通道错位
2024-03-23 14:43:09 -04:00
Meco Man
3f26998f9c
[bsp] update projects
2024-03-21 11:23:29 +08:00
sheltonyu
b14f299e7d
[bsp/at32] update usb host driver ( #8560 )
2024-02-26 23:17:07 -05:00
sheltonyu
41ab3f7535
fixed usb/usart drivers
2023-11-17 04:26:40 -05:00
sheltonyu
ed357aa014
[bsp/at32] 1.add support at32f402/405 series, 2.update emac/rtc/qspi/usb drivers ( #8245 )
2023-11-09 16:38:19 +08:00
Z8MAN8
19bfdac891
[fix][usb]return data type as rt_ssize_t
...
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-10-11 12:01:20 -04:00
guozhanxin
9e79333512
[project] update mdk/iar project and config.
2023-10-08 11:21:00 +08:00
Meco Man
4e0225a48d
[debug] use LOG_D instead RT_DEBUG_LOG
...
related: https://github.com/RT-Thread/rt-thread/pull/7799
2023-07-28 13:50:32 -04:00
JonasWen
16472d03f7
[bsp][at32]disable spi to change transfer size ( #7448 )
2023-05-06 10:49:39 +08:00
nobody
613e5a3e51
[HUST CSE]fix:修改drv_spi.c空指针问题
2023-04-29 18:16:10 -04:00
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
yangjie11
95e6b69b8e
sync and update all projects ( #7138 )
...
* sync and update
2023-03-31 16:49:48 +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
27da0f0472
format .icf, .lds, .sct
2023-03-20 00:04:51 -04:00
Meco Man
c3820a2c1b
format sconscript Kconfig files
2023-03-19 07:08:27 -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
7542f780e9
replace RT_WEAK macros with rt_weak
2023-02-27 18:27:14 -05: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
a59a8d9302
fixed format error, add auto compile check
2023-02-01 11:30:56 +08: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
Meco Man
ddccef3a64
modify RT_ALIGN_SIZE as 8 by default
2023-01-12 22:47:23 -05:00
Meco Man
592284c66c
format link scripts
2023-01-08 22:52:13 -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
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
Man, Jianting (Meco)
f7be5fc84b
[bsp][applications][sconscript] 整理统一sconscript格式 ( #6481 )
...
* [bsp][sconscript] 整理统一sconscript格式
* update
* update
2022-10-03 10:43:08 -04:00
Meco Man
10695d6a90
[fal] PKG_USING_FAL -> RT_USING_FAL
2022-08-22 09:42:35 +08:00
liuxianliang
a4eb64b873
update the project for RT-Thread_V4.1.1
2022-08-16 19:38:48 +08:00
Meco Man
dd94198bd6
[gcc][armcc][armclang] rtconfig.CROSS_TOOL->rtconfig.PLATFORM
2022-08-16 09:39:00 +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