From 0499979908ce0ccb75fc1785c0609bd9c97d3ba3 Mon Sep 17 00:00:00 2001 From: Xiang Xiao Date: Sat, 5 Feb 2022 02:35:04 +0800 Subject: [PATCH] sched: Disable pthread by default when DEFAULT_SMALL is enabled Signed-off-by: Xiang Xiao --- boards/arm/stm32/b-g431b-esc1/configs/foc_b16/defconfig | 1 + boards/arm/stm32/b-g431b-esc1/configs/foc_f32/defconfig | 1 + boards/arm/stm32/nucleo-f103rb/configs/ihm07m1_b16/defconfig | 1 + boards/arm/stm32/nucleo-f302r8/configs/can/defconfig | 3 --- boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig | 1 - boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_b16/defconfig | 1 + boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_f32/defconfig | 1 + boards/arm/stm32/nucleo-f446re/configs/ihm08m1_b16/defconfig | 1 + boards/arm/stm32/nucleo-f446re/configs/ihm08m1_f32/defconfig | 1 + boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_b16/defconfig | 1 + boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_f32/defconfig | 1 + boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig | 1 - boards/avr/at90usb/micropendous3/configs/hello/defconfig | 1 - boards/avr/at90usb/teensy-2.0/configs/hello/defconfig | 1 - boards/avr/at90usb/teensy-2.0/configs/nsh/defconfig | 1 - boards/avr/atmega/amber/configs/hello/defconfig | 1 - boards/avr/atmega/arduino-mega2560/configs/hello/defconfig | 1 - boards/avr/atmega/arduino-mega2560/configs/nsh/defconfig | 1 - boards/avr/atmega/moteino-mega/configs/hello/defconfig | 1 - boards/avr/atmega/moteino-mega/configs/nsh/defconfig | 1 - boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig | 1 - boards/or1k/mor1kx/or1k/configs/nsh/defconfig | 1 - boards/risc-v/bl602/bl602evb/configs/elf/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/fpu/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/gpio/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/i2c/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/nsh/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/spi/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/spiflash/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/timer/defconfig | 1 + boards/risc-v/bl602/bl602evb/configs/wifi/defconfig | 1 + boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig | 1 + boards/risc-v/litex/arty_a7/configs/nsh/defconfig | 1 + boards/risc-v/rv32m1/rv32m1-vega/configs/buttons/defconfig | 1 + boards/risc-v/rv32m1/rv32m1-vega/configs/nsh-itcm/defconfig | 1 + boards/risc-v/rv32m1/rv32m1-vega/configs/nsh/defconfig | 1 + boards/sparc/bm3823/xx3823/configs/nsh/defconfig | 1 - boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig | 1 + boards/z80/z180/p112/configs/ostest/defconfig | 1 - boards/z80/z8/z8encore000zco/configs/ostest/defconfig | 1 - boards/z80/z8/z8f64200100kit/configs/ostest/defconfig | 1 - boards/z80/z80/z80sim/configs/nsh/defconfig | 1 - boards/z80/z80/z80sim/configs/ostest/defconfig | 1 - sched/Kconfig | 3 ++- 44 files changed, 26 insertions(+), 22 deletions(-) diff --git a/boards/arm/stm32/b-g431b-esc1/configs/foc_b16/defconfig b/boards/arm/stm32/b-g431b-esc1/configs/foc_b16/defconfig index f386e63693e..b348219cacc 100644 --- a/boards/arm/stm32/b-g431b-esc1/configs/foc_b16/defconfig +++ b/boards/arm/stm32/b-g431b-esc1/configs/foc_b16/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/b-g431b-esc1/configs/foc_f32/defconfig b/boards/arm/stm32/b-g431b-esc1/configs/foc_f32/defconfig index 90d3a64e2b6..fbab0bb554e 100644 --- a/boards/arm/stm32/b-g431b-esc1/configs/foc_f32/defconfig +++ b/boards/arm/stm32/b-g431b-esc1/configs/foc_f32/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f103rb/configs/ihm07m1_b16/defconfig b/boards/arm/stm32/nucleo-f103rb/configs/ihm07m1_b16/defconfig index e4faa14c4f5..1f435df9101 100644 --- a/boards/arm/stm32/nucleo-f103rb/configs/ihm07m1_b16/defconfig +++ b/boards/arm/stm32/nucleo-f103rb/configs/ihm07m1_b16/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f302r8/configs/can/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/can/defconfig index 9ceb5b8b696..677fc4cd9d8 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/can/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/can/defconfig @@ -36,9 +36,6 @@ CONFIG_NSH_FILEIOSIZE=256 CONFIG_NSH_QUOTE=y CONFIG_POSIX_SPAWN_PROXY_STACKSIZE=512 CONFIG_PREALLOC_TIMERS=2 -CONFIG_PTHREAD_MUTEX_ROBUST=y -CONFIG_PTHREAD_STACK_DEFAULT=1024 -CONFIG_PTHREAD_STACK_MIN=1024 CONFIG_RAM_SIZE=16386 CONFIG_RAM_START=0x20000000 CONFIG_RAW_BINARY=y diff --git a/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig index 2c3334c1fb3..fb342b532ec 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/cansock/defconfig @@ -40,7 +40,6 @@ CONFIG_NET_NACTIVESOCKETS=16 CONFIG_NET_SOCKOPTS=y CONFIG_NET_STATISTICS=y CONFIG_NSH_BUILTIN_APPS=y -CONFIG_PTHREAD_MUTEX_ROBUST=y CONFIG_RAM_SIZE=16386 CONFIG_RAM_START=0x20000000 CONFIG_RAW_BINARY=y diff --git a/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_b16/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_b16/defconfig index 74180e6f772..1bcb3ba92db 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_b16/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_b16/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_f32/defconfig b/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_f32/defconfig index 790a9e674cb..1209343098e 100644 --- a/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_f32/defconfig +++ b/boards/arm/stm32/nucleo-f302r8/configs/ihm07m1_f32/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_b16/defconfig b/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_b16/defconfig index 86ceda26042..94a2545f513 100644 --- a/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_b16/defconfig +++ b/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_b16/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_f32/defconfig b/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_f32/defconfig index b4b4c9ff47c..96b37ae8e25 100644 --- a/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_f32/defconfig +++ b/boards/arm/stm32/nucleo-f446re/configs/ihm08m1_f32/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_b16/defconfig b/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_b16/defconfig index f698a84cedc..5ea806d4b91 100644 --- a/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_b16/defconfig +++ b/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_b16/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_f32/defconfig b/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_f32/defconfig index b00496d35e2..e533e8239e0 100644 --- a/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_f32/defconfig +++ b/boards/arm/stm32/nucleo-g431rb/configs/ihm16m1_f32/defconfig @@ -6,6 +6,7 @@ # modifications. # # CONFIG_DISABLE_MQUEUE is not set +# CONFIG_DISABLE_PTHREAD is not set CONFIG_ADC=y CONFIG_ADC_FIFOSIZE=3 CONFIG_ANALOG=y diff --git a/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig b/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig index bece8ba99a8..be2d5fd0e78 100644 --- a/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig +++ b/boards/arm/stm32/stm32f103-minimum/configs/hello/defconfig @@ -25,7 +25,6 @@ CONFIG_BINFMT_DISABLE=y CONFIG_BOARD_LOOPSPERMSEC=5483 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_FDCLONE_STDIO=y CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/at90usb/micropendous3/configs/hello/defconfig b/boards/avr/at90usb/micropendous3/configs/hello/defconfig index fc3e8f153a9..09fcba88738 100644 --- a/boards/avr/at90usb/micropendous3/configs/hello/defconfig +++ b/boards/avr/at90usb/micropendous3/configs/hello/defconfig @@ -19,7 +19,6 @@ CONFIG_BOARD_LOOPSPERMSEC=864 CONFIG_CONSOLE_SYSLOG=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/at90usb/teensy-2.0/configs/hello/defconfig b/boards/avr/at90usb/teensy-2.0/configs/hello/defconfig index 4b3ed658c91..b9b6f47dc09 100644 --- a/boards/avr/at90usb/teensy-2.0/configs/hello/defconfig +++ b/boards/avr/at90usb/teensy-2.0/configs/hello/defconfig @@ -19,7 +19,6 @@ CONFIG_BOARD_LOOPSPERMSEC=864 CONFIG_CONSOLE_SYSLOG=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/at90usb/teensy-2.0/configs/nsh/defconfig b/boards/avr/at90usb/teensy-2.0/configs/nsh/defconfig index 45fc3333f59..4b200ad8bbf 100644 --- a/boards/avr/at90usb/teensy-2.0/configs/nsh/defconfig +++ b/boards/avr/at90usb/teensy-2.0/configs/nsh/defconfig @@ -22,7 +22,6 @@ CONFIG_AVR_USART1=y CONFIG_BOARD_LOOPSPERMSEC=864 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=512 diff --git a/boards/avr/atmega/amber/configs/hello/defconfig b/boards/avr/atmega/amber/configs/hello/defconfig index 7c75f472d31..dd69fdc4c9c 100644 --- a/boards/avr/atmega/amber/configs/hello/defconfig +++ b/boards/avr/atmega/amber/configs/hello/defconfig @@ -19,7 +19,6 @@ CONFIG_BOARD_LOOPSPERMSEC=800 CONFIG_CONSOLE_SYSLOG=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/atmega/arduino-mega2560/configs/hello/defconfig b/boards/avr/atmega/arduino-mega2560/configs/hello/defconfig index 0b24e291d77..a8ff2e07245 100644 --- a/boards/avr/atmega/arduino-mega2560/configs/hello/defconfig +++ b/boards/avr/atmega/arduino-mega2560/configs/hello/defconfig @@ -21,7 +21,6 @@ CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_IDLETHREAD_STACKSIZE=128 CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/atmega/arduino-mega2560/configs/nsh/defconfig b/boards/avr/atmega/arduino-mega2560/configs/nsh/defconfig index 1719d7635ae..8b7c04b3a06 100644 --- a/boards/avr/atmega/arduino-mega2560/configs/nsh/defconfig +++ b/boards/avr/atmega/arduino-mega2560/configs/nsh/defconfig @@ -20,7 +20,6 @@ CONFIG_DEBUG_FULLOPT=y CONFIG_DEBUG_SYMBOLS=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_IDLETHREAD_STACKSIZE=128 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=768 diff --git a/boards/avr/atmega/moteino-mega/configs/hello/defconfig b/boards/avr/atmega/moteino-mega/configs/hello/defconfig index 980bc30b2bb..6ebc67715a2 100644 --- a/boards/avr/atmega/moteino-mega/configs/hello/defconfig +++ b/boards/avr/atmega/moteino-mega/configs/hello/defconfig @@ -19,7 +19,6 @@ CONFIG_BOARD_LOOPSPERMSEC=888 CONFIG_CONSOLE_SYSLOG=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXAMPLES_HELLO=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="hello_main" diff --git a/boards/avr/atmega/moteino-mega/configs/nsh/defconfig b/boards/avr/atmega/moteino-mega/configs/nsh/defconfig index 30335f22618..db0eddb076e 100644 --- a/boards/avr/atmega/moteino-mega/configs/nsh/defconfig +++ b/boards/avr/atmega/moteino-mega/configs/nsh/defconfig @@ -22,7 +22,6 @@ CONFIG_AVR_USART0=y CONFIG_BOARD_LOOPSPERMSEC=888 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_IDLETHREAD_STACKSIZE=512 CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=512 diff --git a/boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig b/boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig index b4fa3efd7ec..10899f31026 100644 --- a/boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig +++ b/boards/mips/pic32mx/mirtoo/configs/nxffs/defconfig @@ -22,7 +22,6 @@ CONFIG_ARCH_MIPS=y CONFIG_ARCH_STACKDUMP=y CONFIG_BOARD_LOOPSPERMSEC=8079 CONFIG_DEFAULT_SMALL=y -CONFIG_DISABLE_PTHREAD=y CONFIG_FS_NXFFS=y CONFIG_HOST_WINDOWS=y CONFIG_IDLETHREAD_STACKSIZE=2048 diff --git a/boards/or1k/mor1kx/or1k/configs/nsh/defconfig b/boards/or1k/mor1kx/or1k/configs/nsh/defconfig index 5346850792a..1a0b1827b60 100644 --- a/boards/or1k/mor1kx/or1k/configs/nsh/defconfig +++ b/boards/or1k/mor1kx/or1k/configs/nsh/defconfig @@ -63,7 +63,6 @@ CONFIG_DEBUG_TIMER_INFO=y CONFIG_DEBUG_TIMER_WARN=y CONFIG_DEBUG_WARN=y CONFIG_DEFAULT_SMALL=y -CONFIG_DISABLE_PTHREAD=y CONFIG_EXPERIMENTAL=y CONFIG_FS_PROCFS=y CONFIG_FS_PROCFS_REGISTER=y diff --git a/boards/risc-v/bl602/bl602evb/configs/elf/defconfig b/boards/risc-v/bl602/bl602evb/configs/elf/defconfig index 6e4516e5b70..89e0f7906b3 100644 --- a/boards/risc-v/bl602/bl602evb/configs/elf/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/elf/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/fpu/defconfig b/boards/risc-v/bl602/bl602evb/configs/fpu/defconfig index 8d2eaebe3cb..664023349b3 100644 --- a/boards/risc-v/bl602/bl602evb/configs/fpu/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/fpu/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/gpio/defconfig b/boards/risc-v/bl602/bl602evb/configs/gpio/defconfig index 08fc4371bfa..5fd19b9037b 100644 --- a/boards/risc-v/bl602/bl602evb/configs/gpio/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/gpio/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/i2c/defconfig b/boards/risc-v/bl602/bl602evb/configs/i2c/defconfig index 6df53f82de5..1abe60a0dbd 100644 --- a/boards/risc-v/bl602/bl602evb/configs/i2c/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/i2c/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig index 28def0750d4..bc6fc6e6049 100644 --- a/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/nsh/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/spi/defconfig b/boards/risc-v/bl602/bl602evb/configs/spi/defconfig index e64f283f420..bf8915548cd 100644 --- a/boards/risc-v/bl602/bl602evb/configs/spi/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/spi/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/spiflash/defconfig b/boards/risc-v/bl602/bl602evb/configs/spiflash/defconfig index 15d41601805..009b5d3f622 100644 --- a/boards/risc-v/bl602/bl602evb/configs/spiflash/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/spiflash/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/timer/defconfig b/boards/risc-v/bl602/bl602evb/configs/timer/defconfig index 762ad0a5ee6..33669a3ffc1 100644 --- a/boards/risc-v/bl602/bl602evb/configs/timer/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/timer/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig b/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig index 77d122e41a5..1fdc93e26e4 100644 --- a/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig +++ b/boards/risc-v/bl602/bl602evb/configs/wifi/defconfig @@ -9,6 +9,7 @@ # CONFIG_DISABLE_MQUEUE is not set # CONFIG_DISABLE_POSIX_TIMERS is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLESCRIPT is not set # CONFIG_NSH_DISABLE_DF is not set diff --git a/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig b/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig index d1d1237bb50..90a09cdf2b9 100644 --- a/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig +++ b/boards/risc-v/fe310/hifive1-revb/configs/nsh/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_CAT is not set # CONFIG_NSH_DISABLE_ECHO is not set diff --git a/boards/risc-v/litex/arty_a7/configs/nsh/defconfig b/boards/risc-v/litex/arty_a7/configs/nsh/defconfig index 53fc12b0ebf..34ceddaf92b 100644 --- a/boards/risc-v/litex/arty_a7/configs/nsh/defconfig +++ b/boards/risc-v/litex/arty_a7/configs/nsh/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/rv32m1/rv32m1-vega/configs/buttons/defconfig b/boards/risc-v/rv32m1/rv32m1-vega/configs/buttons/defconfig index cafd83f45cf..bfdaad77602 100644 --- a/boards/risc-v/rv32m1/rv32m1-vega/configs/buttons/defconfig +++ b/boards/risc-v/rv32m1/rv32m1-vega/configs/buttons/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh-itcm/defconfig b/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh-itcm/defconfig index 4ca6eecc6ee..8135eca8649 100644 --- a/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh-itcm/defconfig +++ b/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh-itcm/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh/defconfig b/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh/defconfig index 4466de14762..3bf8d40a02d 100644 --- a/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh/defconfig +++ b/boards/risc-v/rv32m1/rv32m1-vega/configs/nsh/defconfig @@ -5,6 +5,7 @@ # You can then do "make savedefconfig" to generate a new defconfig file that includes your # modifications. # +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLE_LOSMART is not set # CONFIG_NSH_DISABLE_UNAME is not set diff --git a/boards/sparc/bm3823/xx3823/configs/nsh/defconfig b/boards/sparc/bm3823/xx3823/configs/nsh/defconfig index 84db3ea8eb7..b3b1b300a3a 100644 --- a/boards/sparc/bm3823/xx3823/configs/nsh/defconfig +++ b/boards/sparc/bm3823/xx3823/configs/nsh/defconfig @@ -26,7 +26,6 @@ CONFIG_DEBUG_WARN=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y CONFIG_DISABLE_MQUEUE=y -CONFIG_DISABLE_PTHREAD=y CONFIG_ELF=y CONFIG_ENDIAN_BIG=y CONFIG_EXAMPLES_HELLO=y diff --git a/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig b/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig index 34c03a0a995..f90c5fa659a 100644 --- a/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig +++ b/boards/xtensa/esp32/esp32-devkitc/configs/coex/defconfig @@ -10,6 +10,7 @@ # CONFIG_DISABLE_MQUEUE is not set # CONFIG_DISABLE_POSIX_TIMERS is not set # CONFIG_DISABLE_PSEUDOFS_OPERATIONS is not set +# CONFIG_DISABLE_PTHREAD is not set # CONFIG_NSH_DISABLEBG is not set # CONFIG_NSH_DISABLESCRIPT is not set # CONFIG_NSH_DISABLE_ARP is not set diff --git a/boards/z80/z180/p112/configs/ostest/defconfig b/boards/z80/z180/p112/configs/ostest/defconfig index 44115be16a8..d865c2c2f3b 100644 --- a/boards/z80/z180/p112/configs/ostest/defconfig +++ b/boards/z80/z180/p112/configs/ostest/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_Z80=y CONFIG_BOARD_LOOPSPERMSEC=100 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_INIT_ENTRYPOINT="ostest_main" CONFIG_INIT_STACKSIZE=1024 CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=3 diff --git a/boards/z80/z8/z8encore000zco/configs/ostest/defconfig b/boards/z80/z8/z8encore000zco/configs/ostest/defconfig index bbe5dbd5f0e..52a4a779e7b 100644 --- a/boards/z80/z8/z8encore000zco/configs/ostest/defconfig +++ b/boards/z80/z8/z8encore000zco/configs/ostest/defconfig @@ -19,7 +19,6 @@ CONFIG_BOARD_LOOPSPERMSEC=1250 CONFIG_CONSOLE_SYSLOG=y CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_HOST_WINDOWS=y CONFIG_IDLETHREAD_STACKSIZE=256 CONFIG_INIT_ENTRYPOINT="ostest_main" diff --git a/boards/z80/z8/z8f64200100kit/configs/ostest/defconfig b/boards/z80/z8/z8f64200100kit/configs/ostest/defconfig index 9063eec1db6..93938a7f284 100644 --- a/boards/z80/z8/z8f64200100kit/configs/ostest/defconfig +++ b/boards/z80/z8/z8f64200100kit/configs/ostest/defconfig @@ -18,7 +18,6 @@ CONFIG_ARCH_Z80=y CONFIG_BOARD_LOOPSPERMSEC=1250 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_HOST_WINDOWS=y CONFIG_IDLETHREAD_STACKSIZE=256 CONFIG_INIT_ENTRYPOINT="ostest_main" diff --git a/boards/z80/z80/z80sim/configs/nsh/defconfig b/boards/z80/z80/z80sim/configs/nsh/defconfig index 7c3973a935f..9fac04c7411 100644 --- a/boards/z80/z80/z80sim/configs/nsh/defconfig +++ b/boards/z80/z80/z80sim/configs/nsh/defconfig @@ -28,7 +28,6 @@ CONFIG_ARCH_Z80=y CONFIG_BOARD_LOOPSPERMSEC=100 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_INIT_ENTRYPOINT="nsh_main" CONFIG_INIT_STACKSIZE=1024 CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=6 diff --git a/boards/z80/z80/z80sim/configs/ostest/defconfig b/boards/z80/z80/z80sim/configs/ostest/defconfig index 44115be16a8..d865c2c2f3b 100644 --- a/boards/z80/z80/z80sim/configs/ostest/defconfig +++ b/boards/z80/z80/z80sim/configs/ostest/defconfig @@ -16,7 +16,6 @@ CONFIG_ARCH_Z80=y CONFIG_BOARD_LOOPSPERMSEC=100 CONFIG_DEFAULT_SMALL=y CONFIG_DISABLE_MOUNTPOINT=y -CONFIG_DISABLE_PTHREAD=y CONFIG_INIT_ENTRYPOINT="ostest_main" CONFIG_INIT_STACKSIZE=1024 CONFIG_NFILE_DESCRIPTORS_PER_BLOCK=3 diff --git a/sched/Kconfig b/sched/Kconfig index 3083129ffa6..01e110f658a 100644 --- a/sched/Kconfig +++ b/sched/Kconfig @@ -29,7 +29,8 @@ config DISABLE_POSIX_TIMERS config DISABLE_PTHREAD bool "Disable pthread support" - default n + default y if DEFAULT_SMALL + default n if !DEFAULT_SMALL config DISABLE_MQUEUE bool "Disable POSIX message queue support"