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