mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
Simplify DEFAULT_SMALL usage in Kconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
@@ -392,8 +392,7 @@ menu "GPIO Interrupt Configuration"
|
|||||||
|
|
||||||
config NRF52_PER_PIN_INTERRUPTS
|
config NRF52_PER_PIN_INTERRUPTS
|
||||||
bool "Per-pin interrupt callbacks"
|
bool "Per-pin interrupt callbacks"
|
||||||
default n if DEFAULT_SMALL
|
default !DEFAULT_SMALL
|
||||||
default y if !DEFAULT_SMALL
|
|
||||||
depends on NRF52_GPIOTE
|
depends on NRF52_GPIOTE
|
||||||
---help---
|
---help---
|
||||||
The GPIOTE peripheral supports a limited number of channels which can
|
The GPIOTE peripheral supports a limited number of channels which can
|
||||||
|
|||||||
+1
-2
@@ -66,8 +66,7 @@ config FS_NEPOLL_DESCRIPTORS
|
|||||||
|
|
||||||
config DISABLE_PSEUDOFS_OPERATIONS
|
config DISABLE_PSEUDOFS_OPERATIONS
|
||||||
bool "Disable pseudo-filesystem operations"
|
bool "Disable pseudo-filesystem operations"
|
||||||
default y if DEFAULT_SMALL
|
default DEFAULT_SMALL
|
||||||
default n if !DEFAULT_SMALL
|
|
||||||
---help---
|
---help---
|
||||||
Disable certain operations on pseudo-file systems include mkdir,
|
Disable certain operations on pseudo-file systems include mkdir,
|
||||||
rmdir, unlink, and rename. These are necessary for the logical
|
rmdir, unlink, and rename. These are necessary for the logical
|
||||||
|
|||||||
@@ -60,8 +60,7 @@ config LIBC_FLOATINGPOINT
|
|||||||
|
|
||||||
config LIBC_LONG_LONG
|
config LIBC_LONG_LONG
|
||||||
bool "Enable long long support in printf"
|
bool "Enable long long support in printf"
|
||||||
default y if !DEFAULT_SMALL
|
default !DEFAULT_SMALL
|
||||||
default n if DEFAULT_SMALL
|
|
||||||
---help---
|
---help---
|
||||||
Enables support for long long formats in printf, sscanf, etc. is
|
Enables support for long long formats in printf, sscanf, etc. is
|
||||||
enabled. This is enabled by default but if you are trying to
|
enabled. This is enabled by default but if you are trying to
|
||||||
|
|||||||
+4
-8
@@ -17,8 +17,7 @@ if DISABLE_OS_API
|
|||||||
|
|
||||||
config DISABLE_POSIX_TIMERS
|
config DISABLE_POSIX_TIMERS
|
||||||
bool "Disable POSIX timers"
|
bool "Disable POSIX timers"
|
||||||
default y if DEFAULT_SMALL
|
default DEFAULT_SMALL
|
||||||
default n if !DEFAULT_SMALL
|
|
||||||
---help---
|
---help---
|
||||||
Disable support for the the entire POSIX timer family
|
Disable support for the the entire POSIX timer family
|
||||||
including timer_create(), timer_gettime(), timer_settime(),
|
including timer_create(), timer_gettime(), timer_settime(),
|
||||||
@@ -29,18 +28,15 @@ config DISABLE_POSIX_TIMERS
|
|||||||
|
|
||||||
config DISABLE_PTHREAD
|
config DISABLE_PTHREAD
|
||||||
bool "Disable pthread support"
|
bool "Disable pthread support"
|
||||||
default y if DEFAULT_SMALL
|
default DEFAULT_SMALL
|
||||||
default n if !DEFAULT_SMALL
|
|
||||||
|
|
||||||
config DISABLE_MQUEUE
|
config DISABLE_MQUEUE
|
||||||
bool "Disable POSIX message queue support"
|
bool "Disable POSIX message queue support"
|
||||||
default y if DEFAULT_SMALL
|
default DEFAULT_SMALL
|
||||||
default n if !DEFAULT_SMALL
|
|
||||||
|
|
||||||
config DISABLE_ENVIRON
|
config DISABLE_ENVIRON
|
||||||
bool "Disable environment variable support"
|
bool "Disable environment variable support"
|
||||||
default y if DEFAULT_SMALL
|
default DEFAULT_SMALL
|
||||||
default n if !DEFAULT_SMALL
|
|
||||||
|
|
||||||
endif # DISABLE_OS_API
|
endif # DISABLE_OS_API
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user