mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-25 14:28:20 +08:00
add bsp lpc54102
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
#Import('RTT_ROOT')
|
||||
#Import('rtconfig')
|
||||
from building import *
|
||||
|
||||
#cwd = os.path.join(str(Dir('#')),'drivers')
|
||||
cwd = GetCurrentDir()
|
||||
src = Glob('*.c')
|
||||
|
||||
# remove no need file.
|
||||
if GetDepend('RT_USING_LWIP') == False:
|
||||
SrcRemove(src, 'drv_emac.c')
|
||||
|
||||
CPPPATH = [cwd]
|
||||
|
||||
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
||||
|
||||
Return('group')
|
||||
Reference in New Issue
Block a user