Kconfig updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4608 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
43ac9ef043
commit
30cd61c07d
8 changed files with 65 additions and 23 deletions
|
@ -3,6 +3,8 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
comment "Device Driver Configuration"
|
||||
|
||||
config DEV_NULL
|
||||
bool "Enable /dev/null"
|
||||
default y
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#
|
||||
|
||||
comment "File system configuration"
|
||||
|
||||
source fs/fat/Kconfig
|
||||
source fs/mmap/Kconfig
|
||||
source fs/nfs/Kconfig
|
||||
|
|
|
@ -3,9 +3,6 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
menu "FAT file system configuration"
|
||||
comment "FAT file system configuration"
|
||||
|
||||
config FS_FAT
|
||||
bool "FAT file system"
|
||||
default n
|
||||
|
@ -56,4 +53,3 @@ config FS_FATTIME
|
|||
hardware RTC or other way to get the time and date.
|
||||
|
||||
endif
|
||||
endmenu
|
||||
|
|
|
@ -3,4 +3,25 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
comment "File mapping emulation"
|
||||
config FS_RAMMAP
|
||||
bool "File mapping emulation"
|
||||
default n
|
||||
---help---
|
||||
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
|
||||
require mmap() functionality and the MCUs generally cannot support true
|
||||
memory-mapped files.
|
||||
|
||||
However, memory mapping of files is the mechanism used by NXFLAT, the NuttX
|
||||
tiny binary format, to get files into memory in order to execute them.
|
||||
mmap() support is therefore required to support NXFLAT.
|
||||
|
||||
If FS_RAMMAP is defined in the configuration, then mmap() will
|
||||
support simulation of memory mapped files by copying files whole
|
||||
into RAM. These copied files have some of the properties of
|
||||
standard memory mapped files.
|
||||
|
||||
See nuttx/fs/mmap/README.txt for additonal information.
|
||||
|
||||
if FS_RAMMAP
|
||||
endif
|
||||
|
|
|
@ -3,4 +3,28 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
comment "Network file system (NFS) client file system"
|
||||
config NFS
|
||||
bool "NFS client file system"
|
||||
default n
|
||||
depends on NET && !DISABLE_MOUNTPOINT
|
||||
---help---
|
||||
Enable network file system (NFS) client file system
|
||||
|
||||
#if NFS
|
||||
|
||||
config NFS_TCPIP
|
||||
bool "TCP/IP RPC support"
|
||||
default n
|
||||
depends on NFS
|
||||
---help---
|
||||
By default, NFS uses a UDP RPC protocol. Enable this option to
|
||||
build in support for a TCP/IP-based RPC.
|
||||
|
||||
config NFS_UNIX_AUTH
|
||||
bool "NFS Unix authentication"
|
||||
default n
|
||||
depends on NFS
|
||||
---help---
|
||||
Build in support for Unix-style authentication.
|
||||
|
||||
#endif
|
|
@ -3,9 +3,6 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
menu "NXFFS file system configuration"
|
||||
comment "NXFFS file system configuration"
|
||||
|
||||
config FS_NXFFS
|
||||
bool "NXFFS file system"
|
||||
default n
|
||||
|
@ -52,4 +49,3 @@ config NXFFS_TAILTHRESHOLD
|
|||
Default: 8192.
|
||||
|
||||
endif
|
||||
endmenu
|
||||
|
|
|
@ -3,4 +3,12 @@
|
|||
# see misc/tools/kconfig-language.txt.
|
||||
#
|
||||
|
||||
comment "ROMFS file system"
|
||||
config FS_ROMFS
|
||||
bool "ROMFS file system"
|
||||
default n
|
||||
depends on !DISABLE_MOUNTPOINT
|
||||
---help---
|
||||
Enable ROMFS filesystem support
|
||||
|
||||
if FS_ROMFS
|
||||
endif
|
||||
|
|
18
net/Kconfig
18
net/Kconfig
|
@ -133,6 +133,12 @@ config NET_UDP_CONNS
|
|||
---help---
|
||||
The maximum amount of open concurrent UDP sockets
|
||||
|
||||
config NET_BROADCAST
|
||||
bool "UDP broadcast Rx support"
|
||||
default n
|
||||
---help---
|
||||
Incoming UDP broadcast support
|
||||
|
||||
endif
|
||||
|
||||
config NET_ICMP
|
||||
|
@ -202,18 +208,6 @@ config NET_ARP_IPIN
|
|||
Harvest IP/MAC address mappings from the ARP table
|
||||
from incoming IP packets.
|
||||
|
||||
endif
|
||||
if NET_UDP
|
||||
|
||||
config NET_BROADCAST
|
||||
bool "UDP broadcast Rx support"
|
||||
default n
|
||||
---help---
|
||||
Incoming UDP broadcast support
|
||||
|
||||
endif
|
||||
if NET
|
||||
|
||||
config NET_MULTICAST
|
||||
bool "Multi-cast Tx support"
|
||||
default n
|
||||
|
|
Loading…
Reference in a new issue