apps/examples/nettest and poll: Complete Kconfig files
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5556 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
f8f64377d6
commit
4709eeb41a
@ -3,6 +3,14 @@
|
|||||||
# see misc/tools/kconfig-language.txt.
|
# see misc/tools/kconfig-language.txt.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
config DISABLE_POLL
|
||||||
|
bool "Disable driver poll interfaces"
|
||||||
|
default n
|
||||||
|
---help---
|
||||||
|
The sizes of drivers can be reduced if the poll() method is not
|
||||||
|
supported. If you do not use poll() or select(), then you can
|
||||||
|
select DISABLE_POLL to reduce the code footprint by a small amount.
|
||||||
|
|
||||||
config DEV_NULL
|
config DEV_NULL
|
||||||
bool "Enable /dev/null"
|
bool "Enable /dev/null"
|
||||||
default y
|
default y
|
||||||
|
@ -268,7 +268,7 @@ static ssize_t loop_write(FAR struct inode *inode, const unsigned char *buffer,
|
|||||||
size_t start_sector, unsigned int nsectors)
|
size_t start_sector, unsigned int nsectors)
|
||||||
{
|
{
|
||||||
FAR struct loop_struct_s *dev;
|
FAR struct loop_struct_s *dev;
|
||||||
size_t nbyteswritten;
|
ssize_t nbyteswritten;
|
||||||
off_t offset;
|
off_t offset;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
|
@ -5,6 +5,10 @@
|
|||||||
|
|
||||||
comment "File system configuration"
|
comment "File system configuration"
|
||||||
|
|
||||||
|
config DISABLE_MOUNTPOINT
|
||||||
|
bool "Disable support for mount points"
|
||||||
|
default n
|
||||||
|
|
||||||
source fs/mmap/Kconfig
|
source fs/mmap/Kconfig
|
||||||
source fs/fat/Kconfig
|
source fs/fat/Kconfig
|
||||||
source fs/nfs/Kconfig
|
source fs/nfs/Kconfig
|
||||||
|
@ -379,21 +379,11 @@ config DISABLE_MQUEUE
|
|||||||
depends on DISABLE_OS_API
|
depends on DISABLE_OS_API
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config DISABLE_MOUNTPOINT
|
|
||||||
bool "Disable support for mount points"
|
|
||||||
depends on DISABLE_OS_API
|
|
||||||
default n
|
|
||||||
|
|
||||||
config DISABLE_ENVIRON
|
config DISABLE_ENVIRON
|
||||||
bool "Disable environment variable support"
|
bool "Disable environment variable support"
|
||||||
depends on DISABLE_OS_API
|
depends on DISABLE_OS_API
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config DISABLE_POLL
|
|
||||||
bool "Disable driver poll interfaces"
|
|
||||||
depends on DISABLE_OS_API
|
|
||||||
default n
|
|
||||||
|
|
||||||
if !DISABLE_SIGNALS
|
if !DISABLE_SIGNALS
|
||||||
comment "Signal Numbers"
|
comment "Signal Numbers"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user