1import os 2import rtconfig 3from building import * 4 5Import('SDK_LIB') 6 7cwd = GetCurrentDir() 8 9# add general drivers 10src = Split(''' 11board.c 12debug.c 13ch32v10x_it.c 14software_irq.c 15''') 16 17path = [cwd] 18 19group = DefineGroup('Drivers', src, depend = [''], CPPPATH = path) 20Return('group') 21