You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
423 B
19 lines
423 B
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')
|
|
|