summaryrefslogtreecommitdiff
path: root/bsp/at32/libraries/usbd_library/SConscript
blob: bf07a30a9e13db709fa305bfbfae6396227f545b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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('RT_USING_USB_DEVICE'):
	src += ['src/usbd_core.c', 'src/usbd_int.c', 'src/usbd_sdr.c']

CPPPATH = [cwd + '/inc']

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

Return('group')