mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-27 17:40:22 +00:00
[DeviceDriver] Add RT_USING_QSPI macro.
This commit is contained in:
@@ -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'):
|
||||
|
||||
Reference in New Issue
Block a user