summaryrefslogtreecommitdiff
path: root/bsp/hc32/platform/tca9539/SConscript
blob: 937dca00d855e117df0d251cd171ce2853461530 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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')