20 lines
264 B
Python
20 lines
264 B
Python
|
import os
|
||
|
import rtconfig
|
||
|
from building import *
|
||
|
|
||
|
Import('SDK_LIB')
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
|
||
|
# add general drivers
|
||
|
src = Split('''
|
||
|
board.c
|
||
|
debug.c
|
||
|
ch32v10x_it.c
|
||
|
''')
|
||
|
|
||
|
path = [cwd]
|
||
|
|
||
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
|
||
|
Return('group')
|