summaryrefslogtreecommitdiff
path: root/bsp/hc32/ev_hc32f467_lqfp144/board/SConscript
blob: f7786d16aec567edfdc135223904850fa8dff34b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
from building import *

cwd = GetCurrentDir()

# add general drivers
src = Split('''
board.c
board_config.c
''')

path =  [cwd]
path += [cwd + '/ports']
path += [cwd + '/config']
path += [cwd + '/config/usb_config']

CPPDEFINES = ['HC32F467', '__DEBUG']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

Return('group')