summaryrefslogtreecommitdiff
path: root/components/drivers/spi/SConscript
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-02-13 21:04:49 +0800
committerGitHub <[email protected]>2017-02-13 21:04:49 +0800
commit60631804fa701087abfdd0d53e6298e68062b036 (patch)
tree49da54dcf900946399305d076fc0aca99095f28f /components/drivers/spi/SConscript
parent0a60415e75e046936ec8b18da4f4bb963215cba3 (diff)
parent564e7aefce3fd5a8aca43c980f427989f69b59aa (diff)
Merge pull request #698 from yygg/master
[DeviceDrivers] Add W25 MTD device driver.
Diffstat (limited to 'components/drivers/spi/SConscript')
-rw-r--r--components/drivers/spi/SConscript5
1 files changed, 4 insertions, 1 deletions
diff --git a/components/drivers/spi/SConscript b/components/drivers/spi/SConscript
index 63d7b9baea..5608bdcab6 100644
--- a/components/drivers/spi/SConscript
+++ b/components/drivers/spi/SConscript
@@ -11,7 +11,10 @@ if GetDepend('RT_USING_SPI_WIFI'):
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']