summaryrefslogtreecommitdiff
path: root/bsp/hc32/platform/cherryusb/SConscript
blob: 317440a1b7013a6da8c9768e4774b45112a6c33b (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(['RT_USING_CHERRYUSB']):
    src += Glob('cherryusb_port.c')

group = DefineGroup('Platform', src, depend = ['RT_USING_CHERRYUSB'], CPPPATH = path)

Return('group')