杨熙 012aa0e0d0
[bsp][lpc55sxx] add support for LPC55S16 (#6743)
* [bsp][lpc55sxx] add support for LPC55S16

* [bsp][lpc55s16] formating LPC55S16 driver
2022-12-14 23:34:08 -05:00

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')