FS_RAMMAP depends on FS_REFCOUNT and remove useless macro

Signed-off-by: zhangshoukui <zhangshoukui@xiaomi.com>
This commit is contained in:
zhangshoukui 2024-09-23 12:46:23 +08:00 committed by Xiang Xiao
parent 7e97691452
commit d68fab125e
2 changed files with 1 additions and 4 deletions

View File

@ -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

View File

@ -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 */