[DeviceDriver] Add RT_USING_QSPI macro.

This commit is contained in:
armink
2018-11-26 13:34:33 +08:00
parent c19848d63e
commit 7a6034fdf7
2 changed files with 10 additions and 2 deletions

View File

@@ -2,10 +2,13 @@ from building import *
import rtconfig
cwd = GetCurrentDir()
src = ['spi_core.c', 'spi_dev.c', 'qspi_core.c']
src = ['spi_core.c', 'spi_dev.c']
CPPPATH = [cwd, cwd + '/../include']
LOCAL_CCFLAGS = ''
if GetDepend('RT_USING_QSPI'):
src += ['qspi_core.c']
src_device = []
if GetDepend('RT_USING_SPI_WIFI'):