summaryrefslogtreecommitdiff
path: root/bsp/wch/arm/Libraries/ch32_drivers/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2021-09-27 13:49:45 +0800
committerGitHub <[email protected]>2021-09-27 13:49:45 +0800
commit4a9ecd8d0d3cf4bfbbd05ab76829879aa0b6423d (patch)
treed330efaa04829b74023fd3807431f9d05eeaca86 /bsp/wch/arm/Libraries/ch32_drivers/SConscript
parentcbf0cd12172bbb47bab1629fc371b60129f684bc (diff)
parent9ec326f9317e46d2eb1b1feab49d22bd4c10ab19 (diff)
Merge pull request #5095 from charlown/master
support ch32f10x pwm driver.
Diffstat (limited to 'bsp/wch/arm/Libraries/ch32_drivers/SConscript')
-rw-r--r--bsp/wch/arm/Libraries/ch32_drivers/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/wch/arm/Libraries/ch32_drivers/SConscript b/bsp/wch/arm/Libraries/ch32_drivers/SConscript
index c20517b2e4..fece8366d7 100644
--- a/bsp/wch/arm/Libraries/ch32_drivers/SConscript
+++ b/bsp/wch/arm/Libraries/ch32_drivers/SConscript
@@ -32,6 +32,9 @@ if GetDepend('SOC_ARM_SERIES_CH32F103'):
if GetDepend(['RT_USING_HWTIMER', 'BSP_USING_HWTIMER']):
src += ['drv_hwtimer_ch32f10x.c']
+ if GetDepend(['RT_USING_PWM', 'BSP_USING_PWM']):
+ src += ['drv_pwm_ch32f10x.c']
+
src += ['drv_common.c']
path = [cwd]