summaryrefslogtreecommitdiff
path: root/components/drivers/spi/SConscript
diff options
context:
space:
mode:
authorxph <[email protected]>2020-04-09 16:35:28 +0800
committerGitHub <[email protected]>2020-04-09 16:35:28 +0800
commitca7f01d79b3e0a997c771cec298e4ebd65b75809 (patch)
tree3d2c48aae7203b14038ba7b98b500b5343ed7f2a /components/drivers/spi/SConscript
parentf763f8e7284b0492c5a65ad0abf94ee1963d7dcc (diff)
parentbaa3145bfe61b3330b6a160523cc5470fa5db3a7 (diff)
Merge pull request #1 from RT-Thread/master
sync rtt
Diffstat (limited to 'components/drivers/spi/SConscript')
-rw-r--r--components/drivers/spi/SConscript18
1 files changed, 3 insertions, 15 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript
index ee423c33db..e19f30861f 100644
--- a/components/drivers/spi/SConscript
+++ b/components/drivers/spi/SConscript
@@ -6,29 +6,17 @@ 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'):
src_device += ['spi_wifi_rw009.c']
-if GetDepend('RT_USING_W25QXX'):
- src_device += ['spi_flash_w25qxx.c']
-
-if GetDepend('RT_USING_W25QXX_MTD'):
- src_device += ['spi_flash_w25qxx_mtd.c']
-
if GetDepend('RT_USING_ENC28J60'):
src_device += ['enc28j60.c']
-if GetDepend('RT_USING_AT45DBXX'):
- src_device += ['spi_flash_at45dbxx.c']
-
-if GetDepend('RT_USING_SST25VFXX'):
- src_device += ['spi_flash_sst25vfxx.c']
-
-if GetDepend('RT_USING_GD'):
- src_device += ['spi_flash_gd.c']
-
if GetDepend('RT_USING_SPI_MSD'):
src_device += ['spi_msd.c']