2018-12-17 10:44:30 +08:00
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2019-08-31 13:26:55 +08:00
|
|
|
|
|
|
|
src = Split('''
|
|
|
|
main.c
|
|
|
|
''')
|
|
|
|
|
|
|
|
if GetDepend(['BSP_USING_SPI_LCD']):
|
|
|
|
src += ['lcd_sample.c']
|
|
|
|
|
|
|
|
if GetDepend(['PKG_USING_NRF24L01']):
|
|
|
|
src += ['nrf24l01_init.c']
|
|
|
|
|
2018-12-17 10:44:30 +08:00
|
|
|
CPPPATH = [str(Dir('#')), cwd]
|
|
|
|
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
Return('group')
|