summaryrefslogtreecommitdiff
path: root/components/drivers/misc/SConscript
diff options
context:
space:
mode:
authortangweikang <[email protected]>2019-08-13 20:14:45 +0800
committertangweikang <[email protected]>2019-08-13 20:33:23 +0800
commit473505053feebb4eb1e2e870d5e042776556d24c (patch)
treead463825234c1bd5c8400912769f45a88e62f186 /components/drivers/misc/SConscript
parent3b252d5b9721bb7cc649dad832507937efc1e96c (diff)
[components][drivers] add 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..7bc638f427 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_CAPTURE']):
+ src = src + ['rt_capture.c']
+
if len(src):
group = DefineGroup('DeviceDrivers', src, depend = [''], CPPPATH = CPPPATH)