4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-15 23:59:32 +08:00
bernard.xiong@gmail.com 08240e3b8b import STM32F2xx branch.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1559 bbd45198-f89e-11dd-88c7-29a3b14d5316
2011-06-30 14:15:08 +00:00

14 lines
377 B
Python

import rtconfig
Import('RTT_ROOT')
from building import *
src_bsp = ['application.c', 'startup.c', 'board.c', 'stm32f20x_it.c']
src_drv = ['usart.c', 'serial.c']
src = src_bsp + src_drv
CPPPATH = [str(Dir('#'))]
CPPDEFINES = ['USE_STDPERIPH_DRIVER']
group = DefineGroup('Startup', src, depend = [''], CPPPATH = CPPPATH, CPPDEFINES = CPPDEFINES)
Return('group')