summaryrefslogtreecommitdiff
path: root/bsp/gd32/arm/gd32405rg/board/SConscript
blob: 409d6be0aeaacebadb0bc4b5691e51c1770fc982 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import os
import rtconfig
from building import *

cwd = GetCurrentDir()

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

path =  [cwd]

CPPDEFINES = ['GD32F405', 'HXTAL_VALUE=8000000U']
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path, CPPDEFINES = CPPDEFINES)

Return('group')