1import rtconfig
2from building import *
3
4# get current directory
5cwd = GetCurrentDir()
6
7# The set of source files associated with this SConscript file.
8
9src = Glob('Hal_lib/src/*.c')
10src += [cwd + '/CMSIS_and_startup/sys.c']
11src += [cwd + '/CMSIS_and_startup/startup_Tk499.s']
12
13path = [
14    cwd + '/CMSIS_and_startup/CMSIS',
15    cwd + '/CMSIS_and_startup',
16    cwd + '/Hal_lib/inc',]
17
18CPPDEFINES = []
19
20group = DefineGroup('TKM32_Lib', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)
21
22Return('group')
23