Ubiquitous/RT-Thread_Fusion_XiUOS/aiit_board/xidatong-riscv64/applications/:Update the main function and add the dependency macro of lcd_test.c in SConscript

This commit is contained in:
Beichen
2022-08-03 09:39:02 +08:00
parent 6a9b9fba1a
commit a70a31d282
2 changed files with 15 additions and 6 deletions
@@ -1,9 +1,18 @@
from building import *
cwd = GetCurrentDir()
src = Glob('*.c') + Glob('*.cpp')
src = [
'main.c'
]
CPPPATH = [cwd]
## 设置 lcd_test.c 的依赖宏
if GetDepend('BSP_USING_LCD'):
src += ['lcd_test.c']
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH)
Return('group')