2019-10-24 17:56:09 +08:00
|
|
|
Import('rtconfig')
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
2022-11-30 08:56:50 +08:00
|
|
|
path = [cwd + '/../CMSIS/Core/Include',cwd + '/components/codec', cwd + '/LPC55S6X', cwd + '/LPC55S6X/drivers', cwd + '/middleware/sdmmc/inc', cwd + '/middleware/sdmmc/port']
|
2019-10-24 17:56:09 +08:00
|
|
|
src = Split('''
|
|
|
|
LPC55S6X/system_LPC55S69_cm33_core0.c
|
|
|
|
''')
|
|
|
|
|
2022-05-31 06:04:05 +08:00
|
|
|
if rtconfig.PLATFORM in ['gcc']:
|
2019-10-24 17:56:09 +08:00
|
|
|
src += ['LPC55S6X/gcc/startup_LPC55S69_cm33_core0.S']
|
2022-04-20 09:56:04 +08:00
|
|
|
elif rtconfig.PLATFORM in ['armcc', 'armclang']:
|
2019-10-24 17:56:09 +08:00
|
|
|
src += ['LPC55S6X/arm/startup_LPC55S69_cm33_core0.s']
|
2022-05-31 06:11:15 +08:00
|
|
|
elif rtconfig.PLATFORM in ['iccarm']:
|
2019-10-24 17:56:09 +08:00
|
|
|
src += ['LPC55S6X/iar/startup_LPC55S69_cm33_core0.s']
|
|
|
|
|
|
|
|
src += ['LPC55S6X/drivers/fsl_anactrl.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_casper.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_clock.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_cmp.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_common.c']
|
2022-11-27 15:25:35 +08:00
|
|
|
src += ['LPC55S6X/drivers/fsl_common_arm.c']
|
2019-10-24 17:56:09 +08:00
|
|
|
src += ['LPC55S6X/drivers/fsl_crc.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_ctimer.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_flexcomm.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_dma.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_gint.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_gpio.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_hashcrypt.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_i2c.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_i2c_dma.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_i2s.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_i2s_dma.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_iap.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_inputmux.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_lpadc.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_mrt.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_ostimer.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_pint.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_plu.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_power.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_powerquad_basic.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_puf.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_reset.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_rng.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_rtc.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_sctimer.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_sdif.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_spi.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_spi_dma.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_sysctl.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_usart.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_usart_dma.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_utick.c']
|
|
|
|
src += ['LPC55S6X/drivers/fsl_wwdt.c']
|
|
|
|
|
|
|
|
|
|
|
|
group = DefineGroup('Libraries', src, depend = [''], CPPPATH = path)
|
|
|
|
|
|
|
|
Return('group')
|