Skip to content

Commit 9ec326f

Browse files
committed
[bsp/wch/arm/Libraries/ch32_drivers/drv_pwm_ch32f10x.c]:support pwm.
[bsp/wch/arm/ch32f103c8-core]:add timer1~4(include 4 channel) pwm.
1 parent 5ce8415 commit 9ec326f

File tree

5 files changed

+562
-17
lines changed

5 files changed

+562
-17
lines changed

bsp/wch/arm/Libraries/ch32_drivers/SConscript

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,9 @@ if GetDepend('SOC_ARM_SERIES_CH32F103'):
3232
if GetDepend(['RT_USING_HWTIMER', 'BSP_USING_HWTIMER']):
3333
src += ['drv_hwtimer_ch32f10x.c']
3434

35+
if GetDepend(['RT_USING_PWM', 'BSP_USING_PWM']):
36+
src += ['drv_pwm_ch32f10x.c']
37+
3538
src += ['drv_common.c']
3639

3740
path = [cwd]

0 commit comments

Comments
 (0)