aboutsummaryrefslogtreecommitdiff
path: root/nuttx/drivers/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/drivers/Kconfig')
-rw-r--r--nuttx/drivers/Kconfig8
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/drivers/Kconfig b/nuttx/drivers/Kconfig
index 3ced01b58..f3d2c871a 100644
--- a/nuttx/drivers/Kconfig
+++ b/nuttx/drivers/Kconfig
@@ -3,6 +3,14 @@
# 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
bool "Enable /dev/null"
default y