15 lines
281 B
Python
15 lines
281 B
Python
import os
|
|
from building import *
|
|
import rtconfig
|
|
|
|
cwd = GetCurrentDir()
|
|
src = []
|
|
CPPPATH = []
|
|
|
|
if GetDepend('RT_LINK_USING_UART'):
|
|
src += ['uart/rtlink_port_uart.c']
|
|
|
|
group = DefineGroup('rt-link-port', src, depend = ['RT_USING_RT_LINK'], CPPPATH = CPPPATH)
|
|
|
|
Return('group')
|