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
xiaoxiaolisunny
af82606dd3
[bsp][hc32]添加hc32f460系列WDT外设驱动 ( #6158 )
...
* 添加hc32f460系列外设WDT驱动
* format kconfig
* Update drv_wdt.c
Co-authored-by: Man, Jianting (Meco) <920369182@qq.com>
2022-08-02 22:46:35 -04:00
梁生
c7ce44ab3a
[bsp/hc32]添加timerA的pwm驱动
2022-07-31 23:14:13 -04:00
JamieTx
50d514a8a4
modify precompile waring for uart,spi driver.
2022-07-30 14:53:34 -04:00
levizhxl
626da096d3
delet old HC32F460 bsp and modify README.md ( #6100 )
2022-06-22 09:32:21 +08:00
ueJone
956fdc60c0
接收错误中断未触发的问题
...
/* Enable error interrupt */
NVIC_EnableIRQ(uart->config->rxerr_irq.irq_config.irq_num);
上述代码使能错误接收中断后需要使能串口的接收中断`USART_INT_RX`才可以正常触发中断
2022-06-21 14:16:17 +08:00
梁生
f41cb5636f
修复hc32f460的can总线在bus off状态时死机问题,修复can滤波器设置失效问题 ( #6083 )
...
* [bsp][hc32]fix can bus driver bug.
1. 更改硬件滤波器数量为8,和手册描述一致。
2. 修复_can_control()函数,RT_CAN_CMD_SET_FILTER指令,当应用层ID超出29bit时导致滤波器失效的问题。
3. 修改_can_control()函数,RT_CAN_CMD_SET_FILTER指令,
可同时支持标准帧和扩展帧。
4. 修复can总线故障关闭时,程序一直卡在中断中无法退出的问题。
5. 针对can收发器硬件STB引脚,增加宏定义CAN1_STB_FUNC_ENABLE,适配没有STB引脚的收发器。
This reverts commit 7fcd8e9afc68eecf5fecc4cb6f9acc4fe76c2796.
2022-06-21 11:12:35 +08:00
梁生
3323366694
[bsp][hc32]support MDK AC6 compiler ( #6087 )
2022-06-16 14:18:55 +08:00
xiaoxiaolisunny
9d0f088e20
添加HC32F460系列RTC外设驱动 ( #6069 )
...
* 添加HC32F460系列RTC外设驱动
2022-06-15 10:38:35 +08:00
cmbjxxiao
c8d92d7529
fix bugs of hc32 driver adc and can ( #6077 )
...
* fix bugs of hc32 driver adc and can
2022-06-15 10:37:27 +08:00
xiaoxiaolisunny
5ccf6a0fa8
添加HC32F460系列ADC外设驱动支持 ( #6067 )
...
* 添加HC32F460系列ADC外设驱动支持
2022-06-13 21:13:51 +08:00
xiaoxiaolisunny
fabd8cf03e
修改格式
2022-06-13 11:33:48 +08:00
xiaoxiaolisunny
65669de0e3
[bsp][hc32]添加HC32F460系列模拟I2C外设驱动支持
2022-06-13 11:33:48 +08:00
ueJone
138925be08
修复多串口的描述符被覆盖的问题 ( #6051 )
...
[bsp][HC32] 修复使用多串口的描述符被覆盖的问题
2022-06-09 14:32:37 +08:00
xiaoxiaolisunny
3151d01d85
修改USART2_RX_PIN
2022-06-09 07:05:23 +08:00
xiaoxiaolisunny
a738849257
添加HC32F460系列CAN设备驱动支持
2022-06-09 07:05:23 +08:00
Meco Man
c9878aacd2
[scons][iar] 将IAR的PLATFORM字段由iar调整为iccarm
...
将路径更新为IAR最新版本的路径
2022-06-09 07:01:59 +08:00
Meco Man
83b3aadaa3
[Scons][iar][iccarm] IAR统一使用iccarm作为判断条件而不是是用IDE的名字来进行判断
...
因为不确定后续IAR是否会像Keil一样内含有不同的编译工具链
此外,将判断条件改为列表方式,这样更方便后续增加其他可能的IAR编译链
2022-06-09 07:01:59 +08:00
xiaoxiaolisunny
e622ef3aec
添加USART1/2/3的管脚配置操作 ( #6039 )
2022-06-08 23:29:32 +08:00
levizhxl
093793dfe2
HC32 configuration file revise ( #6015 )
...
* fixed some configuration errors.
2022-06-06 09:56:05 +08:00
levizhxl
1d6347796d
Hc32 pr ( #6003 )
...
* HC32F460 supported
Co-authored-by: JamieTx <yangjp24@126.com>
Co-authored-by: Jamie <48308473+JamieTx@users.noreply.github.com>
2022-05-31 11:53:56 +08:00
Jamie
db27095da6
Unified management interrupt vector table. ( #5925 )
...
* Unified management interrupt vector table.
2022-05-15 20:57:35 +08:00
Jamie
28b551bfe3
Add the BSP of HC32 series. ( #5905 )
...
* Add the BSP of HC32 series.
2022-05-06 09:28:21 +08:00