2bbbd4b3fd
* [bsp][lpc55sxx] add support of LPC5528/LPC55S28 1. add .ignore_format 2. add support of LPC55S28 3. fix LPC55S69 keil comiple error 3. refine README * [bsp][lpc55sxx] 1. remove cmake file 2. formating code using rt-thread formating tools 3. CMSIS folder -> ../ * [bsp][lpc55s69] - add IAR support(IAR version: 9.30.1)
20 lines
391 B
Python
20 lines
391 B
Python
import rtconfig
|
|
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
src = Glob('main.c')
|
|
CPPPATH = [cwd]
|
|
|
|
# add for startup script
|
|
if rtconfig.PLATFORM in ['gcc']:
|
|
CPPDEFINES = ['__START=entry']
|
|
else:
|
|
CPPDEFINES = []
|
|
|
|
if GetDepend('BSP_USING_SDIO'):
|
|
src += ['mnt.c']
|
|
|
|
group = DefineGroup('Applications', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES=CPPDEFINES)
|
|
|
|
Return('group')
|