summaryrefslogtreecommitdiff
path: root/bsp/hc32/libraries
AgeCommit message (Collapse)Author
2025-03-10fix - 1 优化中断中打印日志问题;2 ↵JOONH0o
优化SPI写外部FLASH慢的问题 (#10009) * 1. 优化中断中打印日志问题;2 优化SPI写外部FLASH慢的问题 * 2. 在spi驱动中有在中断中打印调试信息的问题,增加ISR log判断进行 * 3. spi+DMA 写外部flash,由于spi速度很快,不进行delay就可以;同时,仿照Linux的驱动框架进行优化,数据小不使用DMA
2025-01-21Add pm driver for F472 and add lVD unlock in board_initJamie
2025-01-19[BSP] add some bsp drivers for F448, F472 and add bsp test codesJamie
2024-12-21[bsp/hc32]hc32f460 doesn't support CAN-FD, hc32_ll_can.h has no some ↵Lin-Chengqiu
definations.
2024-12-04[bsp][hc32][spi]update rt_hw_spi_device_attachyangpeng
2024-11-09[bsp/hc32] fix uart dma if gcc optimization level is not noneliuchao
2024-10-28[bsp][hc32] 修复SPI驱动的片选脚获取方式Kai
2024-08-23[device] add dev_ prefix for file namesCXSforHPU
2024-06-10[BSP] HC32F460 在 SConscript 补充几个源文件 (#9042)sp-cai
[BSP] HC32F460 工程中增加几个源文件
2024-05-16[HC32] Fixed a bug about erase flash.JamieTx
2024-04-29[i2c] adjust the timing for I2C initializationLZerro
2024-04-29[HC32] support HC32F472 & remove residual fileschengy2
2024-03-24[bsp][drv_gpio] fix the error code return when pin number is illegalMeco Man
2024-03-23[pin] pin_read/write rt_uint8_t to rt_ssize_tkk
2024-03-07[BSP][HC32] drv_usart.c fix macro switch errorsp-cai
2024-02-22[bsp][hc32] support hc32f448skllii
2024-01-16[bsp][hc32]更正pin和usart初始化顺序(bug fix)yangpengya
#8480 #8458
2024-01-09[hc32] Add some bsp drivers. (#8480)Jamie
2024-01-02[bsp][hc32]更正pin和usart初始化顺序yangpeng
2023-11-14[bsp][hc32]优化can驱动和pwm驱动 (#8217)梁生
**为什么提交这份PR (why to submit this PR)** 1. hc32驱动函数和rtt函数声明之间的参数类型不一致,在mdk编译时产生警告。 2. hc32的can设备,在注册时就把can中断使能了。导致can设备在打开前,就会产生中断。 3. hc32的pwm驱动,不支持PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令,导致rt_pwm_set_pulse()函数返回失败。 **你的解决方案是什么 (what is your solution)** 1. 修改hc32驱动函数参数类型和声明一致。 2. 注册can设备时主动禁止can中断,因为打开设备时会主动打开中断。 3. 修改pwm驱动,增加PWM_CMD_SET_PERIOD和PWM_CMD_SET_PULSE指令支持。
2023-05-08[bsp] fix mismatched function types in rt_pin_ops for all drv_gpio.c (#7457)Placebo27
2023-04-29[HUST CSE]fix:修改drv_spi.c空指针问题nobody
2023-03-23[errno code]fix that use RT_ENOSYS without - (#7084)Zxy
* [errno code]fix that use RT_ENOSYS without - * Update bsp/airm2m/air32f103/libraries/rt_drivers/drv_hwtimer.c --------- Co-authored-by: Man, Jianting (Meco) <[email protected]>
2023-03-22[errno code][-RT_EBUSY] fix that use RT_EBUSY without -Meco Man
2023-03-20[errno code][-RT_ERROR] fix that use RT_ERROR without -Meco Man
2023-03-16[errno code][-RT_EINVAL] fix that use RT_EINVAL without -Meco Man
2023-03-16[error code][-RT_EIO] fix that use RT_EIO without -Meco Man
2023-02-07rt_device_write/read return data type as rt_ssize_tMeco Man
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-01-08format link scriptsMeco Man
2023-01-08format Kconfig and sconscriptMeco Man
2022-11-21[CAN]update struct can_filter_item and rt_can_msg (#6556)wdfk-prog
* 修改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-08-13[DeviceDriver] Add CANFD support and correct typos (#5912)Fan Yang
* 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 <[email protected]> * update Signed-off-by: Fan YANG <[email protected]> Co-authored-by: Meco Man <[email protected]>
2022-08-02[bsp][hc32]添加hc32f460系列WDT外设驱动 (#6158)xiaoxiaolisunny
* 添加hc32f460系列外设WDT驱动 * format kconfig * Update drv_wdt.c Co-authored-by: Man, Jianting (Meco) <[email protected]>
2022-07-31[bsp/hc32]添加timerA的pwm驱动梁生
2022-07-30modify precompile waring for uart,spi driver.JamieTx
2022-06-21接收错误中断未触发的问题ueJone
/* Enable error interrupt */ NVIC_EnableIRQ(uart->config->rxerr_irq.irq_config.irq_num); 上述代码使能错误接收中断后需要使能串口的接收中断`USART_INT_RX`才可以正常触发中断
2022-06-21修复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-15添加HC32F460系列RTC外设驱动 (#6069)xiaoxiaolisunny
* 添加HC32F460系列RTC外设驱动
2022-06-15fix bugs of hc32 driver adc and can (#6077)cmbjxxiao
* fix bugs of hc32 driver adc and can
2022-06-13添加HC32F460系列ADC外设驱动支持 (#6067)xiaoxiaolisunny
* 添加HC32F460系列ADC外设驱动支持
2022-06-13[bsp][hc32]添加HC32F460系列模拟I2C外设驱动支持xiaoxiaolisunny
2022-06-09修复多串口的描述符被覆盖的问题 (#6051)ueJone
[bsp][HC32] 修复使用多串口的描述符被覆盖的问题
2022-06-09添加HC32F460系列CAN设备驱动支持xiaoxiaolisunny
2022-05-31Hc32 pr (#6003)levizhxl
* HC32F460 supported Co-authored-by: JamieTx <[email protected]> Co-authored-by: Jamie <[email protected]>
2022-05-15Unified management interrupt vector table. (#5925)Jamie
* Unified management interrupt vector table.
2022-05-06Add the BSP of HC32 series. (#5905)Jamie
* Add the BSP of HC32 series.