mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-17 15:53:31 +08:00
16 lines
277 B
Python
16 lines
277 B
Python
|
Import('RTT_ROOT')
|
||
|
from building import *
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
src = Split("""
|
||
|
core/core.c
|
||
|
core/usbdevice.c
|
||
|
class/cdc_vcom.c
|
||
|
""")
|
||
|
|
||
|
CPPPATH = [cwd]
|
||
|
|
||
|
group = DefineGroup('DeviceDrivers', src, depend = ['RT_USING_USB_DEVICE'], CPPPATH = CPPPATH)
|
||
|
|
||
|
Return('group')
|