rt-thread/bsp/stm32/stm32l475-atk-pandora/applications/SConscript

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