Files
xiuos/Ubiquitous/RT_Thread/aiit_board/xidatong/applications/SConscript
T
chunyexixiaoyu 61aff201a6 Ubiquitous/RT_Thread/:add xidatong bsp
1.mdk keil project is supported.
2.gcc is supported.
3.boot image can be configured to be selected or not,if you use mdk keil,please select xip boot image
4. bin and elf files can be load by NXP-MCUBootUtility.exe.
2022-03-23 14:25:35 +08:00

18 lines
347 B
Python

import os
import rtconfig
from building import *
cwd = GetCurrentDir()
src = Glob('*.c')
CPPPATH = [cwd]
# add for startup script
if rtconfig.CROSS_TOOL == 'gcc':
CPPDEFINES = ['__START=entry']
else:
CPPDEFINES = []
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
Return('group')