18 lines
313 B
Python
18 lines
313 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
src = Split('''
|
|
main.c
|
|
''')
|
|
|
|
if GetDepend(['BSP_USING_USBD']):
|
|
if GetDepend(['RT_USB_DEVICE_CDC']):
|
|
src += ['uart_sample.c']
|
|
|
|
CPPPATH = [str(Dir('#')), cwd]
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|