2020-12-21 14:34:01 +08:00
|
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
|
|
Import('RTT_ROOT')
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
src = Glob('*.c') + Glob('*.cpp')
|
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
group = []
|
|
|
|
|
|
|
|
|
|
# USB driver constrain
|
2021-02-01 10:35:44 +08:00
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
2020-12-21 14:34:01 +08:00
|
|
|
|
|
|
|
|
|
Return('group')
|