39 lines
1.4 KiB
Python
39 lines
1.4 KiB
Python
Import('env')
|
|
Import('RTT_ROOT')
|
|
|
|
# The set of source files associated with this SConscript file.
|
|
src_local = Split("""
|
|
CMSIS/Core/CM3/core_cm3.c
|
|
CMSIS/Core/CM3/system_stm32f10x.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_crc.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_rcc.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_wwdg.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_pwr.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_exti.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_bkp.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_i2c.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_adc.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_dac.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_rtc.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_fsmc.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_tim.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_iwdg.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_spi.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_flash.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_sdio.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_gpio.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_usart.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_dbgmcu.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_dma.c
|
|
STM32F10x_StdPeriph_Driver/src/stm32f10x_can.c
|
|
STM32F10x_StdPeriph_Driver/src/misc.c
|
|
""")
|
|
|
|
path = [RTT_ROOT + '/bsp/stm3210/Libraries/STM32F10x_StdPeriph_Driver/inc', RTT_ROOT + '/bsp/stm3210/Libraries/CMSIS/Core/CM3']
|
|
|
|
env.Append(CPPPATH = path)
|
|
|
|
obj = env.Object(src_local)
|
|
|
|
Return('obj')
|