2022-10-03 15:07:07 +08:00
|
|
|
# RT-Thread building script for component
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
group = []
|
|
|
|
if GetDepend('BSP_USING_USBH'):
|
2023-01-09 10:14:23 +08:00
|
|
|
src = Glob('*src/*.c') + Glob('src/*.cpp')
|
|
|
|
CPPPATH = [cwd + '/inc']
|
|
|
|
group = DefineGroup('ma35d1_usbhostlib', src, depend = [''], CPPPATH = CPPPATH)
|
2022-10-03 15:07:07 +08:00
|
|
|
|
|
|
|
Return('group')
|