FS_RAMMAP depends on FS_REFCOUNT and remove useless macro
Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
parent
7e97691452
commit
d68fab125e
|
@ -6,6 +6,7 @@
|
||||||
config FS_RAMMAP
|
config FS_RAMMAP
|
||||||
bool "File mapping emulation"
|
bool "File mapping emulation"
|
||||||
default n
|
default n
|
||||||
|
depends on FS_REFCOUNT
|
||||||
---help---
|
---help---
|
||||||
NuttX operates in a flat open address space and is focused on MCUs that do
|
NuttX operates in a flat open address space and is focused on MCUs that do
|
||||||
support Memory Management Units (MMUs). Therefore, NuttX generally does not
|
support Memory Management Units (MMUs). Therefore, NuttX generally does not
|
||||||
|
|
|
@ -40,8 +40,6 @@
|
||||||
#include "fs_rammap.h"
|
#include "fs_rammap.h"
|
||||||
#include "sched/sched.h"
|
#include "sched/sched.h"
|
||||||
|
|
||||||
#ifdef CONFIG_FS_RAMMAP
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Data
|
* Public Data
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
@ -347,5 +345,3 @@ errout_with_region:
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_FS_RAMMAP */
|
|
||||||
|
|
Loading…
Reference in New Issue