2019-08-31 13:26:55 +08:00

20 lines
340 B
Python

from building import *
cwd = GetCurrentDir()
src = Split('''
main.c
''')
if GetDepend(['BSP_USING_SPI_LCD']):
src += ['lcd_sample.c']
if GetDepend(['PKG_USING_NRF24L01']):
src += ['nrf24l01_init.c']
CPPPATH = [str(Dir('#')), cwd]
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group')