61aff201a6
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.
18 lines
347 B
Python
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')
|