mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-27 21:00:26 +08:00
a38b39ac25
ch569w-evt: add usbhs device mode driver * usbd driver tested with cdc_vcom, internal loopback (can't run both MSH & usbd due to 16KB RAM limitation) * reduce usrstack & main thread stack size for usbd test * ch56x_uart.c : iron out UART0_PIN_ALT assignment
16 lines
236 B
Python
16 lines
236 B
Python
from building import *
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
app = ARGUMENTS.get('app', "main")
|
|
|
|
src = Split("""
|
|
{}.c
|
|
""".format(app))
|
|
|
|
path = [cwd, str(Dir('#'))]
|
|
|
|
group = DefineGroup('Applications', src, depend=[''], CPPPATH=path)
|
|
|
|
Return('group')
|