mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-24 03:53:33 +08:00
Add support for DMA memory allocator to FAT file system
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5127 7fd9a85b-ad96-42d3-883c-3090e2eb8679
This commit is contained in:
@@ -72,7 +72,8 @@ config NETUTILS_HTTPD_MMAP
|
||||
selected, then files can be accessed from the NuttX file system
|
||||
as well. This selection will map the files into memory (using mmap)
|
||||
so that the logic is still basically compatible with the classic
|
||||
approach.
|
||||
approach. NOTE, however, that since files are copied into memory,
|
||||
this limits solution to small files that will fit into available RAM.
|
||||
|
||||
config NETUTILS_HTTPD_MMAP
|
||||
bool "sendfile()"
|
||||
@@ -83,10 +84,9 @@ config NETUTILS_HTTPD_MMAP
|
||||
However, extensions have been contributed. If this option is
|
||||
selected, then files can be accessed from the NuttX file system
|
||||
as well. This selection will use the NuttX sendfile() interface
|
||||
to send files. NOTE: if this option is selected, then scripting
|
||||
must be disabled.
|
||||
to send files. NOTE: If this option is selected, then scripting
|
||||
must be disabled since it depends on the classic, in-memory
|
||||
representation.
|
||||
|
||||
endchoice
|
||||
|
||||
|
||||
endif
|
||||
|
||||
Reference in New Issue
Block a user