rt-thread/bsp/hc32/platform/tca9539/SConscript

19 lines
306 B
Python

import os
import rtconfig
from building import *
Import('SDK_LIB')
cwd = GetCurrentDir()
# add general drivers
src = []
path = [cwd]
if GetDepend(['BSP_USING_TCA9539']):
src += Glob('tca9539.c')
group = DefineGroup('PLATFORM', src, depend = ['BSP_USING_TCA9539'], CPPPATH = path)
Return('group')