summaryrefslogtreecommitdiff
path: root/bsp/CME_M7/drivers/SConscript
blob: f7a12469223818b32edd87b2535ea8ed8517e84d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Import('RTT_ROOT')
Import('rtconfig')
from building import *

cwd     = os.path.join(str(Dir('#')), 'drivers')

src	= ['board.c']

# add uart driver.
src	+= ['uart.c']

# add EMAC driver for Lwip.
if GetDepend('RT_USING_LWIP') == True:
    src += ['emac.c', 'app_phy.c']

CPPPATH = [cwd]

group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)

Return('group')