summaryrefslogtreecommitdiff
path: root/bsp/hc32/ev_hc32f334_lqfp64/board/SConscript
blob: 8e03cfa0d495bc6b07c3c55b1d42fa71fe695dc6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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']

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

Return('group')