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.
18 lines
310 B
18 lines
310 B
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')
|
|
|