You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
342 B
13 lines
342 B
5 months ago
|
# RT-Thread building script for component
|
||
|
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
group = []
|
||
|
if GetDepend('BSP_USING_HSUSBH') or GetDepend('BSP_USING_USBH'):
|
||
|
src = Glob('*src/*.c') + Glob('src/*.cpp')
|
||
|
CPPPATH = [cwd + '/inc']
|
||
|
group = DefineGroup('nuc980_usbhostlib', src, depend = [''], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|