| Age | Commit message (Collapse) | Author |
|
- 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
|
|
|
|
|
|
|
|
|
|
|
|
**为什么提交这份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指令支持。
|
|
|
|
* fix bugs of hc32 driver adc and can
|
|
* 添加HC32F460系列ADC外设驱动支持
|
|
* HC32F460 supported
Co-authored-by: JamieTx <[email protected]>
Co-authored-by: Jamie <[email protected]>
|
|
* Unified management interrupt vector table.
|
|
* Add the BSP of HC32 series.
|