summaryrefslogtreecommitdiff
path: root/components/drivers/misc/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2018-06-10 18:01:15 +0800
committerBernard Xiong <[email protected]>2018-06-10 18:01:15 +0800
commit564df04da1e0d0e7e3ac374fc7c3a51f2b0dba21 (patch)
treebf6c7b6d4514f8187d1ba4c87a7afc1ee641d901 /components/drivers/misc/SConscript
parent8e67f65688eae1da7c9191de5c983e828fce3c91 (diff)
parente1a57f053a4b77cabaf988779c107c54c7995e77 (diff)
Merge branch 'master' of https://github.com/RT-Thread/rt-thread
Diffstat (limited to 'components/drivers/misc/SConscript')
-rw-r--r--components/drivers/misc/SConscript3
1 files changed, 3 insertions, 0 deletions
diff --git a/components/drivers/misc/SConscript b/components/drivers/misc/SConscript
index 7f269d4ee9..4cc5f80084 100644
--- a/components/drivers/misc/SConscript
+++ b/components/drivers/misc/SConscript
@@ -8,6 +8,9 @@ group = []
if GetDepend(['RT_USING_PIN']):
src = src + ['pin.c']
+if GetDepend(['RT_USING_PWM']):
+ src = src + ['rt_drv_pwm.c']
+
if len(src):
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)