mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-08-20 21:29:42 +08:00
添加新的mtd接口
This commit is contained in:
@@ -9,6 +9,17 @@ depend = []
|
||||
CPPPATH = [cwd + '/../include']
|
||||
group = []
|
||||
|
||||
if GetDepend(['RT_USING_MTD']):
|
||||
src += ['mtd.c']
|
||||
depend += ['RT_USING_MTD']
|
||||
|
||||
if GetDepend(['MTD_USING_NOR']):
|
||||
src += ['mtdnor.c']
|
||||
depend += ['MTD_USING_NOR']
|
||||
if GetDepend(['MTD_USING_NAND']):
|
||||
src += ['mtdnand.c']
|
||||
depend += ['MTD_USING_NAND']
|
||||
|
||||
if GetDepend(['RT_USING_MTD_NOR']):
|
||||
src += ['mtd_nor.c']
|
||||
depend += ['RT_USING_MTD_NOR']
|
||||
|
||||
Reference in New Issue
Block a user