You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
310 B
19 lines
310 B
10 months ago
|
import os
|
||
|
import rtconfig
|
||
|
from building import *
|
||
|
|
||
|
Import('SDK_LIB')
|
||
|
|
||
|
cwd = GetCurrentDir()
|
||
|
|
||
|
# add general drivers
|
||
|
src = []
|
||
|
path = [cwd]
|
||
|
|
||
|
if GetDepend(['BSP_USING_SPI_FLASH']):
|
||
|
src += Glob('drv_spi_flash.c')
|
||
|
|
||
|
group = DefineGroup('PLATFORM', src, depend = ['RT_USING_SFUD'], CPPPATH = path)
|
||
|
|
||
|
Return('group')
|