mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-11-09 20:45:41 +08:00
[DM][MTD] Add common MTD drivers
1. CFI-Nor flash DM driver. 2. SPI-Nor flash DM driver. Signed-off-by: GuEe-GUI <2991707448@qq.com>
This commit is contained in:
1 parent
065338dc69
commit
cd1d47b87c
5 files changed
+1624
-1
No files matched your search
@@ -15,6 +15,12 @@ if GetDepend(['RT_USING_MTD_NAND']):
|
||||
src += ['mtd_nand.c']
|
||||
depend += ['RT_USING_MTD_NAND']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR_CFI']):
|
||||
src += ['mtd-cfi.c']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR_SPI']):
|
||||
src += ['mtd-spi-nor.c']
|
||||
|
||||
if src:
|
||||
group = DefineGroup('DeviceDrivers', src, depend = depend, CPPPATH = CPPPATH)
|
||||
|
||||
|
||||
Reference in new issue
Block a user