rt-thread-official/bsp/wch/risc-v/ch32v103r-evt/board/SConscript

21 lines
279 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
software_irq.c
''')
path = [cwd]
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path)
Return('group')