summaryrefslogtreecommitdiff
path: root/bsp/hc32/libraries/hc32_drivers/drv_spi.c
AgeCommit message (Collapse)Author
2026-09-16[HC32][BSP] Delete PM_TICKLESS_TIMER_ENABLE_MASK in pm_config.h, modify ↵Leeto
'NAME_MAX' to 24 #11798
2026-07-14[HC32] Add HC32F4A2/HC32F467 BSP supportLeeto1970
- Add chip macro for driver - Modify 'IDLE_THREAD_STACK_SIZE' to 512 - Modify 'HWTIMER' to 'CLOCK_TIMER' - Use 'clang-format' format driver and BSP code - Fix SPI clock division configuration
2025-08-22Update bsp drivers for F334.JamieTx
2025-07-18Add ev_hc32f334_lqfp64 board and update package relation. #10522Jamie
2025-04-29[hc32] Add the ev_hc32f4a8_lqfp176 board and modify some bsp drivers. (#10233)Jamie
* [hc32] Add the ev_hc32f4a8_lqfp176 board and modify some bsp drivers.
2025-02-24fix - 1 优化中断中打印日志问题;2 ↵JOONH0o
优化SPI写外部FLASH慢的问题 (#10009) * 1. 优化中断中打印日志问题;2 优化SPI写外部FLASH慢的问题 * 2. 在spi驱动中有在中断中打印调试信息的问题,增加ISR log判断进行 * 3. spi+DMA 写外部flash,由于spi速度很快,不进行delay就可以;同时,仿照Linux的驱动框架进行优化,数据小不使用DMA
2024-12-04[bsp][hc32][spi]update rt_hw_spi_device_attachyangpeng
2024-10-28[bsp][hc32] 修复SPI驱动的片选脚获取方式Kai
2024-04-29[HC32] support HC32F472 & remove residual fileschengy2
2024-02-22[bsp][hc32] support hc32f448skllii
2024-01-09[hc32] Add some bsp drivers. (#8480)Jamie
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-04-29[HUST CSE]fix:修改drv_spi.c空指针问题nobody
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
2022-07-30modify precompile waring for uart,spi driver.JamieTx
2022-05-31Hc32 pr (#6003)levizhxl
* HC32F460 supported Co-authored-by: JamieTx <[email protected]> Co-authored-by: Jamie <[email protected]>
2022-05-06Add the BSP of HC32 series. (#5905)Jamie
* Add the BSP of HC32 series.