diff --git a/arch/Kconfig b/arch/Kconfig index e589aa417b3..b9ba6076529 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -314,7 +314,7 @@ config ARCH_COVERAGE config ARCH_COVERAGE_ALL bool "Enable code coverage for the entire image" depends on ARCH_COVERAGE - default y + default n ---help--- This option activates code coverage instrumentation for the entire image. If you don't enable this option, you have to diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/nx/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/nx/defconfig index b476216b18e..a9e8a0787ad 100644 --- a/boards/arm/stm32/mikroe-stm32f4/configs/nx/defconfig +++ b/boards/arm/stm32/mikroe-stm32f4/configs/nx/defconfig @@ -7,7 +7,6 @@ # # CONFIG_ARCH_FPU is not set # CONFIG_DEV_CONSOLE is not set -# CONFIG_DEV_NULL is not set # CONFIG_NSH_DISABLE_IFCONFIG is not set # CONFIG_NSH_DISABLE_PS is not set # CONFIG_NXFONTS_DISABLE_16BPP is not set diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/nxlines/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/nxlines/defconfig index e13f2fbdc9b..90bc0f8e9c7 100644 --- a/boards/arm/stm32/mikroe-stm32f4/configs/nxlines/defconfig +++ b/boards/arm/stm32/mikroe-stm32f4/configs/nxlines/defconfig @@ -7,7 +7,6 @@ # # CONFIG_ARCH_FPU is not set # CONFIG_DEV_CONSOLE is not set -# CONFIG_DEV_NULL is not set # CONFIG_EXAMPLES_NXLINES_DEFAULT_COLORS is not set # CONFIG_NSH_DISABLE_IFCONFIG is not set # CONFIG_NSH_DISABLE_PS is not set diff --git a/boards/arm/stm32/mikroe-stm32f4/configs/nxtext/defconfig b/boards/arm/stm32/mikroe-stm32f4/configs/nxtext/defconfig index 2caa1bb060e..e394071b17e 100644 --- a/boards/arm/stm32/mikroe-stm32f4/configs/nxtext/defconfig +++ b/boards/arm/stm32/mikroe-stm32f4/configs/nxtext/defconfig @@ -7,7 +7,6 @@ # # CONFIG_ARCH_FPU is not set # CONFIG_DEV_CONSOLE is not set -# CONFIG_DEV_NULL is not set # CONFIG_NSH_DISABLE_IFCONFIG is not set # CONFIG_NSH_DISABLE_PS is not set # CONFIG_NXFONTS_DISABLE_16BPP is not set diff --git a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig index 9bb36da170b..87db1d2a413 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/highpri/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f302r8" diff --git a/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig index 7984a026ec2..c85c987b342 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/nsh/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f302r8" diff --git a/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig b/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig index e1c73e6fa3e..e3bd74e410f 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/adc/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ADC=y CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig index 69a7e8ed777..3eaaee9d59c 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/highpri/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f334r8" diff --git a/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig b/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig index 1a14d627d6e..1b099eb83de 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/nsh/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f334r8" diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig index 610eab3b3a4..0b6a66f894f 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm1/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f334r8" diff --git a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig index b6d87a75fe2..1773bcac527 100644 --- a/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig +++ b/boards/arm/stm32/nucleo-f334r8/configs/spwm2/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="nucleo-f334r8" diff --git a/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig b/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig index b443ace854a..b6902d1f74f 100644 --- a/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig +++ b/boards/arm/stm32/nucleo-g431rb/configs/adc/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ADC=y CONFIG_ANALOG=y diff --git a/boards/arm/stm32/olimexino-stm32/configs/can/defconfig b/boards/arm/stm32/olimexino-stm32/configs/can/defconfig index 25bf6a4e278..0b721713591 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/can/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/can/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_OS_API is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set # CONFIG_NSH_DISABLE_CMP is not set diff --git a/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig b/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig index 03d917b8890..5ca9fb2d120 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/smallnsh/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_OS_API is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set # CONFIG_NSH_DISABLE_HEXDUMP is not set diff --git a/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig b/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig index 208c4f673c4..42bff22b905 100644 --- a/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig +++ b/boards/arm/stm32/olimexino-stm32/configs/tiny/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_LEDS is not set -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_OS_API is not set # CONFIG_STM32_USE_LEGACY_PINMAP is not set CONFIG_ARCH="arm" diff --git a/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig b/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig index 35ecf43b4b8..44abdc6efbe 100644 --- a/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig +++ b/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_LEDS is not set -# CONFIG_DEV_NULL is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_DF is not set # CONFIG_NSH_DISABLE_EXEC is not set diff --git a/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig b/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig index 8d7ab2d2d44..f937129bd25 100644 --- a/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig +++ b/boards/arm/stm32/stm32f334-disco/configs/buckboost/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set CONFIG_ADC=y CONFIG_ANALOG=y CONFIG_ARCH="arm" diff --git a/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig b/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig index 1df4cb587c1..fb48a39013a 100644 --- a/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig +++ b/boards/arm/stm32/stm32f334-disco/configs/nsh/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_LIBC_LONG_LONG is not set CONFIG_ARCH="arm" CONFIG_ARCH_BOARD="stm32f334-disco" diff --git a/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig b/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig index fefc0b1602e..3937bcb12f4 100644 --- a/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig +++ b/boards/arm/stm32/stm32f334-disco/configs/powerled/defconfig @@ -6,7 +6,6 @@ # modifications. # # CONFIG_ARCH_FPU is not set -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_POSIX_TIMERS is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set # CONFIG_NSH_DISABLEBG is not set diff --git a/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig b/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig index ed915a5f5d9..95381ac244d 100644 --- a/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig +++ b/boards/arm/tlsr82/tlsr8278adk80d/configs/nsh/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_ENVIRON is not set # CONFIG_DISABLE_MQUEUE is not set # CONFIG_DISABLE_POSIX_TIMERS is not set diff --git a/boards/risc-v/mpfs/icicle/configs/rpmsg-sbi/defconfig b/boards/risc-v/mpfs/icicle/configs/rpmsg-sbi/defconfig index 6da5fc09afe..15a0ce51279 100644 --- a/boards/risc-v/mpfs/icicle/configs/rpmsg-sbi/defconfig +++ b/boards/risc-v/mpfs/icicle/configs/rpmsg-sbi/defconfig @@ -5,7 +5,6 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # -# CONFIG_DEV_NULL is not set # CONFIG_DISABLE_OS_API is not set # CONFIG_NDEBUG is not set # CONFIG_NSH_DISABLE_MW is not set diff --git a/drivers/misc/Kconfig b/drivers/misc/Kconfig index 6077d245612..b7e7949e2b2 100644 --- a/drivers/misc/Kconfig +++ b/drivers/misc/Kconfig @@ -9,7 +9,7 @@ config DEV_SIMPLE_ADDRENV config DEV_NULL bool "Enable /dev/null" - default y + default !DEFAULT_SMALL config DEV_ZERO bool "Enable /dev/zero" diff --git a/fs/mmap/Kconfig b/fs/mmap/Kconfig index 6732b8e89d6..dbe87b5d3e1 100644 --- a/fs/mmap/Kconfig +++ b/fs/mmap/Kconfig @@ -25,6 +25,6 @@ config FS_RAMMAP config FS_ANONMAP bool "Anonymous mapping emulation" - default y + default !DEFAULT_SMALL ---help--- Simulate private anonymous mappings by plain malloc diff --git a/libs/libc/string/Kconfig b/libs/libc/string/Kconfig index 80cc50508d8..e7180cddffc 100644 --- a/libs/libc/string/Kconfig +++ b/libs/libc/string/Kconfig @@ -30,7 +30,7 @@ config LIBC_STRERROR_SHORT config LIBC_STRERROR_ERRNUM bool "Print unknown error code in strerror()" - default !LIBC_STRERROR + default !LIBC_STRERROR && !DEFAULT_SMALL ---help--- If this option is selected, then strerror() will print error code for unknown errors like "Unknown error 101". Default enabled when