sheltonyu a5c62b9a84
[bsp/at32] add support usb driver (#6968)
* add support usb driver

* fixed code format error
2023-02-24 21:47:04 -05:00

20 lines
420 B
Python

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')