summaryrefslogtreecommitdiff
path: root/bsp/hc32/ev_hc32f4a8_lqfp176/board/SConscript
blob: 20ea68d687813e861517c4b78836e48b77e67c92 (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 = ['HC32F4A8', '__DEBUG']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

Return('group')