Kconfig 976 B

123456789101112131415161718192021222324252627
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see the file kconfig-language.txt in the NuttX tools repository.
  4. #
  5. config FS_RAMMAP
  6. bool "File mapping emulation"
  7. default n
  8. ---help---
  9. NuttX operates in a flat open address space and is focused on MCUs that do
  10. support Memory Management Units (MMUs). Therefore, NuttX generally does not
  11. require mmap() functionality and the MCUs generally cannot support true
  12. memory-mapped files.
  13. However, memory mapping of files is the mechanism used by NXFLAT, the NuttX
  14. tiny binary format, to get files into memory in order to execute them.
  15. mmap() support is therefore required to support NXFLAT.
  16. If FS_RAMMAP is defined in the configuration, then mmap() will
  17. support simulation of memory mapped files by copying files whole
  18. into RAM. These copied files have some of the properties of
  19. standard memory mapped files.
  20. See nuttx/fs/mmap/README.txt for additional information.
  21. if FS_RAMMAP
  22. endif