[Drivers] Add sensor framework

This commit is contained in:
Bernard Xiong
2014-11-01 09:09:52 +08:00
parent b84123b0b4
commit 18cd95688d
3 changed files with 1144 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
# SConscript for sensor framework
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
CPPPATH = [cwd, cwd + '/../include']
group = DefineGroup('Sensors', src, depend = ['RT_USING_SENSOR', 'RT_USING_DEVICE'], CPPPATH = CPPPATH)
Return('group')