summaryrefslogtreecommitdiff
path: root/components/drivers/misc/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-08-21 13:48:12 +0800
committerGitHub <[email protected]>2019-08-21 13:48:12 +0800
commitd682c35441a033a2d4f09975bb7453522ce8269d (patch)
treea61ccd38fbf2d38a33e7dc1ec794eb8c4f654c8a /components/drivers/misc/SConscript
parent418757fa6732fca3ba9d33ea6daad054f06612fd (diff)
parentf9bad31d57132fce38cc1036efaec045ca21c79b (diff)
Merge pull request #2948 from balanceTWK/master_capture
[components][drivers] add input capture driven framework
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 3bfb73fea0..f0d177f761 100644
--- a/components/drivers/misc/SConscript
+++ b/components/drivers/misc/SConscript
@@ -17,6 +17,9 @@ if GetDepend(['RT_USING_PWM']):
if GetDepend(['RT_USING_ENCODER']):
src = src + ['encoder.c']
+if GetDepend(['RT_USING_INPUT_CAPTURE']):
+ src = src + ['rt_inputcapture.c']
+
if len(src):
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)