summaryrefslogtreecommitdiff
path: root/bsp/ht32/libraries/usbd_library/SConscript
blob: 7c3921200b4a68d6ddd27637396e210e37214103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import rtconfig
from building import *

# get current directory
cwd = GetCurrentDir()

# add the general drivers.
src = Split("""
""")

# The set of source files associated with this SConscript file.    
if GetDepend(['BSP_USING_USBD']):
#    src += ['src/ht32_usbd_core.c']
#    src += ['src/ht32_usbd_int.c']
    src += ['src/usbd_code.c']
    src += ['src/usb_port.c']

path = [cwd + '/inc']

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

Return('group')