2019-01-20 13:43:15 +08:00
|
|
|
|
# RT-Thread building script for component
|
2018-11-19 09:49:32 +08:00
|
|
|
|
|
|
|
|
|
from building import *
|
|
|
|
|
|
|
|
|
|
cwd = GetCurrentDir()
|
|
|
|
|
src = Split('''
|
|
|
|
|
board.c
|
|
|
|
|
drv_uart.c
|
2019-01-20 13:43:15 +08:00
|
|
|
|
drv_emac.c
|
2019-04-17 17:46:51 +08:00
|
|
|
|
drv_qspi.c
|
|
|
|
|
drv_spiflash.c
|
2018-11-19 09:49:32 +08:00
|
|
|
|
''')
|
|
|
|
|
CPPPATH = [cwd]
|
|
|
|
|
|
|
|
|
|
group = DefineGroup('Drivers', src, depend = [''], CPPPATH = CPPPATH)
|
|
|
|
|
|
|
|
|
|
Return('group')
|