summaryrefslogtreecommitdiff
path: root/bsp/hc32/platform/tca9539/SConscript
blob: d6c6568bbf9f9dd340a6f84a91e4743787e482d1 (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')