summaryrefslogtreecommitdiff
path: root/components/drivers/spi/SConscript
diff options
context:
space:
mode:
author[email protected] <[email protected]>2017-02-13 19:37:53 +0800
committer[email protected] <[email protected]>2017-02-13 19:37:53 +0800
commit564e7aefce3fd5a8aca43c980f427989f69b59aa (patch)
tree49da54dcf900946399305d076fc0aca99095f28f /components/drivers/spi/SConscript
parent0a60415e75e046936ec8b18da4f4bb963215cba3 (diff)
添加 w25 mtd设备驱动
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']