1.RT_TIMER_TICK_PER_SECOND替换为RT_TICK_PER_SECOND 2.nxp lpc、imx、mcx系列bsp修复 3.lpc824支持gcc 4.lpc824、lpc1114 bsp默认使用nano版本 5.nxp scons --dist问题修复 6.rt-spark lvgl latest 编译修复
21 lines
635 B
Python
21 lines
635 B
Python
Import('RTT_ROOT')
|
|
Import('rtconfig')
|
|
from building import *
|
|
|
|
if GetDepend('BSP_USING_QSPIFLASH'):
|
|
cwd = GetCurrentDir()
|
|
src = Glob('*.c')
|
|
CPPPATH = [cwd]
|
|
|
|
if rtconfig.PLATFORM in ['armcc', 'armclang']:
|
|
LINKFLAGS = ' --keep=*(.boot_hdr.ivt)'
|
|
LINKFLAGS += ' --keep=*(.boot_hdr.boot_data)'
|
|
LINKFLAGS += ' --keep=*(.boot_hdr.dcd_data)'
|
|
LINKFLAGS += ' --keep=*(.boot_hdr.conf)'
|
|
LINKFLAGS += ' --predefine="-DXIP_BOOT_HEADER_ENABLE=1"'
|
|
else:
|
|
LINKFLAGS = ''
|
|
|
|
group = DefineGroup('xip', src, depend = [''], CPPPATH = CPPPATH, LINKFLAGS = LINKFLAGS)
|
|
Return('group')
|