Wayne Lin dfbeb9e88c Sync Nuvoton porting.
1. NUC980 platform: USBH, INPUTCAPTURE, SPINAND.
2. Correct enter-quad-mode routine in board_dec.c.
3. Use RT_ASSERT to catch system-call-exceptions.
2021-02-01 10:35:44 +08:00

13 lines
333 B
Python

# 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')