summaryrefslogtreecommitdiff
path: root/nuttx
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 18:01:45 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-04-14 18:01:45 +0000
commit5a84bb395dd15c5c333b26a588de89eb497f0b83 (patch)
tree7cfd8a97b3c64085305b3c66c8c63a0ea4cde77a /nuttx
parent5be92238b23c3933a3dc29a686d0f473c77a3e58 (diff)
downloadpx4-nuttx-5a84bb395dd15c5c333b26a588de89eb497f0b83.tar.gz
px4-nuttx-5a84bb395dd15c5c333b26a588de89eb497f0b83.tar.bz2
px4-nuttx-5a84bb395dd15c5c333b26a588de89eb497f0b83.zip
Kconfig updates
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@4608 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx')
-rw-r--r--nuttx/drivers/Kconfig2
-rw-r--r--nuttx/fs/Kconfig1
-rw-r--r--nuttx/fs/fat/Kconfig4
-rw-r--r--nuttx/fs/mmap/Kconfig23
-rw-r--r--nuttx/fs/nfs/Kconfig26
-rw-r--r--nuttx/fs/nxffs/Kconfig4
-rw-r--r--nuttx/fs/romfs/Kconfig10
-rw-r--r--nuttx/net/Kconfig18
8 files changed, 65 insertions, 23 deletions
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig
index e5fbd42d3..9df512945 100644
--- a/nuttx/drivers/Kconfig
+++ b/nuttx/drivers/Kconfig
@@ -3,6 +3,8 @@
# see misc/tools/kconfig-language.txt.
#
+comment "Device Driver Configuration"
+
config DEV_NULL
bool "Enable /dev/null"
default y
diff --git a/nuttx/fs/Kconfig b/nuttx/fs/Kconfig
index 2e1fd3783..afea33712 100644
--- a/nuttx/fs/Kconfig
+++ b/nuttx/fs/Kconfig
@@ -4,6 +4,7 @@
#
comment "File system configuration"
+
source fs/fat/Kconfig
source fs/mmap/Kconfig
source fs/nfs/Kconfig
diff --git a/nuttx/fs/fat/Kconfig b/nuttx/fs/fat/Kconfig
index 4caf300b3..30983799d 100644
--- a/nuttx/fs/fat/Kconfig
+++ b/nuttx/fs/fat/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
diff --git a/nuttx/fs/mmap/Kconfig b/nuttx/fs/mmap/Kconfig
index a7b696c6a..03482e2d8 100644
--- a/nuttx/fs/mmap/Kconfig
+++ b/nuttx/fs/mmap/Kconfig
@@ -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
diff --git a/nuttx/fs/nfs/Kconfig b/nuttx/fs/nfs/Kconfig
index 88a562cb3..841b1ab8e 100644
--- a/nuttx/fs/nfs/Kconfig
+++ b/nuttx/fs/nfs/Kconfig
@@ -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 \ No newline at end of file
diff --git a/nuttx/fs/nxffs/Kconfig b/nuttx/fs/nxffs/Kconfig
index f6aede4a2..b233e85ea 100644
--- a/nuttx/fs/nxffs/Kconfig
+++ b/nuttx/fs/nxffs/Kconfig
@@ -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
diff --git a/nuttx/fs/romfs/Kconfig b/nuttx/fs/romfs/Kconfig
index 22274681a..6a91011ab 100644
--- a/nuttx/fs/romfs/Kconfig
+++ b/nuttx/fs/romfs/Kconfig
@@ -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
diff --git a/nuttx/net/Kconfig b/nuttx/net/Kconfig
index b1c35dc60..dc16150ba 100644
--- a/nuttx/net/Kconfig
+++ b/nuttx/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