From 23147c40a58e0a2a118fe4ab96a85e5161bfeeae Mon Sep 17 00:00:00 2001
From: Gregory Nutt
Date: Mon, 1 Sep 2014 13:21:15 -0600
Subject: [PATCH] Remove final traces of the 8015 from the NuttX source tree
---
Documentation/NuttX.html | 17 ++++--
Documentation/NuttxPortingGuide.html | 21 +------
Documentation/README.html | 2 -
README.txt | 2 -
TODO | 61 ++-----------------
arch/Kconfig | 12 ----
arch/README.txt | 3 -
binfmt/binfmt_execmodule.c | 13 ----
configs/16z/nsh/defconfig | 2 -
configs/Kconfig | 12 ----
configs/README.txt | 4 --
configs/amber/hello/defconfig | 2 -
configs/arduino-due/nsh/defconfig | 2 -
configs/avr32dev1/nsh/defconfig | 2 -
configs/avr32dev1/ostest/defconfig | 2 -
configs/c5471evm/httpd/defconfig | 2 -
configs/c5471evm/nettest/defconfig | 2 -
configs/c5471evm/nsh/defconfig | 2 -
configs/cc3200-launchpad/nsh/defconfig | 2 -
configs/cloudctrl/nsh/defconfig | 2 -
configs/cloudctrl/src/up_usb.c | 2 +-
configs/compal_e86/nsh_highram/defconfig | 2 -
configs/compal_e88/nsh_highram/defconfig | 2 -
configs/compal_e99/nsh_compalram/defconfig | 2 -
configs/compal_e99/nsh_highram/defconfig | 2 -
configs/demo9s12ne64/ostest/defconfig | 2 -
configs/ea3131/nsh/defconfig | 2 -
configs/ea3131/pgnsh/defconfig | 2 -
configs/ea3131/src/up_usbhost.c | 2 +-
configs/ea3131/usbserial/defconfig | 2 -
configs/ea3152/ostest/defconfig | 2 -
configs/eagle100/httpd/defconfig | 2 -
configs/eagle100/nettest/defconfig | 2 -
configs/eagle100/nsh/defconfig | 2 -
configs/eagle100/nxflat/defconfig | 2 -
configs/eagle100/thttpd/defconfig | 2 -
configs/ekk-lm3s9b96/nsh/defconfig | 2 -
configs/ez80f910200kitg/ostest/defconfig | 2 -
configs/ez80f910200zco/dhcpd/defconfig | 2 -
configs/ez80f910200zco/httpd/defconfig | 2 -
configs/ez80f910200zco/nettest/defconfig | 2 -
configs/ez80f910200zco/nsh/defconfig | 2 -
configs/ez80f910200zco/poll/defconfig | 2 -
configs/fire-stm32v2/nsh/defconfig | 2 -
configs/freedom-kl25z/minnsh/defconfig | 2 -
configs/freedom-kl25z/nsh/defconfig | 2 -
configs/hymini-stm32v/buttons/defconfig | 2 -
configs/hymini-stm32v/nsh/defconfig | 2 -
configs/hymini-stm32v/nsh2/defconfig | 2 -
configs/hymini-stm32v/usbmsc/defconfig | 2 -
configs/hymini-stm32v/usbnsh/defconfig | 2 -
configs/hymini-stm32v/usbserial/defconfig | 2 -
configs/kwikstik-k40/ostest/defconfig | 2 -
configs/lincoln60/nsh/defconfig | 2 -
configs/lm3s6432-s2e/nsh/defconfig | 2 -
configs/lm3s6965-ek/discover/defconfig | 2 -
configs/lm3s6965-ek/nsh/defconfig | 2 -
configs/lm3s6965-ek/nx/defconfig | 2 -
configs/lm3s6965-ek/tcpecho/defconfig | 2 -
configs/lm3s8962-ek/nsh/defconfig | 2 -
configs/lm3s8962-ek/nx/defconfig | 2 -
configs/lm4f120-launchpad/nsh/defconfig | 2 -
configs/lpc4330-xplorer/nsh/defconfig | 2 -
configs/lpcxpresso-lpc1768/dhcpd/defconfig | 2 -
configs/lpcxpresso-lpc1768/nsh/defconfig | 2 -
configs/lpcxpresso-lpc1768/nx/defconfig | 2 -
configs/lpcxpresso-lpc1768/thttpd/defconfig | 2 -
configs/lpcxpresso-lpc1768/usbmsc/defconfig | 2 -
configs/maple/nsh/defconfig | 2 -
configs/maple/nx/defconfig | 2 -
configs/maple/usbnsh/defconfig | 2 -
configs/mbed/hidkbd/defconfig | 2 -
configs/mbed/nsh/defconfig | 2 -
configs/mcu123-lpc214x/composite/defconfig | 2 -
configs/mcu123-lpc214x/nsh/defconfig | 2 -
configs/mcu123-lpc214x/usbmsc/defconfig | 2 -
configs/mcu123-lpc214x/usbserial/defconfig | 2 -
configs/micropendous3/hello/defconfig | 2 -
configs/mikroe-stm32f4/fulldemo/defconfig | 2 -
configs/mikroe-stm32f4/kostest/defconfig | 2 -
configs/mikroe-stm32f4/nsh/defconfig | 2 -
configs/mikroe-stm32f4/nx/defconfig | 2 -
configs/mikroe-stm32f4/nxlines/defconfig | 2 -
configs/mikroe-stm32f4/nxtext/defconfig | 2 -
configs/mikroe-stm32f4/src/up_usb.c | 2 +-
configs/mikroe-stm32f4/usbnsh/defconfig | 2 -
configs/mirtoo/nsh/defconfig | 2 -
configs/mirtoo/nxffs/defconfig | 2 -
configs/mx1ads/ostest/defconfig | 2 -
configs/ne64badge/ostest/defconfig | 2 -
configs/ntosd-dm320/nettest/defconfig | 2 -
configs/ntosd-dm320/nsh/defconfig | 2 -
configs/ntosd-dm320/poll/defconfig | 2 -
configs/ntosd-dm320/thttpd/defconfig | 2 -
configs/ntosd-dm320/udp/defconfig | 2 -
configs/ntosd-dm320/webserver/defconfig | 2 -
configs/nucleo-f401re/nsh/defconfig | 2 -
configs/nucleus2g/nsh/defconfig | 2 -
configs/nucleus2g/usbmsc/defconfig | 2 -
configs/nucleus2g/usbserial/defconfig | 2 -
configs/nutiny-nuc120/nsh/defconfig | 2 -
configs/olimex-lpc-h3131/nsh/defconfig | 2 -
configs/olimex-lpc-h3131/src/lpc31_usbhost.c | 2 +-
configs/olimex-lpc1766stk/ftpc/defconfig | 2 -
configs/olimex-lpc1766stk/hidkbd/defconfig | 2 -
configs/olimex-lpc1766stk/hidmouse/defconfig | 2 -
configs/olimex-lpc1766stk/nettest/defconfig | 2 -
configs/olimex-lpc1766stk/nsh/defconfig | 2 -
configs/olimex-lpc1766stk/nx/defconfig | 2 -
.../olimex-lpc1766stk/slip-httpd/defconfig | 2 -
configs/olimex-lpc1766stk/src/lpc17_nsh.c | 5 --
configs/olimex-lpc1766stk/thttpd/defconfig | 2 -
configs/olimex-lpc1766stk/usbmsc/defconfig | 2 -
configs/olimex-lpc1766stk/usbserial/defconfig | 2 -
configs/olimex-lpc1766stk/zmodem/defconfig | 2 -
configs/olimex-lpc2378/nsh/defconfig | 2 -
configs/olimex-stm32-h405/nshusb/defconfig | 2 -
configs/olimex-stm32-p107/nsh/defconfig | 2 -
configs/olimex-stm32-p207/nsh/defconfig | 2 -
configs/olimex-stm32-p207/src/up_usb.c | 2 +-
configs/olimex-strp711/nettest/defconfig | 2 -
configs/olimex-strp711/nsh/defconfig | 2 -
configs/open1788/knsh/defconfig | 2 -
configs/open1788/nsh/defconfig | 2 -
configs/open1788/nxlines/defconfig | 2 -
configs/open1788/src/lpc17_nsh.c | 5 --
configs/p112/ostest/defconfig | 2 -
configs/pcblogic-pic32mx/nsh/defconfig | 2 -
configs/pcduino-a10/nsh/defconfig | 2 -
configs/pic32-starterkit/nsh/defconfig | 2 -
configs/pic32-starterkit/nsh2/defconfig | 2 -
configs/pic32-starterkit/src/up_nsh.c | 5 --
configs/pic32mx7mmb/nsh/defconfig | 2 -
configs/pic32mx7mmb/src/up_nsh.c | 5 --
configs/pirelli_dpl10/nsh_highram/defconfig | 2 -
configs/px4fmu-v2_upstream/nsh/defconfig | 2 -
configs/qemu-i486/nsh/defconfig | 2 -
configs/qemu-i486/ostest/defconfig | 2 -
configs/rgmp/arm/default/defconfig | 2 -
configs/rgmp/arm/nsh/defconfig | 2 -
configs/rgmp/x86/cxxtest/defconfig | 2 -
configs/rgmp/x86/default/defconfig | 2 -
configs/rgmp/x86/helloxx/defconfig | 2 -
configs/rgmp/x86/nsh/defconfig | 2 -
configs/sam3u-ek/knsh/defconfig | 2 -
configs/sam3u-ek/nsh/defconfig | 2 -
configs/sam3u-ek/nx/defconfig | 2 -
configs/sam3u-ek/nxwm/defconfig | 2 -
configs/sam4e-ek/nsh/defconfig | 2 -
configs/sam4e-ek/nxwm/defconfig | 2 -
configs/sam4e-ek/usbnsh/defconfig | 2 -
configs/sam4l-xplained/nsh/defconfig | 2 -
configs/sam4s-xplained-pro/nsh/defconfig | 2 -
configs/sam4s-xplained-pro/src/sam_wdt.c | 2 +-
configs/sam4s-xplained/nsh/defconfig | 2 -
configs/sama5d3-xplained/nsh/defconfig | 2 -
configs/sama5d3-xplained/src/sam_usb.c | 4 +-
configs/sama5d3x-ek/demo/defconfig | 2 -
configs/sama5d3x-ek/hello/defconfig | 2 -
configs/sama5d3x-ek/norboot/defconfig | 2 -
configs/sama5d3x-ek/nsh/defconfig | 2 -
configs/sama5d3x-ek/nx/defconfig | 2 -
configs/sama5d3x-ek/nxplayer/defconfig | 2 -
configs/sama5d3x-ek/nxwm/defconfig | 2 -
configs/sama5d3x-ek/ov2640/defconfig | 2 -
configs/sama5d3x-ek/src/sam_usb.c | 4 +-
configs/sama5d4-ek/at25boot/defconfig | 2 -
configs/sama5d4-ek/dramboot/defconfig | 2 -
configs/sama5d4-ek/elf/defconfig | 2 -
configs/sama5d4-ek/kernel/defconfig | 2 -
configs/sama5d4-ek/nsh/defconfig | 2 -
configs/sama5d4-ek/nxwm/defconfig | 2 -
configs/sama5d4-ek/ramtest/defconfig | 2 -
configs/sama5d4-ek/src/sam_usb.c | 4 +-
configs/samd20-xplained/nsh/defconfig | 2 -
configs/shenzhou/nsh/defconfig | 2 -
configs/shenzhou/nxwm/defconfig | 2 -
configs/shenzhou/src/up_usb.c | 2 +-
configs/shenzhou/thttpd/defconfig | 2 -
configs/sim/configdata/defconfig | 2 -
configs/sim/cxxtest/defconfig | 2 -
configs/sim/mount/defconfig | 2 -
configs/sim/mtdpart/defconfig | 2 -
configs/sim/nettest/defconfig | 2 -
configs/sim/nsh/defconfig | 2 -
configs/sim/nsh2/defconfig | 2 -
configs/sim/nx/defconfig | 2 -
configs/sim/nx11/defconfig | 2 -
configs/sim/nxffs/defconfig | 2 -
configs/sim/nxlines/defconfig | 2 -
configs/sim/nxwm/defconfig | 2 -
configs/sim/ostest/defconfig | 2 -
configs/sim/pashello/defconfig | 2 -
configs/sim/touchscreen/defconfig | 2 -
configs/skp16c26/ostest/defconfig | 2 -
configs/spark/composite/defconfig | 2 -
configs/spark/nsh/defconfig | 2 -
configs/spark/usbmsc/defconfig | 2 -
configs/spark/usbnsh/defconfig | 2 -
configs/spark/usbserial/defconfig | 2 -
configs/stm3210e-eval/buttons/defconfig | 2 -
configs/stm3210e-eval/composite/defconfig | 2 -
configs/stm3210e-eval/nsh/defconfig | 2 -
configs/stm3210e-eval/nsh2/defconfig | 2 -
configs/stm3210e-eval/nx/defconfig | 2 -
configs/stm3210e-eval/nxconsole/defconfig | 2 -
configs/stm3210e-eval/pm/defconfig | 2 -
configs/stm3210e-eval/usbmsc/defconfig | 2 -
configs/stm3210e-eval/usbserial/defconfig | 2 -
configs/stm3220g-eval/dhcpd/defconfig | 2 -
configs/stm3220g-eval/nettest/defconfig | 2 -
configs/stm3220g-eval/nsh/defconfig | 2 -
configs/stm3220g-eval/nsh2/defconfig | 2 -
configs/stm3220g-eval/nxwm/defconfig | 2 -
configs/stm3220g-eval/src/up_usb.c | 2 +-
configs/stm3220g-eval/telnetd/defconfig | 2 -
configs/stm3240g-eval/dhcpd/defconfig | 2 -
configs/stm3240g-eval/discover/defconfig | 2 -
configs/stm3240g-eval/knxwm/defconfig | 2 -
configs/stm3240g-eval/nettest/defconfig | 2 -
configs/stm3240g-eval/nsh/defconfig | 2 -
configs/stm3240g-eval/nsh2/defconfig | 2 -
configs/stm3240g-eval/nxconsole/defconfig | 2 -
configs/stm3240g-eval/nxwm/defconfig | 2 -
configs/stm3240g-eval/src/up_boot.c | 2 +-
configs/stm3240g-eval/src/up_usb.c | 2 +-
configs/stm3240g-eval/telnetd/defconfig | 2 -
configs/stm3240g-eval/webserver/defconfig | 2 -
configs/stm3240g-eval/xmlrpc/defconfig | 2 -
configs/stm32_tiny/nsh/defconfig | 2 -
configs/stm32_tiny/usbnsh/defconfig | 2 -
configs/stm32f100rc_generic/nsh/defconfig | 2 -
configs/stm32f3discovery/nsh/defconfig | 2 -
configs/stm32f3discovery/usbnsh/defconfig | 2 -
configs/stm32f429i-disco/extflash/defconfig | 2 -
configs/stm32f429i-disco/nsh/defconfig | 2 -
configs/stm32f429i-disco/src/stm32_usb.c | 2 +-
configs/stm32f429i-disco/usbmsc/defconfig | 2 -
configs/stm32f429i-disco/usbnsh/defconfig | 2 -
configs/stm32f4discovery/cxxtest/defconfig | 2 -
configs/stm32f4discovery/elf/defconfig | 2 -
configs/stm32f4discovery/kostest/defconfig | 2 -
configs/stm32f4discovery/nsh/defconfig | 2 -
configs/stm32f4discovery/nxlines/defconfig | 2 -
configs/stm32f4discovery/pm/defconfig | 2 -
.../stm32f4discovery/posix_spawn/defconfig | 2 -
configs/stm32f4discovery/src/stm32_usb.c | 2 +-
configs/stm32f4discovery/usbnsh/defconfig | 2 -
configs/stm32f4discovery/winbuild/defconfig | 2 -
configs/stm32ldiscovery/nsh/defconfig | 2 -
configs/stm32vldiscovery/nsh/defconfig | 2 -
configs/sure-pic32mx/nsh/defconfig | 2 -
configs/sure-pic32mx/src/pic32mx_nsh.c | 5 --
configs/sure-pic32mx/usbnsh/defconfig | 2 -
configs/teensy/hello/defconfig | 2 -
configs/teensy/nsh/defconfig | 2 -
configs/teensy/usbmsc/defconfig | 2 -
configs/tm4c123g-launchpad/nsh/defconfig | 2 -
configs/twr-k60n512/nsh/defconfig | 2 -
configs/ubw32/nsh/defconfig | 2 -
configs/us7032evb1/nsh/defconfig | 2 -
configs/us7032evb1/ostest/defconfig | 2 -
configs/viewtool-stm32f107/highpri/defconfig | 2 -
configs/viewtool-stm32f107/netnsh/defconfig | 2 -
configs/viewtool-stm32f107/nsh/defconfig | 2 -
configs/vsn/nsh/defconfig | 2 -
configs/xtrs/nsh/defconfig | 2 -
configs/xtrs/ostest/defconfig | 2 -
configs/xtrs/pashello/defconfig | 2 -
configs/z16f2800100zcog/nsh/defconfig | 2 -
configs/z16f2800100zcog/ostest/defconfig | 2 -
configs/z16f2800100zcog/pashello/defconfig | 2 -
configs/z80sim/nsh/defconfig | 2 -
configs/z80sim/ostest/defconfig | 2 -
configs/z80sim/pashello/defconfig | 2 -
configs/z8encore000zco/ostest/defconfig | 2 -
configs/z8f64200100kit/ostest/defconfig | 2 -
configs/zkit-arm-1769/hello/defconfig | 2 -
configs/zkit-arm-1769/nsh/defconfig | 2 -
configs/zkit-arm-1769/nxhello/defconfig | 2 -
configs/zkit-arm-1769/thttpd/defconfig | 2 -
configs/zp214xpa/nsh/defconfig | 2 -
configs/zp214xpa/nxlines/defconfig | 2 -
drivers/net/slip.c | 12 +---
drivers/usbdev/usbmsc.c | 2 +-
drivers/usbhost/usbhost_hidkbd.c | 5 --
drivers/usbhost/usbhost_hidmouse.c | 5 --
graphics/nxmu/nx_start.c | 2 +-
include/nuttx/arch.h | 9 +--
include/nuttx/kthread.h | 17 ------
include/nuttx/sched.h | 5 +-
include/sched.h | 25 --------
libc/wqueue/work_usrstart.c | 2 +-
sched/init/os_bringup.c | 10 +--
sched/init/os_start.c | 5 +-
sched/sched/sched_releasetcb.c | 10 +--
sched/task/task_create.c | 25 --------
sched/task/task_init.c | 7 ---
sched/task/task_posixspawn.c | 2 +-
sched/task/task_setup.c | 15 ++---
sched/task/task_spawn.c | 6 +-
301 files changed, 60 insertions(+), 818 deletions(-)
diff --git a/Documentation/NuttX.html b/Documentation/NuttX.html
index 049d4294ef..276ae22a7f 100644
--- a/Documentation/NuttX.html
+++ b/Documentation/NuttX.html
@@ -8,7 +8,7 @@
NuttX RTOS
- Last Updated: August 15, 2014
+ Last Updated: September 1, 2014
|
@@ -1254,7 +1254,7 @@
Intel
@@ -1330,7 +1330,7 @@
Intel
@@ -3622,8 +3622,7 @@ Mem: 29232 5920 23312 23312
PJRC 87C52 Development Board.
- This port uses the PJRC 87C52 development system
- and the SDCC toolchain under Linux or Cygwin.
+ This port uses the PJRC 87C52 development system and the SDCC toolchain under Linux or Cygwin.
@@ -3633,7 +3632,13 @@ Mem: 29232 5920 23312 23312
address space during interrupt handling.
This architecture has not been built in some time will likely have some compilation
problems because of SDCC compiler differences.
- Refer to the NuttX board README file for further information.
+ Refer to the NuttX board README file for further information.
+
+
+ Obsoleted.
+ This architecture has been obsoleted.
+ The code has been moved out of the source tree an can now be found in Obsoleted directory.
+ This support was obsoleted because (1) the architecture limitations of the 8051 family make ongoing support too difficult, and (2) although the basic port was marginally functional, it has never really been demonstrated convincingly in any application.
|
diff --git a/Documentation/NuttxPortingGuide.html b/Documentation/NuttxPortingGuide.html
index 7bbadfaed3..07996d513f 100644
--- a/Documentation/NuttxPortingGuide.html
+++ b/Documentation/NuttxPortingGuide.html
@@ -607,10 +607,6 @@
This is a work in progress.
- arch/8051
:
- 8051 Microcontroller. This port is not quite ready for prime time.
-
-
arch/z16f
:
Zilog z16f Microcontroller.
This port uses the Zilog z16f2800100zcog Development Kit.
@@ -950,12 +946,6 @@
(PICkit 2 does not work with the PIC32).
- configs/pjrc-8051
:
- 8051 Microcontroller. This port uses the PJRC 87C52 development system
- and the SDCC toolchain under Linux or Cygwin.
- This port is not quite ready for prime time.
-
-
configs/qemu-i486
:
Port of NuttX to QEMU in i486 mode. This port will also run on real i486
hardware (Google the Bifferboard).
@@ -1806,9 +1796,6 @@ The system can be re-made subsequently by just typing make
.
adj_stack_ptr
: Adjusted stack_alloc_ptr
for HW. The
initial value of the stack pointer.
-
- This API is NOT required if CONFIG_CUSTOM_STACK
is defined.
-
Input Parameters:
@@ -1861,9 +1848,6 @@ The system can be re-made subsequently by just typing make
.
adj_stack_ptr
: Adjusted stack_alloc_ptr
for HW. The
initial value of the stack pointer.
-
- This API is NOT required if CONFIG_CUSTOM_STACK
is defined.
-
Input Parameters:
@@ -1906,7 +1890,7 @@ The system can be re-made subsequently by just typing make
.
- This API is NOT required if CONFIG_BUILD_PROTECTED
and CONFIG_BUILD_KERNEL
are undefined or if CONFIG_CUSTOM_STACK
is defined.
+ This API is NOT required if CONFIG_BUILD_PROTECTED
and CONFIG_BUILD_KERNEL
are undefined.
Input Parameters:
@@ -1937,9 +1921,6 @@ The system can be re-made subsequently by just typing make
.
A task has been stopped.
Free all stack related resources retained int the defunct TCB.
-
- This API is NOT required if CONFIG_CUSTOM_STACK
is defined.
-
Input Parameters:
-
diff --git a/Documentation/README.html b/Documentation/README.html
index b2a8775d08..50304cff2e 100644
--- a/Documentation/README.html
+++ b/Documentation/README.html
@@ -164,8 +164,6 @@
| | | `- README.txt
| | |- pirelli_dpl10/
| | | `- README.txt
- | | |- pjrc-8051/
- | | | `- README.txt
| | |- qemu-i486/
| | | `- README.txt
| | |- rgmp/
diff --git a/README.txt b/README.txt
index b868b81bb5..fcd7e3eb81 100644
--- a/README.txt
+++ b/README.txt
@@ -1030,8 +1030,6 @@ nuttx
| | `- README.txt
| |- pirelli_dpl10/
| | `- README.txt
- | |- pjrc-8051/
- | | `- README.txt
| |- qemu-i486/
| | `- README.txt
| |- rgmp/
diff --git a/TODO b/TODO
index 28776465f8..a4253845be 100644
--- a/TODO
+++ b/TODO
@@ -38,7 +38,6 @@ nuttx/
(5) ARM/STM32 (arch/arm/src/stm32/)
(3) AVR (arch/avr)
(0) Intel x86 (arch/x86)
- (5) 8051 / MCS51 (arch/8051/)
(3) MIPS/PIC32 (arch/mips)
(1) Hitachi/Renesas SH-1 (arch/sh/src/sh1)
(4) Renesas M16C/26 (arch/sh/src/m16c)
@@ -1839,58 +1838,6 @@ o AVR (arch/avr)
o Intel x86 (arch/x86)
^^^^^^^^^^^^^^^^^^^^
-o 8051 / MCS51 (arch/8051/)
- ^^^^^^^^^^^^^^^^^^^^^^^^^
-
- Title: STACK OVERFLOWS DURING INTERRUPT HANDLING
- Description: Current status:
- - Basic OS task management seems OK
- - Fails when interrupts enabled. The stack pointer is around
- 0x6e before the failure occurs. It looks like some issue
- when the stack pointer moves from the directly to indirectly
- addressable region (0x80 boundary).
- - Work on the 8052 is temporarily on hold
- Status: Open
- Priority: Low, 8051 is a tough platform because of the tiny stack.
-
- Title: TIMER 0 AS SYSTEM TIMER
- Description: Use timer 0 as system timer. Timer 2 is needed for second UART.
- Logic is implemented, but there needs to be a system
- configuration to change the ticks-per-second value to match the
- timer interrupt rate
- Status: Open
- Priority: Low
-
- Title: OVERFLOWS DURING BUILD
- Description: During build, there are several integer overflows reported:
- sched/gmtime_r.c aroud lines 184 and 185
- sched/clock_initialize.c at line 107
- sched/pthread_create.c at 330
- apps/examples/ostest/barrier.c around lines 53 and 74
- apps/examples/ostest/sighand.c at 225 and 244
- driver/serial.c in usleep calls around 347 and 354
- Status: Open. Update: These were reviewed during the hcs12 port. The
- hcs12 also has 16-bit integer types (if -mshort is in the CFLAGS).
- I believe that the warnings in most of the above have been fixed
- but this has not been verified on this platform).
- Priority: Medium
-
- Title: DATA INITIALIZATION
- Description Global data is not being initialized. Logic like that of SDCCs
- crt0*.s needs to be incorporated into the system boot logic
- Status: Open
- Priority: Low -- only because there as so many other issues with 8051
-
- Title: 8051 BUILD BROKEN
- Description: The last time I tried to build the pjrc-8051 configuration using
- the SDCC 3.2.1 toolchain (for Windows). I got compilation
- errors in sched/os_bringup.c. It complained about type
- mis-matches. What I gather from Googling, this is a problem
- with the --stack-auto option. At any rate, this problem will
- need to be fixed if you want to resurrect the 8051 NuttX port.
- Status: Open
- Priority: Low -- I don't think anyone uses the 8051 port.
-
o MIPS/PIC32(arch/mips)
^^^^^^^^^^^^^^^^^^^^^
@@ -2032,11 +1979,11 @@ o z80/z8/ez80/z180 (arch/z80)
Title: SDCC INTEGER OVERFLOWS
Description: The SDCC version the same problems with integer overflow during
- compilation as described for pjrc-8051. At typical cause is code like
+ compilation for certain 8-bit platform. At typical cause is code like
usleep(500*1000) which exceeds the range of a 16-bit integer.
- Status: See pjrc-8051. These have probably been fixed but have not yet
- been verified on these platforms.
- Priority: See pjrc-8051
+ Status: These have probably been fixed but have not yet been verified on thes
+ affected platforms.
+ Priority: Low for now
Title: Z80 SIMULATED CONSOLE
Description: The simulated Z80 serial console (configs/z80sim/src/z80_serial.c +
diff --git a/arch/Kconfig b/arch/Kconfig
index 41b28fab59..11954a5a0f 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -7,12 +7,6 @@ choice
prompt "CPU Architecture"
default ARCH_ARM
-config ARCH_8051
- bool "8051"
- select CUSTOM_STACK
- ---help---
- Intel 8051 architectures and derivatives
-
config ARCH_ARM
bool "ARM"
select ARCH_HAVE_INTERRUPTSTACK
@@ -84,7 +78,6 @@ endchoice
config ARCH
string
- default "8051" if ARCH_8051
default "arm" if ARCH_ARM
default "avr" if ARCH_AVR
default "hc" if ARCH_HC
@@ -96,7 +89,6 @@ config ARCH
default "z16" if ARCH_Z16
default "z80" if ARCH_Z80
-source arch/8051/Kconfig
source arch/arm/Kconfig
source arch/avr/Kconfig
source arch/hc/Kconfig
@@ -134,10 +126,6 @@ config ARCH_HAVE_COHERENT_DCACHE
bool
default n
-config CUSTOM_STACK
- bool
- default n
-
config ARCH_HAVE_ADDRENV
bool
default n
diff --git a/arch/README.txt b/arch/README.txt
index e7ef76ddf8..e074d6983c 100644
--- a/arch/README.txt
+++ b/arch/README.txt
@@ -287,9 +287,6 @@ arch/sh - SuperH and related Hitachi/Renesas microcontrollers
arch/sh/include/shs and arch/sh/src/sh1
Support for the SH-1 processor.
-arch/8051 - 8051/52 microcontrollers
- 8051 Microcontroller. This port is not quite ready for prime time.
-
arch/x86 - Intel x86 architectures
This directory holds related, 32- and 64-bit architectures from Intel.
At present, this includes the following subdirectories:
diff --git a/binfmt/binfmt_execmodule.c b/binfmt/binfmt_execmodule.c
index 414c17284f..dccd225b5a 100644
--- a/binfmt/binfmt_execmodule.c
+++ b/binfmt/binfmt_execmodule.c
@@ -135,9 +135,7 @@ static void exec_ctors(FAR void *arg)
int exec_module(FAR const struct binary_s *binp)
{
FAR struct task_tcb_s *tcb;
-#ifndef CONFIG_CUSTOM_STACK
FAR uint32_t *stack;
-#endif
pid_t pid;
int err;
int ret;
@@ -163,7 +161,6 @@ int exec_module(FAR const struct binary_s *binp)
goto errout;
}
-#ifndef CONFIG_CUSTOM_STACK
/* Allocate the stack for the new task (always from the user heap) */
stack = (FAR uint32_t*)kumm_malloc(binp->stacksize);
@@ -177,12 +174,6 @@ int exec_module(FAR const struct binary_s *binp)
ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority,
stack, binp->stacksize, binp->entrypt, binp->argv);
-#else
- /* Initialize the task */
-
- ret = task_init((FAR struct tcb_s *)tcb, binp->filename, binp->priority,
- stack, binp->entrypt, binp->argv);
-#endif
if (ret < 0)
{
err = get_errno();
@@ -247,13 +238,9 @@ int exec_module(FAR const struct binary_s *binp)
return (int)pid;
errout_with_stack:
-#ifndef CONFIG_CUSTOM_STACK
tcb->cmn.stack_alloc_ptr = NULL;
sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK);
kumm_free(stack);
-#else
- sched_releasetcb(&tcb->cmn, TCB_FLAG_TTYPE_TASK);
-#endif
goto errout;
errout_with_tcb:
diff --git a/configs/16z/nsh/defconfig b/configs/16z/nsh/defconfig
index a667f239ff..71b33d91f8 100644
--- a/configs/16z/nsh/defconfig
+++ b/configs/16z/nsh/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -120,7 +119,6 @@ CONFIG_Z16F_UART0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/Kconfig b/configs/Kconfig
index 2484013763..94b4dabc2a 100644
--- a/configs/Kconfig
+++ b/configs/Kconfig
@@ -509,14 +509,6 @@ config ARCH_BOARD_PIRELLI_DPL10
This directory contains the board support for Pirelli dpl10 phones. The
additions were made by Craig Comstock (with help form Alan Carvalho de Assis).
-config ARCH_BOARD_PJRC_87C52
- bool "PJRC 87C52 development system"
- depends on ARCH_CHIP_8052
- select ARCH_HAVE_LEDS
- ---help---
- 8051 Microcontroller. This port uses the PJRC 87C52 development system
- and the SDCC toolchain. This port is not quite ready for prime time.
-
config ARCH_BOARD_PX4FMU_V2
bool "PX4FMU v2"
depends on ARCH_CHIP_STM32F427V
@@ -1015,7 +1007,6 @@ config ARCH_BOARD
default "pic32-starterkit" if ARCH_BOARD_PIC32_STARTERKIT
default "pic32mx7mmb" if ARCH_BOARD_PIC32MX7MMB
default "pirelli_dpl10" if ARCH_BOARD_PIRELLI_DPL10
- default "pjrc-8051" if ARCH_BOARD_PJRC_87C52
default "px4fmu-v2_upstream" if ARCH_BOARD_PX4FMU_V2
default "nucleo-f401re" if ARCH_BOARD_NUCLEO_F401RE
default "qemu-i486" if ARCH_BOARD_QEMU_I486
@@ -1263,9 +1254,6 @@ endif
if ARCH_BOARD_PIRELLI_DPL10
source "configs/pirelli_dpl10/Kconfig"
endif
-if ARCH_BOARD_PJRC_87C52
-source "configs/pjrc-8051/Kconfig"
-endif
if ARCH_BOARD_NUCLEO_F401RE
source "configs/nucleo-f401re/Kconfig"
endif
diff --git a/configs/README.txt b/configs/README.txt
index 8ed0060aaf..18e24a0221 100644
--- a/configs/README.txt
+++ b/configs/README.txt
@@ -436,10 +436,6 @@ configs/pirelli_dpl10
It is a variant of the compal_e88 config with the small changes for the
differences in the board.
-configs/pjrc-8051
- 8051 Microcontroller. This port uses the PJRC 87C52 development system
- and the SDCC toolchain. This port is not quite ready for prime time.
-
config/px4fmu-v2_upstream
This is a minimal configuration that supports low-level test of the
PX4FMU v2 in the NuttX source tree. If you are using PX4, you probably
diff --git a/configs/amber/hello/defconfig b/configs/amber/hello/defconfig
index f5a81f891a..05dfdebc78 100644
--- a/configs/amber/hello/defconfig
+++ b/configs/amber/hello/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -96,7 +95,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/arduino-due/nsh/defconfig b/configs/arduino-due/nsh/defconfig
index 493cceefcb..c94a8b2c5c 100644
--- a/configs/arduino-due/nsh/defconfig
+++ b/configs/arduino-due/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -198,7 +197,6 @@ CONFIG_ARCH_HAVE_EXTSRAM1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/avr32dev1/nsh/defconfig b/configs/avr32dev1/nsh/defconfig
index 3a6b352774..9ed47a7346 100644
--- a/configs/avr32dev1/nsh/defconfig
+++ b/configs/avr32dev1/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -119,7 +118,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/avr32dev1/ostest/defconfig b/configs/avr32dev1/ostest/defconfig
index 87c59210aa..76786dfd5f 100644
--- a/configs/avr32dev1/ostest/defconfig
+++ b/configs/avr32dev1/ostest/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -119,7 +118,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/c5471evm/httpd/defconfig b/configs/c5471evm/httpd/defconfig
index 9915cc3acf..7495f76549 100644
--- a/configs/c5471evm/httpd/defconfig
+++ b/configs/c5471evm/httpd/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -147,7 +146,6 @@ CONFIG_C5471_AUTONEGOTIATION=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/c5471evm/nettest/defconfig b/configs/c5471evm/nettest/defconfig
index 33b0d153a6..677a4acbf3 100644
--- a/configs/c5471evm/nettest/defconfig
+++ b/configs/c5471evm/nettest/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -147,7 +146,6 @@ CONFIG_C5471_AUTONEGOTIATION=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/c5471evm/nsh/defconfig b/configs/c5471evm/nsh/defconfig
index c1e31dac5f..7b60a260a7 100644
--- a/configs/c5471evm/nsh/defconfig
+++ b/configs/c5471evm/nsh/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -147,7 +146,6 @@ CONFIG_C5471_AUTONEGOTIATION=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/cc3200-launchpad/nsh/defconfig b/configs/cc3200-launchpad/nsh/defconfig
index d136ee73ed..0556873e8e 100644
--- a/configs/cc3200-launchpad/nsh/defconfig
+++ b/configs/cc3200-launchpad/nsh/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -165,7 +164,6 @@ CONFIG_TIVA_DISABLE_GPIOJ_IRQS=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/cloudctrl/nsh/defconfig b/configs/cloudctrl/nsh/defconfig
index 811fbdb1fc..9c144fc2e1 100644
--- a/configs/cloudctrl/nsh/defconfig
+++ b/configs/cloudctrl/nsh/defconfig
@@ -39,7 +39,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -304,7 +303,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/cloudctrl/src/up_usb.c b/configs/cloudctrl/src/up_usb.c
index 4442f9192e..77b79db2f9 100644
--- a/configs/cloudctrl/src/up_usb.c
+++ b/configs/cloudctrl/src/up_usb.c
@@ -194,7 +194,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/compal_e86/nsh_highram/defconfig b/configs/compal_e86/nsh_highram/defconfig
index 9523d66962..539e8e2e3b 100644
--- a/configs/compal_e86/nsh_highram/defconfig
+++ b/configs/compal_e86/nsh_highram/defconfig
@@ -44,7 +44,6 @@ CONFIG_ARCH_HAVE_STACKCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -137,7 +136,6 @@ CONFIG_SERCOMM_CONSOLE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/compal_e88/nsh_highram/defconfig b/configs/compal_e88/nsh_highram/defconfig
index f6ba797303..467b277211 100644
--- a/configs/compal_e88/nsh_highram/defconfig
+++ b/configs/compal_e88/nsh_highram/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -144,7 +143,6 @@ CONFIG_SERIAL_CONSOLE_NONE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/compal_e99/nsh_compalram/defconfig b/configs/compal_e99/nsh_compalram/defconfig
index 30bc47674a..8d31eb42c6 100644
--- a/configs/compal_e99/nsh_compalram/defconfig
+++ b/configs/compal_e99/nsh_compalram/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -146,7 +145,6 @@ CONFIG_SERIAL_CONSOLE_NONE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/compal_e99/nsh_highram/defconfig b/configs/compal_e99/nsh_highram/defconfig
index 4c07ac111d..1a5c44c948 100644
--- a/configs/compal_e99/nsh_highram/defconfig
+++ b/configs/compal_e99/nsh_highram/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -145,7 +144,6 @@ CONFIG_SERIAL_CONSOLE_NONE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/demo9s12ne64/ostest/defconfig b/configs/demo9s12ne64/ostest/defconfig
index dcf4490ca7..095d3c4855 100644
--- a/configs/demo9s12ne64/ostest/defconfig
+++ b/configs/demo9s12ne64/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
CONFIG_ARCH_HC=y
@@ -100,7 +99,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ea3131/nsh/defconfig b/configs/ea3131/nsh/defconfig
index a7fe7aba01..7482ab9044 100644
--- a/configs/ea3131/nsh/defconfig
+++ b/configs/ea3131/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -164,7 +163,6 @@ CONFIG_ARCH_HAVE_EXTSRAM1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ea3131/pgnsh/defconfig b/configs/ea3131/pgnsh/defconfig
index 3f7b75b62f..0d2c3f8fd0 100644
--- a/configs/ea3131/pgnsh/defconfig
+++ b/configs/ea3131/pgnsh/defconfig
@@ -60,7 +60,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -167,7 +166,6 @@ CONFIG_ARCH_HAVE_EXTSRAM1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ea3131/src/up_usbhost.c b/configs/ea3131/src/up_usbhost.c
index 8b6f459af7..5e3b8450b6 100644
--- a/configs/ea3131/src/up_usbhost.c
+++ b/configs/ea3131/src/up_usbhost.c
@@ -221,7 +221,7 @@ int lpc31_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ehci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
diff --git a/configs/ea3131/usbserial/defconfig b/configs/ea3131/usbserial/defconfig
index e83f76b92f..986041384b 100644
--- a/configs/ea3131/usbserial/defconfig
+++ b/configs/ea3131/usbserial/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_LPC31_USBDEV_EP0_MAXSIZE=64
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ea3152/ostest/defconfig b/configs/ea3152/ostest/defconfig
index 55d04491a5..915055eb61 100644
--- a/configs/ea3152/ostest/defconfig
+++ b/configs/ea3152/ostest/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -165,7 +164,6 @@ CONFIG_ARCH_HAVE_EXTSRAM1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/eagle100/httpd/defconfig b/configs/eagle100/httpd/defconfig
index a577741cea..b9102c68e6 100644
--- a/configs/eagle100/httpd/defconfig
+++ b/configs/eagle100/httpd/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -182,7 +181,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/eagle100/nettest/defconfig b/configs/eagle100/nettest/defconfig
index 09ac7417cc..56f7847008 100644
--- a/configs/eagle100/nettest/defconfig
+++ b/configs/eagle100/nettest/defconfig
@@ -77,7 +77,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -208,7 +207,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/eagle100/nsh/defconfig b/configs/eagle100/nsh/defconfig
index 804e2d1b9d..5f322d1cf6 100644
--- a/configs/eagle100/nsh/defconfig
+++ b/configs/eagle100/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -185,7 +184,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/eagle100/nxflat/defconfig b/configs/eagle100/nxflat/defconfig
index aa5c56b0b7..91123aca5c 100644
--- a/configs/eagle100/nxflat/defconfig
+++ b/configs/eagle100/nxflat/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -170,7 +169,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/eagle100/thttpd/defconfig b/configs/eagle100/thttpd/defconfig
index 869e0a73d5..1e87a897ad 100644
--- a/configs/eagle100/thttpd/defconfig
+++ b/configs/eagle100/thttpd/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -175,7 +174,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ekk-lm3s9b96/nsh/defconfig b/configs/ekk-lm3s9b96/nsh/defconfig
index fc2f98f90e..f49fd7aed1 100644
--- a/configs/ekk-lm3s9b96/nsh/defconfig
+++ b/configs/ekk-lm3s9b96/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_TIVA_DISABLE_GPIOJ_IRQS=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ez80f910200kitg/ostest/defconfig b/configs/ez80f910200kitg/ostest/defconfig
index 5e5f743a4a..4bdeac4670 100644
--- a/configs/ez80f910200kitg/ostest/defconfig
+++ b/configs/ez80f910200kitg/ostest/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -156,7 +155,6 @@ CONFIG_EZ80_TOOLCHAIN_ZDSII=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_STACKDUMP is not set
diff --git a/configs/ez80f910200zco/dhcpd/defconfig b/configs/ez80f910200zco/dhcpd/defconfig
index 037a69f7df..95fda432ee 100644
--- a/configs/ez80f910200zco/dhcpd/defconfig
+++ b/configs/ez80f910200zco/dhcpd/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_ARCH_TIMERHOOK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ez80f910200zco/httpd/defconfig b/configs/ez80f910200zco/httpd/defconfig
index 92aabe69f9..ab74b685c3 100644
--- a/configs/ez80f910200zco/httpd/defconfig
+++ b/configs/ez80f910200zco/httpd/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_ARCH_TIMERHOOK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ez80f910200zco/nettest/defconfig b/configs/ez80f910200zco/nettest/defconfig
index c4e3aaf397..d527056a15 100644
--- a/configs/ez80f910200zco/nettest/defconfig
+++ b/configs/ez80f910200zco/nettest/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_ARCH_TIMERHOOK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ez80f910200zco/nsh/defconfig b/configs/ez80f910200zco/nsh/defconfig
index eb410e6f9a..88ba822d72 100644
--- a/configs/ez80f910200zco/nsh/defconfig
+++ b/configs/ez80f910200zco/nsh/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_ARCH_TIMERHOOK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ez80f910200zco/poll/defconfig b/configs/ez80f910200zco/poll/defconfig
index da41147e25..a815b2197f 100644
--- a/configs/ez80f910200zco/poll/defconfig
+++ b/configs/ez80f910200zco/poll/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -171,7 +170,6 @@ CONFIG_ARCH_TIMERHOOK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/fire-stm32v2/nsh/defconfig b/configs/fire-stm32v2/nsh/defconfig
index 762b9d470d..a4bd1cfbaf 100644
--- a/configs/fire-stm32v2/nsh/defconfig
+++ b/configs/fire-stm32v2/nsh/defconfig
@@ -38,7 +38,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -298,7 +297,6 @@ CONFIG_PREALLOC_TIMERS=8
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/freedom-kl25z/minnsh/defconfig b/configs/freedom-kl25z/minnsh/defconfig
index 2ae28384ef..f8e6ffd1b7 100644
--- a/configs/freedom-kl25z/minnsh/defconfig
+++ b/configs/freedom-kl25z/minnsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -158,7 +157,6 @@ CONFIG_KL_SYSTICK_CORECLK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/freedom-kl25z/nsh/defconfig b/configs/freedom-kl25z/nsh/defconfig
index fbbcbb0a28..a69fc50673 100644
--- a/configs/freedom-kl25z/nsh/defconfig
+++ b/configs/freedom-kl25z/nsh/defconfig
@@ -45,7 +45,6 @@ CONFIG_ARCH_HAVE_STACKCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -162,7 +161,6 @@ CONFIG_KL_SYSTICK_CORECLK=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/hymini-stm32v/buttons/defconfig b/configs/hymini-stm32v/buttons/defconfig
index 1aec7f4e37..a987dce444 100644
--- a/configs/hymini-stm32v/buttons/defconfig
+++ b/configs/hymini-stm32v/buttons/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -217,7 +216,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/hymini-stm32v/nsh/defconfig b/configs/hymini-stm32v/nsh/defconfig
index c125f7c06f..61d78932ae 100644
--- a/configs/hymini-stm32v/nsh/defconfig
+++ b/configs/hymini-stm32v/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -226,7 +225,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/hymini-stm32v/nsh2/defconfig b/configs/hymini-stm32v/nsh2/defconfig
index 18057eaa60..ca7deb2a32 100644
--- a/configs/hymini-stm32v/nsh2/defconfig
+++ b/configs/hymini-stm32v/nsh2/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -239,7 +238,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/hymini-stm32v/usbmsc/defconfig b/configs/hymini-stm32v/usbmsc/defconfig
index 144e5186df..421f436087 100644
--- a/configs/hymini-stm32v/usbmsc/defconfig
+++ b/configs/hymini-stm32v/usbmsc/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -291,7 +290,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/hymini-stm32v/usbnsh/defconfig b/configs/hymini-stm32v/usbnsh/defconfig
index 989224f855..44e9c543fe 100644
--- a/configs/hymini-stm32v/usbnsh/defconfig
+++ b/configs/hymini-stm32v/usbnsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -217,7 +216,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/hymini-stm32v/usbserial/defconfig b/configs/hymini-stm32v/usbserial/defconfig
index 2426bbffdd..0588e2b1cf 100644
--- a/configs/hymini-stm32v/usbserial/defconfig
+++ b/configs/hymini-stm32v/usbserial/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -281,7 +280,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/kwikstik-k40/ostest/defconfig b/configs/kwikstik-k40/ostest/defconfig
index 5627765f3a..13ddc63de4 100644
--- a/configs/kwikstik-k40/ostest/defconfig
+++ b/configs/kwikstik-k40/ostest/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -173,7 +172,6 @@ CONFIG_KINETIS_UART5=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/lincoln60/nsh/defconfig b/configs/lincoln60/nsh/defconfig
index 280e8c4b24..38564a60a0 100644
--- a/configs/lincoln60/nsh/defconfig
+++ b/configs/lincoln60/nsh/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -191,7 +190,6 @@ CONFIG_LPC17_SSP0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s6432-s2e/nsh/defconfig b/configs/lm3s6432-s2e/nsh/defconfig
index 87a549dc76..66d1683ab8 100644
--- a/configs/lm3s6432-s2e/nsh/defconfig
+++ b/configs/lm3s6432-s2e/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -170,7 +169,6 @@ CONFIG_TIVA_BOARDMAC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s6965-ek/discover/defconfig b/configs/lm3s6965-ek/discover/defconfig
index 94cf49964b..162a759a76 100644
--- a/configs/lm3s6965-ek/discover/defconfig
+++ b/configs/lm3s6965-ek/discover/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -177,7 +176,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s6965-ek/nsh/defconfig b/configs/lm3s6965-ek/nsh/defconfig
index 94cf49964b..162a759a76 100644
--- a/configs/lm3s6965-ek/nsh/defconfig
+++ b/configs/lm3s6965-ek/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -177,7 +176,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s6965-ek/nx/defconfig b/configs/lm3s6965-ek/nx/defconfig
index fa77c163d7..9b8ffb022d 100644
--- a/configs/lm3s6965-ek/nx/defconfig
+++ b/configs/lm3s6965-ek/nx/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -162,7 +161,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s6965-ek/tcpecho/defconfig b/configs/lm3s6965-ek/tcpecho/defconfig
index 03d6b1d01f..819ea878a4 100644
--- a/configs/lm3s6965-ek/tcpecho/defconfig
+++ b/configs/lm3s6965-ek/tcpecho/defconfig
@@ -73,7 +73,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -199,7 +198,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s8962-ek/nsh/defconfig b/configs/lm3s8962-ek/nsh/defconfig
index 488c428d2d..6c0b19b8be 100644
--- a/configs/lm3s8962-ek/nsh/defconfig
+++ b/configs/lm3s8962-ek/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -185,7 +184,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm3s8962-ek/nx/defconfig b/configs/lm3s8962-ek/nx/defconfig
index 56c7bb10f1..416de16492 100644
--- a/configs/lm3s8962-ek/nx/defconfig
+++ b/configs/lm3s8962-ek/nx/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -170,7 +169,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lm4f120-launchpad/nsh/defconfig b/configs/lm4f120-launchpad/nsh/defconfig
index 4f31c7f709..c49a43460a 100644
--- a/configs/lm4f120-launchpad/nsh/defconfig
+++ b/configs/lm4f120-launchpad/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -168,7 +167,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpc4330-xplorer/nsh/defconfig b/configs/lpc4330-xplorer/nsh/defconfig
index a7c4a0a322..d8fd283e82 100644
--- a/configs/lpc4330-xplorer/nsh/defconfig
+++ b/configs/lpc4330-xplorer/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -197,7 +196,6 @@ CONFIG_LPC43_USART0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpcxpresso-lpc1768/dhcpd/defconfig b/configs/lpcxpresso-lpc1768/dhcpd/defconfig
index ed0eddee73..c203ade173 100644
--- a/configs/lpcxpresso-lpc1768/dhcpd/defconfig
+++ b/configs/lpcxpresso-lpc1768/dhcpd/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -205,7 +204,6 @@ CONFIG_NET_NRXDESC=18
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpcxpresso-lpc1768/nsh/defconfig b/configs/lpcxpresso-lpc1768/nsh/defconfig
index 1a4edc6403..695f8eb47b 100644
--- a/configs/lpcxpresso-lpc1768/nsh/defconfig
+++ b/configs/lpcxpresso-lpc1768/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -205,7 +204,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpcxpresso-lpc1768/nx/defconfig b/configs/lpcxpresso-lpc1768/nx/defconfig
index 58c2a6406b..dbc29955a1 100644
--- a/configs/lpcxpresso-lpc1768/nx/defconfig
+++ b/configs/lpcxpresso-lpc1768/nx/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -194,7 +193,6 @@ CONFIG_LPC17_SSP1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpcxpresso-lpc1768/thttpd/defconfig b/configs/lpcxpresso-lpc1768/thttpd/defconfig
index 027cf873e2..ae6bb749b5 100644
--- a/configs/lpcxpresso-lpc1768/thttpd/defconfig
+++ b/configs/lpcxpresso-lpc1768/thttpd/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -205,7 +204,6 @@ CONFIG_NET_NRXDESC=18
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/lpcxpresso-lpc1768/usbmsc/defconfig b/configs/lpcxpresso-lpc1768/usbmsc/defconfig
index 9e4a99d736..eae3ff6b68 100644
--- a/configs/lpcxpresso-lpc1768/usbmsc/defconfig
+++ b/configs/lpcxpresso-lpc1768/usbmsc/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -205,7 +204,6 @@ CONFIG_LPC17_USBDEV_NOLED=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/maple/nsh/defconfig b/configs/maple/nsh/defconfig
index b567df94f8..f31ae45a90 100644
--- a/configs/maple/nsh/defconfig
+++ b/configs/maple/nsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -271,7 +270,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_IRQPRIO is not set
diff --git a/configs/maple/nx/defconfig b/configs/maple/nx/defconfig
index c9acf7a249..97a78de5a2 100644
--- a/configs/maple/nx/defconfig
+++ b/configs/maple/nx/defconfig
@@ -47,7 +47,6 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -295,7 +294,6 @@ CONFIG_STM32_I2CTIMEOTICKS=500
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_IRQPRIO is not set
diff --git a/configs/maple/usbnsh/defconfig b/configs/maple/usbnsh/defconfig
index 9b592cffe8..ef78d12a2f 100644
--- a/configs/maple/usbnsh/defconfig
+++ b/configs/maple/usbnsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -271,7 +270,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_IRQPRIO is not set
diff --git a/configs/mbed/hidkbd/defconfig b/configs/mbed/hidkbd/defconfig
index 44045f75ce..f67cf8b5c8 100644
--- a/configs/mbed/hidkbd/defconfig
+++ b/configs/mbed/hidkbd/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -204,7 +203,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mbed/nsh/defconfig b/configs/mbed/nsh/defconfig
index 6e792f4e69..c141e109a6 100644
--- a/configs/mbed/nsh/defconfig
+++ b/configs/mbed/nsh/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -191,7 +190,6 @@ CONFIG_LPC17_SSP0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mcu123-lpc214x/composite/defconfig b/configs/mcu123-lpc214x/composite/defconfig
index 652e29de86..de231f9032 100644
--- a/configs/mcu123-lpc214x/composite/defconfig
+++ b/configs/mcu123-lpc214x/composite/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -154,7 +153,6 @@ CONFIG_LPC214X_USBDEV=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mcu123-lpc214x/nsh/defconfig b/configs/mcu123-lpc214x/nsh/defconfig
index 74f8405084..b5749b4d72 100644
--- a/configs/mcu123-lpc214x/nsh/defconfig
+++ b/configs/mcu123-lpc214x/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -128,7 +127,6 @@ CONFIG_LPC214X_UART1=y
# CONFIG_ARCH_NOINTC is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_STACKDUMP=y
# CONFIG_ENDIAN_BIG is not set
diff --git a/configs/mcu123-lpc214x/usbmsc/defconfig b/configs/mcu123-lpc214x/usbmsc/defconfig
index 9df87f46a9..0e22b2772d 100644
--- a/configs/mcu123-lpc214x/usbmsc/defconfig
+++ b/configs/mcu123-lpc214x/usbmsc/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -154,7 +153,6 @@ CONFIG_LPC214X_USBDEV=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mcu123-lpc214x/usbserial/defconfig b/configs/mcu123-lpc214x/usbserial/defconfig
index cd33829a9c..5094d8ec73 100644
--- a/configs/mcu123-lpc214x/usbserial/defconfig
+++ b/configs/mcu123-lpc214x/usbserial/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -154,7 +153,6 @@ CONFIG_LPC214X_USBDEV=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/micropendous3/hello/defconfig b/configs/micropendous3/hello/defconfig
index ae1ca03ef9..a14c54ea13 100644
--- a/configs/micropendous3/hello/defconfig
+++ b/configs/micropendous3/hello/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -104,7 +103,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/fulldemo/defconfig b/configs/mikroe-stm32f4/fulldemo/defconfig
index 0d41d1bb48..6239b78a1f 100644
--- a/configs/mikroe-stm32f4/fulldemo/defconfig
+++ b/configs/mikroe-stm32f4/fulldemo/defconfig
@@ -78,7 +78,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -339,7 +338,6 @@ CONFIG_STM32_SPI_DMA=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/kostest/defconfig b/configs/mikroe-stm32f4/kostest/defconfig
index a2e98088e9..0e40cba893 100644
--- a/configs/mikroe-stm32f4/kostest/defconfig
+++ b/configs/mikroe-stm32f4/kostest/defconfig
@@ -58,7 +58,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -358,7 +357,6 @@ CONFIG_STM32_USART=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/mikroe-stm32f4/nsh/defconfig b/configs/mikroe-stm32f4/nsh/defconfig
index b8bc74f377..63d87a3c69 100644
--- a/configs/mikroe-stm32f4/nsh/defconfig
+++ b/configs/mikroe-stm32f4/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -306,7 +305,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/nx/defconfig b/configs/mikroe-stm32f4/nx/defconfig
index aac9ab6b24..87607c1a55 100644
--- a/configs/mikroe-stm32f4/nx/defconfig
+++ b/configs/mikroe-stm32f4/nx/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -290,7 +289,6 @@ CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/nxlines/defconfig b/configs/mikroe-stm32f4/nxlines/defconfig
index 300414f68c..fbf88a1072 100644
--- a/configs/mikroe-stm32f4/nxlines/defconfig
+++ b/configs/mikroe-stm32f4/nxlines/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -290,7 +289,6 @@ CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/nxtext/defconfig b/configs/mikroe-stm32f4/nxtext/defconfig
index 62f6282982..d383cb4750 100644
--- a/configs/mikroe-stm32f4/nxtext/defconfig
+++ b/configs/mikroe-stm32f4/nxtext/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -290,7 +289,6 @@ CONFIG_ARCH_BOARD_STM32_CUSTOM_CLOCKCONFIG=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mikroe-stm32f4/src/up_usb.c b/configs/mikroe-stm32f4/src/up_usb.c
index b95413badb..31d0c6ec3c 100644
--- a/configs/mikroe-stm32f4/src/up_usb.c
+++ b/configs/mikroe-stm32f4/src/up_usb.c
@@ -193,7 +193,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/mikroe-stm32f4/usbnsh/defconfig b/configs/mikroe-stm32f4/usbnsh/defconfig
index cae9a05560..ef9e43c00e 100644
--- a/configs/mikroe-stm32f4/usbnsh/defconfig
+++ b/configs/mikroe-stm32f4/usbnsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -306,7 +305,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mirtoo/nsh/defconfig b/configs/mirtoo/nsh/defconfig
index 72fcc4c971..bff77ec142 100644
--- a/configs/mirtoo/nsh/defconfig
+++ b/configs/mirtoo/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -255,7 +254,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mirtoo/nxffs/defconfig b/configs/mirtoo/nxffs/defconfig
index 7890a545e3..9776aca987 100644
--- a/configs/mirtoo/nxffs/defconfig
+++ b/configs/mirtoo/nxffs/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -256,7 +255,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/mx1ads/ostest/defconfig b/configs/mx1ads/ostest/defconfig
index 8bfaf533f6..abde642854 100644
--- a/configs/mx1ads/ostest/defconfig
+++ b/configs/mx1ads/ostest/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -124,7 +123,6 @@ CONFIG_RAM_NUTTXENTRY=0x01004000
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ne64badge/ostest/defconfig b/configs/ne64badge/ostest/defconfig
index ab72db8287..c8eb354119 100644
--- a/configs/ne64badge/ostest/defconfig
+++ b/configs/ne64badge/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
CONFIG_ARCH_HC=y
@@ -100,7 +99,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/ntosd-dm320/nettest/defconfig b/configs/ntosd-dm320/nettest/defconfig
index 606b6bb48e..b840dee49e 100644
--- a/configs/ntosd-dm320/nettest/defconfig
+++ b/configs/ntosd-dm320/nettest/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ntosd-dm320/nsh/defconfig b/configs/ntosd-dm320/nsh/defconfig
index 1de9cdf04b..16dba4299a 100644
--- a/configs/ntosd-dm320/nsh/defconfig
+++ b/configs/ntosd-dm320/nsh/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ntosd-dm320/poll/defconfig b/configs/ntosd-dm320/poll/defconfig
index 3bd803d4b9..35507ba61e 100644
--- a/configs/ntosd-dm320/poll/defconfig
+++ b/configs/ntosd-dm320/poll/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ntosd-dm320/thttpd/defconfig b/configs/ntosd-dm320/thttpd/defconfig
index 7677d216de..a3325b1328 100644
--- a/configs/ntosd-dm320/thttpd/defconfig
+++ b/configs/ntosd-dm320/thttpd/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ntosd-dm320/udp/defconfig b/configs/ntosd-dm320/udp/defconfig
index 97b87765bf..066c20159c 100644
--- a/configs/ntosd-dm320/udp/defconfig
+++ b/configs/ntosd-dm320/udp/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/ntosd-dm320/webserver/defconfig b/configs/ntosd-dm320/webserver/defconfig
index 990fd4ee10..5bc5fc0988 100644
--- a/configs/ntosd-dm320/webserver/defconfig
+++ b/configs/ntosd-dm320/webserver/defconfig
@@ -53,7 +53,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -132,7 +131,6 @@ CONFIG_DM320_UART1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/nucleo-f401re/nsh/defconfig b/configs/nucleo-f401re/nsh/defconfig
index f7f41dd9f6..42c5c8342e 100644
--- a/configs/nucleo-f401re/nsh/defconfig
+++ b/configs/nucleo-f401re/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -319,7 +318,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/nucleus2g/nsh/defconfig b/configs/nucleus2g/nsh/defconfig
index c5bc964887..972bf7039b 100644
--- a/configs/nucleus2g/nsh/defconfig
+++ b/configs/nucleus2g/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -200,7 +199,6 @@ CONFIG_LPC17_SSP0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/nucleus2g/usbmsc/defconfig b/configs/nucleus2g/usbmsc/defconfig
index 02e4488cbe..054253d35d 100644
--- a/configs/nucleus2g/usbmsc/defconfig
+++ b/configs/nucleus2g/usbmsc/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -191,7 +190,6 @@ CONFIG_LPC17_SSP0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/nucleus2g/usbserial/defconfig b/configs/nucleus2g/usbserial/defconfig
index 25c3d69edc..76b33421f9 100644
--- a/configs/nucleus2g/usbserial/defconfig
+++ b/configs/nucleus2g/usbserial/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -185,7 +184,6 @@ CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/nutiny-nuc120/nsh/defconfig b/configs/nutiny-nuc120/nsh/defconfig
index 2f7f371645..f7671f9229 100644
--- a/configs/nutiny-nuc120/nsh/defconfig
+++ b/configs/nutiny-nuc120/nsh/defconfig
@@ -48,7 +48,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -183,7 +182,6 @@ CONFIG_NUC_UARTCLK_INTHI=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/olimex-lpc-h3131/nsh/defconfig b/configs/olimex-lpc-h3131/nsh/defconfig
index 94e6770ea0..046d985dd5 100644
--- a/configs/olimex-lpc-h3131/nsh/defconfig
+++ b/configs/olimex-lpc-h3131/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -164,7 +163,6 @@ CONFIG_ARCH_HAVE_EXTSRAM1=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/olimex-lpc-h3131/src/lpc31_usbhost.c b/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
index f321123b48..1433cce87b 100644
--- a/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
+++ b/configs/olimex-lpc-h3131/src/lpc31_usbhost.c
@@ -216,7 +216,7 @@ int lpc31_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ehci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
diff --git a/configs/olimex-lpc1766stk/ftpc/defconfig b/configs/olimex-lpc1766stk/ftpc/defconfig
index c54c4462fd..bb34464d64 100644
--- a/configs/olimex-lpc1766stk/ftpc/defconfig
+++ b/configs/olimex-lpc1766stk/ftpc/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -205,7 +204,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/hidkbd/defconfig b/configs/olimex-lpc1766stk/hidkbd/defconfig
index 3f91c32e00..41ad8a730e 100644
--- a/configs/olimex-lpc1766stk/hidkbd/defconfig
+++ b/configs/olimex-lpc1766stk/hidkbd/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -215,7 +214,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/hidmouse/defconfig b/configs/olimex-lpc1766stk/hidmouse/defconfig
index 4fe9972c3a..d78b27d81d 100644
--- a/configs/olimex-lpc1766stk/hidmouse/defconfig
+++ b/configs/olimex-lpc1766stk/hidmouse/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -216,7 +215,6 @@ CONFIG_USBHOST_ISOC_DISABLE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/nettest/defconfig b/configs/olimex-lpc1766stk/nettest/defconfig
index ae10e4626b..eefa3dfbcd 100644
--- a/configs/olimex-lpc1766stk/nettest/defconfig
+++ b/configs/olimex-lpc1766stk/nettest/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=9
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/nsh/defconfig b/configs/olimex-lpc1766stk/nsh/defconfig
index 509307b53f..ca9bbd7130 100644
--- a/configs/olimex-lpc1766stk/nsh/defconfig
+++ b/configs/olimex-lpc1766stk/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/nx/defconfig b/configs/olimex-lpc1766stk/nx/defconfig
index d5a6cd6fcd..46a004f73e 100644
--- a/configs/olimex-lpc1766stk/nx/defconfig
+++ b/configs/olimex-lpc1766stk/nx/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -203,7 +202,6 @@ CONFIG_LPC17_SSP0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/slip-httpd/defconfig b/configs/olimex-lpc1766stk/slip-httpd/defconfig
index 2f23158b60..2fc563969a 100644
--- a/configs/olimex-lpc1766stk/slip-httpd/defconfig
+++ b/configs/olimex-lpc1766stk/slip-httpd/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -197,7 +196,6 @@ CONFIG_LPC17_UART1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/src/lpc17_nsh.c b/configs/olimex-lpc1766stk/src/lpc17_nsh.c
index c281077ab5..204ac7f4bc 100644
--- a/configs/olimex-lpc1766stk/src/lpc17_nsh.c
+++ b/configs/olimex-lpc1766stk/src/lpc17_nsh.c
@@ -279,14 +279,9 @@ static int nsh_usbhostinitialize(void)
message("nsh_usbhostinitialize: Start nsh_waiter\n");
-#ifndef CONFIG_CUSTOM_STACK
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)nsh_waiter, (FAR char * const *)NULL);
-#else
- pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
- (main_t)nsh_waiter, (FAR char * const *)NULL);
-#endif
return pid < 0 ? -ENOEXEC : OK;
}
return -ENODEV;
diff --git a/configs/olimex-lpc1766stk/thttpd/defconfig b/configs/olimex-lpc1766stk/thttpd/defconfig
index c90d1f82c0..9ad871a6eb 100644
--- a/configs/olimex-lpc1766stk/thttpd/defconfig
+++ b/configs/olimex-lpc1766stk/thttpd/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=18
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/usbmsc/defconfig b/configs/olimex-lpc1766stk/usbmsc/defconfig
index ac5ff57f1b..03c6cb4d18 100644
--- a/configs/olimex-lpc1766stk/usbmsc/defconfig
+++ b/configs/olimex-lpc1766stk/usbmsc/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/usbserial/defconfig b/configs/olimex-lpc1766stk/usbserial/defconfig
index ed2f40035d..42ebac0343 100644
--- a/configs/olimex-lpc1766stk/usbserial/defconfig
+++ b/configs/olimex-lpc1766stk/usbserial/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_LPC17_USBDEV_NDMADESCRIPTORS=0
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc1766stk/zmodem/defconfig b/configs/olimex-lpc1766stk/zmodem/defconfig
index 89775daa37..d2c382f6ee 100644
--- a/configs/olimex-lpc1766stk/zmodem/defconfig
+++ b/configs/olimex-lpc1766stk/zmodem/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -207,7 +206,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-lpc2378/nsh/defconfig b/configs/olimex-lpc2378/nsh/defconfig
index a76584fd3a..df04ea1084 100644
--- a/configs/olimex-lpc2378/nsh/defconfig
+++ b/configs/olimex-lpc2378/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -137,7 +136,6 @@ CONFIG_LPC2378_UART2=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-stm32-h405/nshusb/defconfig b/configs/olimex-stm32-h405/nshusb/defconfig
index 94c5f6cadb..1bd759b306 100644
--- a/configs/olimex-stm32-h405/nshusb/defconfig
+++ b/configs/olimex-stm32-h405/nshusb/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -320,7 +319,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-stm32-p107/nsh/defconfig b/configs/olimex-stm32-p107/nsh/defconfig
index 09f7e0f4a8..5bdcdbd9d8 100644
--- a/configs/olimex-stm32-p107/nsh/defconfig
+++ b/configs/olimex-stm32-p107/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -275,7 +274,6 @@ CONFIG_STM32_RMII_MCO=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/olimex-stm32-p207/nsh/defconfig b/configs/olimex-stm32-p207/nsh/defconfig
index 4acf410715..20952a5156 100644
--- a/configs/olimex-stm32-p207/nsh/defconfig
+++ b/configs/olimex-stm32-p207/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_DEBUG_SYMBOLS=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -323,7 +322,6 @@ CONFIG_STM32_OTGFS_DESCSIZE=128
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/olimex-stm32-p207/src/up_usb.c b/configs/olimex-stm32-p207/src/up_usb.c
index 15711b32df..025575d89c 100644
--- a/configs/olimex-stm32-p207/src/up_usb.c
+++ b/configs/olimex-stm32-p207/src/up_usb.c
@@ -190,7 +190,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/olimex-strp711/nettest/defconfig b/configs/olimex-strp711/nettest/defconfig
index 73fdd1e1ad..2192bd02d4 100644
--- a/configs/olimex-strp711/nettest/defconfig
+++ b/configs/olimex-strp711/nettest/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -156,7 +155,6 @@ CONFIG_STR71X_XTI=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/olimex-strp711/nsh/defconfig b/configs/olimex-strp711/nsh/defconfig
index 4dc3d2a9c2..7c9f77200f 100644
--- a/configs/olimex-strp711/nsh/defconfig
+++ b/configs/olimex-strp711/nsh/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -155,7 +154,6 @@ CONFIG_STR71X_UART1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/open1788/knsh/defconfig b/configs/open1788/knsh/defconfig
index 5380be081d..8200ce4c63 100644
--- a/configs/open1788/knsh/defconfig
+++ b/configs/open1788/knsh/defconfig
@@ -58,7 +58,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -215,7 +214,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/open1788/nsh/defconfig b/configs/open1788/nsh/defconfig
index f0b2ca3d7c..e1408fa334 100644
--- a/configs/open1788/nsh/defconfig
+++ b/configs/open1788/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -187,7 +186,6 @@ CONFIG_SDIO_DMAPRIO=0x0
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/open1788/nxlines/defconfig b/configs/open1788/nxlines/defconfig
index 37bfb55716..7911d1c22c 100644
--- a/configs/open1788/nxlines/defconfig
+++ b/configs/open1788/nxlines/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -222,7 +221,6 @@ CONFIG_LPC17_EXTDRAMHEAP=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/open1788/src/lpc17_nsh.c b/configs/open1788/src/lpc17_nsh.c
index 18ec046678..56f01ce3d5 100644
--- a/configs/open1788/src/lpc17_nsh.c
+++ b/configs/open1788/src/lpc17_nsh.c
@@ -343,14 +343,9 @@ static int nsh_usbhostinitialize(void)
message("nsh_usbhostinitialize: Start nsh_waiter\n");
-#ifndef CONFIG_CUSTOM_STACK
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)nsh_waiter, (FAR char * const *)NULL);
-#else
- pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
- (main_t)nsh_waiter, (FAR char * const *)NULL);
-#endif
return pid < 0 ? -ENOEXEC : OK;
}
return -ENODEV;
diff --git a/configs/p112/ostest/defconfig b/configs/p112/ostest/defconfig
index 52c09ac9e2..763d39f8e3 100644
--- a/configs/p112/ostest/defconfig
+++ b/configs/p112/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -162,7 +161,6 @@ CONFIG_Z180_ESCCA_2STOP=0
CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_ADDRENV=y
# CONFIG_ARCH_STACKDUMP is not set
# CONFIG_ENDIAN_BIG is not set
diff --git a/configs/pcblogic-pic32mx/nsh/defconfig b/configs/pcblogic-pic32mx/nsh/defconfig
index 30ef6a9ef8..53da51dcea 100644
--- a/configs/pcblogic-pic32mx/nsh/defconfig
+++ b/configs/pcblogic-pic32mx/nsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -245,7 +244,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/pcduino-a10/nsh/defconfig b/configs/pcduino-a10/nsh/defconfig
index 8da8b0f393..2d4e100fe9 100644
--- a/configs/pcduino-a10/nsh/defconfig
+++ b/configs/pcduino-a10/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -217,7 +216,6 @@ CONFIG_A1X_DDR_MAPSIZE=1073741824
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/pic32-starterkit/nsh/defconfig b/configs/pic32-starterkit/nsh/defconfig
index 94a9b8f877..72e204c87f 100644
--- a/configs/pic32-starterkit/nsh/defconfig
+++ b/configs/pic32-starterkit/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -255,7 +254,6 @@ CONFIG_PIC32MX_FMIIEN=0
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/pic32-starterkit/nsh2/defconfig b/configs/pic32-starterkit/nsh2/defconfig
index 110487e4b6..dec632a248 100644
--- a/configs/pic32-starterkit/nsh2/defconfig
+++ b/configs/pic32-starterkit/nsh2/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -264,7 +263,6 @@ CONFIG_PIC32MX_FMIIEN=0
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/pic32-starterkit/src/up_nsh.c b/configs/pic32-starterkit/src/up_nsh.c
index 4eda69bdae..6500e0a412 100644
--- a/configs/pic32-starterkit/src/up_nsh.c
+++ b/configs/pic32-starterkit/src/up_nsh.c
@@ -307,14 +307,9 @@ static int nsh_usbhostinitialize(void)
message("nsh_usbhostinitialize: Start nsh_waiter\n");
-#ifndef CONFIG_CUSTOM_STACK
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)nsh_waiter, (FAR char * const *)NULL);
-#else
- pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
- (main_t)nsh_waiter, (FAR char * const *)NULL);
-#endif
return pid < 0 ? -ENOEXEC : OK;
}
return -ENODEV;
diff --git a/configs/pic32mx7mmb/nsh/defconfig b/configs/pic32mx7mmb/nsh/defconfig
index ce7cb623a6..903e2a8903 100644
--- a/configs/pic32mx7mmb/nsh/defconfig
+++ b/configs/pic32mx7mmb/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -269,7 +268,6 @@ CONFIG_PIC32MX_FMIIEN=0
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/pic32mx7mmb/src/up_nsh.c b/configs/pic32mx7mmb/src/up_nsh.c
index e70ba56670..77bfedaaf1 100644
--- a/configs/pic32mx7mmb/src/up_nsh.c
+++ b/configs/pic32mx7mmb/src/up_nsh.c
@@ -315,14 +315,9 @@ static int nsh_usbhostinitialize(void)
message("nsh_usbhostinitialize: Start nsh_waiter\n");
-#ifndef CONFIG_CUSTOM_STACK
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)nsh_waiter, (FAR char * const *)NULL);
-#else
- pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
- (main_t)nsh_waiter, (FAR char * const *)NULL);
-#endif
return pid < 0 ? -ENOEXEC : OK;
}
return -ENODEV;
diff --git a/configs/pirelli_dpl10/nsh_highram/defconfig b/configs/pirelli_dpl10/nsh_highram/defconfig
index 4c68e47e7c..b4136ac9ab 100644
--- a/configs/pirelli_dpl10/nsh_highram/defconfig
+++ b/configs/pirelli_dpl10/nsh_highram/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -131,7 +130,6 @@ CONFIG_SERIAL_IRDA_CONSOLE=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/px4fmu-v2_upstream/nsh/defconfig b/configs/px4fmu-v2_upstream/nsh/defconfig
index e1ab653065..1ffdac0c1d 100644
--- a/configs/px4fmu-v2_upstream/nsh/defconfig
+++ b/configs/px4fmu-v2_upstream/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -354,7 +353,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/qemu-i486/nsh/defconfig b/configs/qemu-i486/nsh/defconfig
index df6a7f9e83..d75754c895 100644
--- a/configs/qemu-i486/nsh/defconfig
+++ b/configs/qemu-i486/nsh/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -93,7 +92,6 @@ CONFIG_ARCH_X86_HAVE_32BIT=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/qemu-i486/ostest/defconfig b/configs/qemu-i486/ostest/defconfig
index df124fc968..10aa8191e9 100644
--- a/configs/qemu-i486/ostest/defconfig
+++ b/configs/qemu-i486/ostest/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -93,7 +92,6 @@ CONFIG_ARCH_X86_HAVE_32BIT=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/arm/default/defconfig b/configs/rgmp/arm/default/defconfig
index 4c89d04281..ef96151b46 100644
--- a/configs/rgmp/arm/default/defconfig
+++ b/configs/rgmp/arm/default/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -78,7 +77,6 @@ CONFIG_RGMP_SUBARCH="arm"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/arm/nsh/defconfig b/configs/rgmp/arm/nsh/defconfig
index f80eadd9b3..73242155bb 100644
--- a/configs/rgmp/arm/nsh/defconfig
+++ b/configs/rgmp/arm/nsh/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -98,7 +97,6 @@ CONFIG_RGMP_SUBARCH="arm"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/x86/cxxtest/defconfig b/configs/rgmp/x86/cxxtest/defconfig
index a19ac1cb93..dfa7b42a63 100644
--- a/configs/rgmp/x86/cxxtest/defconfig
+++ b/configs/rgmp/x86/cxxtest/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -106,7 +105,6 @@ CONFIG_COM2=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/x86/default/defconfig b/configs/rgmp/x86/default/defconfig
index a415e2ef5b..85eb0072c4 100644
--- a/configs/rgmp/x86/default/defconfig
+++ b/configs/rgmp/x86/default/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -86,7 +85,6 @@ CONFIG_COM2=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/x86/helloxx/defconfig b/configs/rgmp/x86/helloxx/defconfig
index 9fea420abc..ed20768841 100644
--- a/configs/rgmp/x86/helloxx/defconfig
+++ b/configs/rgmp/x86/helloxx/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -106,7 +105,6 @@ CONFIG_COM2=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/rgmp/x86/nsh/defconfig b/configs/rgmp/x86/nsh/defconfig
index f0957aec98..48ad8048b1 100644
--- a/configs/rgmp/x86/nsh/defconfig
+++ b/configs/rgmp/x86/nsh/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -106,7 +105,6 @@ CONFIG_COM2=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam3u-ek/knsh/defconfig b/configs/sam3u-ek/knsh/defconfig
index f4886d005a..f5866de15a 100644
--- a/configs/sam3u-ek/knsh/defconfig
+++ b/configs/sam3u-ek/knsh/defconfig
@@ -58,7 +58,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -225,7 +224,6 @@ CONFIG_SAM34_UART0=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sam3u-ek/nsh/defconfig b/configs/sam3u-ek/nsh/defconfig
index 15aa77b77d..5eebe1daa4 100644
--- a/configs/sam3u-ek/nsh/defconfig
+++ b/configs/sam3u-ek/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -212,7 +211,6 @@ CONFIG_SAM34_UART0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam3u-ek/nx/defconfig b/configs/sam3u-ek/nx/defconfig
index 0fd791bd5c..c39c6da9de 100644
--- a/configs/sam3u-ek/nx/defconfig
+++ b/configs/sam3u-ek/nx/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -212,7 +211,6 @@ CONFIG_SAM34_UART0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam3u-ek/nxwm/defconfig b/configs/sam3u-ek/nxwm/defconfig
index 6f25a8a44e..d3ddaf79b6 100644
--- a/configs/sam3u-ek/nxwm/defconfig
+++ b/configs/sam3u-ek/nxwm/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -215,7 +214,6 @@ CONFIG_SAM34_GPIOA_IRQ=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam4e-ek/nsh/defconfig b/configs/sam4e-ek/nsh/defconfig
index c81ef97ee0..608bfb5ed7 100644
--- a/configs/sam4e-ek/nsh/defconfig
+++ b/configs/sam4e-ek/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -259,7 +258,6 @@ CONFIG_SAM34_EMAC_ISETH0=y
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam4e-ek/nxwm/defconfig b/configs/sam4e-ek/nxwm/defconfig
index d9c00b3e18..2cefc71873 100644
--- a/configs/sam4e-ek/nxwm/defconfig
+++ b/configs/sam4e-ek/nxwm/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -262,7 +261,6 @@ CONFIG_SAM34_EMAC_ISETH0=y
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam4e-ek/usbnsh/defconfig b/configs/sam4e-ek/usbnsh/defconfig
index 69ce638d4e..e4c172ae9e 100644
--- a/configs/sam4e-ek/usbnsh/defconfig
+++ b/configs/sam4e-ek/usbnsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -264,7 +263,6 @@ CONFIG_SAM34_EMAC_ISETH0=y
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam4l-xplained/nsh/defconfig b/configs/sam4l-xplained/nsh/defconfig
index 0c7492f27e..1c1df8b044 100644
--- a/configs/sam4l-xplained/nsh/defconfig
+++ b/configs/sam4l-xplained/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -228,7 +227,6 @@ CONFIG_SAM34_USART0=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sam4s-xplained-pro/nsh/defconfig b/configs/sam4s-xplained-pro/nsh/defconfig
index e886761a89..0b393c65fb 100644
--- a/configs/sam4s-xplained-pro/nsh/defconfig
+++ b/configs/sam4s-xplained-pro/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -257,7 +256,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sam4s-xplained-pro/src/sam_wdt.c b/configs/sam4s-xplained-pro/src/sam_wdt.c
index d2b62578c8..4df566c983 100644
--- a/configs/sam4s-xplained-pro/src/sam_wdt.c
+++ b/configs/sam4s-xplained-pro/src/sam_wdt.c
@@ -219,7 +219,7 @@ int up_wdginitialize(void)
#if defined(CONFIG_WDT_THREAD)
sched_lock();
- int taskid = KERNEL_THREAD(CONFIG_WDT_THREAD_NAME,
+ int taskid = kernel_thread(CONFIG_WDT_THREAD_NAME,
CONFIG_WDT_THREAD_PRIORITY,
CONFIG_WDT_THREAD_STACKSIZE,
(main_t)wdog_daemon, (FAR char * const *)NULL);
diff --git a/configs/sam4s-xplained/nsh/defconfig b/configs/sam4s-xplained/nsh/defconfig
index 0b2af45b7c..4a65baa62e 100644
--- a/configs/sam4s-xplained/nsh/defconfig
+++ b/configs/sam4s-xplained/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -214,7 +213,6 @@ CONFIG_SAM34_UART1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sama5d3-xplained/nsh/defconfig b/configs/sama5d3-xplained/nsh/defconfig
index f4d19e479a..f3e624c99f 100644
--- a/configs/sama5d3-xplained/nsh/defconfig
+++ b/configs/sama5d3-xplained/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -245,7 +244,6 @@ CONFIG_SAMA5_ISRAM_HEAP=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3-xplained/src/sam_usb.c b/configs/sama5d3-xplained/src/sam_usb.c
index 13deaea7a8..1105d88092 100644
--- a/configs/sama5d3-xplained/src/sam_usb.c
+++ b/configs/sama5d3-xplained/src/sam_usb.c
@@ -342,7 +342,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ohci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
@@ -363,7 +363,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ehci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
diff --git a/configs/sama5d3x-ek/demo/defconfig b/configs/sama5d3x-ek/demo/defconfig
index 9cd853efe9..3bbf76b1ae 100644
--- a/configs/sama5d3x-ek/demo/defconfig
+++ b/configs/sama5d3x-ek/demo/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -290,7 +289,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/hello/defconfig b/configs/sama5d3x-ek/hello/defconfig
index b125475d78..e7fb4ebdc6 100644
--- a/configs/sama5d3x-ek/hello/defconfig
+++ b/configs/sama5d3x-ek/hello/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -224,7 +223,6 @@ CONFIG_SAMA5_BOOT_ISRAM=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/norboot/defconfig b/configs/sama5d3x-ek/norboot/defconfig
index 626c3385b7..716e2c4ea5 100644
--- a/configs/sama5d3x-ek/norboot/defconfig
+++ b/configs/sama5d3x-ek/norboot/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -237,7 +236,6 @@ CONFIG_SAMA5_BOOT_ISRAM=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/nsh/defconfig b/configs/sama5d3x-ek/nsh/defconfig
index 2f5241b3c4..8b1a90cf8d 100644
--- a/configs/sama5d3x-ek/nsh/defconfig
+++ b/configs/sama5d3x-ek/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -238,7 +237,6 @@ CONFIG_SAMA5_ISRAM_HEAP=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/nx/defconfig b/configs/sama5d3x-ek/nx/defconfig
index 628cb5a0e0..9e30c599c9 100644
--- a/configs/sama5d3x-ek/nx/defconfig
+++ b/configs/sama5d3x-ek/nx/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -277,7 +276,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=262668288
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/nxplayer/defconfig b/configs/sama5d3x-ek/nxplayer/defconfig
index b73d18ace5..8cf20fc795 100644
--- a/configs/sama5d3x-ek/nxplayer/defconfig
+++ b/configs/sama5d3x-ek/nxplayer/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -290,7 +289,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/nxwm/defconfig b/configs/sama5d3x-ek/nxwm/defconfig
index c55d0fab35..817bea787d 100644
--- a/configs/sama5d3x-ek/nxwm/defconfig
+++ b/configs/sama5d3x-ek/nxwm/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -306,7 +305,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=262668288
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/ov2640/defconfig b/configs/sama5d3x-ek/ov2640/defconfig
index d2f8f66417..7c8c8276b3 100644
--- a/configs/sama5d3x-ek/ov2640/defconfig
+++ b/configs/sama5d3x-ek/ov2640/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -282,7 +281,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=268435456
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d3x-ek/src/sam_usb.c b/configs/sama5d3x-ek/src/sam_usb.c
index 1c7a86e85c..7104253cd2 100644
--- a/configs/sama5d3x-ek/src/sam_usb.c
+++ b/configs/sama5d3x-ek/src/sam_usb.c
@@ -342,7 +342,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ohci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
@@ -363,7 +363,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ehci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
diff --git a/configs/sama5d4-ek/at25boot/defconfig b/configs/sama5d4-ek/at25boot/defconfig
index 6ca7dc81f6..a83e3f9f68 100644
--- a/configs/sama5d4-ek/at25boot/defconfig
+++ b/configs/sama5d4-ek/at25boot/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -257,7 +256,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=0
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/dramboot/defconfig b/configs/sama5d4-ek/dramboot/defconfig
index 9e453e9cc8..afc2f880fa 100644
--- a/configs/sama5d4-ek/dramboot/defconfig
+++ b/configs/sama5d4-ek/dramboot/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -253,7 +252,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=0
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/elf/defconfig b/configs/sama5d4-ek/elf/defconfig
index 7c454c731c..d9aee6fd00 100644
--- a/configs/sama5d4-ek/elf/defconfig
+++ b/configs/sama5d4-ek/elf/defconfig
@@ -58,7 +58,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -255,7 +254,6 @@ CONFIG_SAMA5_DDRCS_PGHEAP_SIZE=134217728
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
CONFIG_ARCH_HAVE_COHERENT_DCACHE=y
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/kernel/defconfig b/configs/sama5d4-ek/kernel/defconfig
index cc569c57b5..c9a209a068 100644
--- a/configs/sama5d4-ek/kernel/defconfig
+++ b/configs/sama5d4-ek/kernel/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -254,7 +253,6 @@ CONFIG_SAMA5_DDRCS_PGHEAP_SIZE=134217728
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
CONFIG_ARCH_HAVE_COHERENT_DCACHE=y
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/nsh/defconfig b/configs/sama5d4-ek/nsh/defconfig
index c10957f268..407fe6fb8e 100644
--- a/configs/sama5d4-ek/nsh/defconfig
+++ b/configs/sama5d4-ek/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -348,7 +347,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/nxwm/defconfig b/configs/sama5d4-ek/nxwm/defconfig
index ee3bd00feb..5ba9600649 100644
--- a/configs/sama5d4-ek/nxwm/defconfig
+++ b/configs/sama5d4-ek/nxwm/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -348,7 +347,6 @@ CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/ramtest/defconfig b/configs/sama5d4-ek/ramtest/defconfig
index 037ddf9ab5..03e0800a41 100644
--- a/configs/sama5d4-ek/ramtest/defconfig
+++ b/configs/sama5d4-ek/ramtest/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -253,7 +252,6 @@ CONFIG_SAMA5_DDRCS_HEAP_SIZE=0
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
CONFIG_ARCH_HAVE_ADDRENV=y
CONFIG_ARCH_NEED_ADDRENV_MAPPING=y
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/sama5d4-ek/src/sam_usb.c b/configs/sama5d4-ek/src/sam_usb.c
index eeb0908600..f8d2da7d28 100644
--- a/configs/sama5d4-ek/src/sam_usb.c
+++ b/configs/sama5d4-ek/src/sam_usb.c
@@ -343,7 +343,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("OHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ohci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
@@ -364,7 +364,7 @@ int sam_usbhost_initialize(void)
/* Start a thread to handle device connection. */
- pid = TASK_CREATE("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
+ pid = task_create("EHCI Monitor", CONFIG_USBHOST_DEFPRIO, CONFIG_USBHOST_STACKSIZE,
(main_t)ehci_waiter, (FAR char * const *)NULL);
if (pid < 0)
{
diff --git a/configs/samd20-xplained/nsh/defconfig b/configs/samd20-xplained/nsh/defconfig
index 3edc90f4ae..1c2e9853ab 100644
--- a/configs/samd20-xplained/nsh/defconfig
+++ b/configs/samd20-xplained/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -182,7 +181,6 @@ CONFIG_SAMD_SERCOM4_ISUSART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/shenzhou/nsh/defconfig b/configs/shenzhou/nsh/defconfig
index 759b02aa65..c0e30c2e9b 100644
--- a/configs/shenzhou/nsh/defconfig
+++ b/configs/shenzhou/nsh/defconfig
@@ -39,7 +39,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -304,7 +303,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/shenzhou/nxwm/defconfig b/configs/shenzhou/nxwm/defconfig
index c310fa2b3d..71d40ff185 100644
--- a/configs/shenzhou/nxwm/defconfig
+++ b/configs/shenzhou/nxwm/defconfig
@@ -50,7 +50,6 @@ CONFIG_ARCH_HAVE_HEAPCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -310,7 +309,6 @@ CONFIG_STM32_RMII_MCO=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_IRQPRIO is not set
diff --git a/configs/shenzhou/src/up_usb.c b/configs/shenzhou/src/up_usb.c
index 948974c4ac..c9ae8e4b97 100644
--- a/configs/shenzhou/src/up_usb.c
+++ b/configs/shenzhou/src/up_usb.c
@@ -193,7 +193,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/shenzhou/thttpd/defconfig b/configs/shenzhou/thttpd/defconfig
index 9a0067d809..1058ec0551 100644
--- a/configs/shenzhou/thttpd/defconfig
+++ b/configs/shenzhou/thttpd/defconfig
@@ -38,7 +38,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -291,7 +290,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/sim/configdata/defconfig b/configs/sim/configdata/defconfig
index 30b0aecd61..7975a42736 100644
--- a/configs/sim/configdata/defconfig
+++ b/configs/sim/configdata/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -95,7 +94,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/cxxtest/defconfig b/configs/sim/cxxtest/defconfig
index 964ce53c65..8ae5c81710 100644
--- a/configs/sim/cxxtest/defconfig
+++ b/configs/sim/cxxtest/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -95,7 +94,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/mount/defconfig b/configs/sim/mount/defconfig
index 4a48a44fd8..700e042d52 100644
--- a/configs/sim/mount/defconfig
+++ b/configs/sim/mount/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -95,7 +94,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/mtdpart/defconfig b/configs/sim/mtdpart/defconfig
index 4aa7287213..b3a49edf43 100644
--- a/configs/sim/mtdpart/defconfig
+++ b/configs/sim/mtdpart/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -95,7 +94,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nettest/defconfig b/configs/sim/nettest/defconfig
index d3767b340f..3a57786347 100755
--- a/configs/sim/nettest/defconfig
+++ b/configs/sim/nettest/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -78,7 +77,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nsh/defconfig b/configs/sim/nsh/defconfig
index cfc677b050..263a28303a 100644
--- a/configs/sim/nsh/defconfig
+++ b/configs/sim/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -82,7 +81,6 @@ CONFIG_HOST_X86_64=y
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
# CONFIG_ARCH_HAVE_VFORK is not set
diff --git a/configs/sim/nsh2/defconfig b/configs/sim/nsh2/defconfig
index 94748a9696..cf1a0c8560 100644
--- a/configs/sim/nsh2/defconfig
+++ b/configs/sim/nsh2/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -83,7 +82,6 @@ CONFIG_SIM_TOUCHSCREEN=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nx/defconfig b/configs/sim/nx/defconfig
index 201953db46..ac13df5878 100644
--- a/configs/sim/nx/defconfig
+++ b/configs/sim/nx/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -100,7 +99,6 @@ CONFIG_SIM_FBBPP=8
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nx11/defconfig b/configs/sim/nx11/defconfig
index b0b3616e74..13463a3821 100644
--- a/configs/sim/nx11/defconfig
+++ b/configs/sim/nx11/defconfig
@@ -69,7 +69,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -101,7 +100,6 @@ CONFIG_SIM_FBBPP=32
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nxffs/defconfig b/configs/sim/nxffs/defconfig
index b0cfffc810..e44fb97997 100644
--- a/configs/sim/nxffs/defconfig
+++ b/configs/sim/nxffs/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -76,7 +75,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nxlines/defconfig b/configs/sim/nxlines/defconfig
index ab5b70c655..46e09cd7f7 100644
--- a/configs/sim/nxlines/defconfig
+++ b/configs/sim/nxlines/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -86,7 +85,6 @@ CONFIG_SIM_FBBPP=32
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/nxwm/defconfig b/configs/sim/nxwm/defconfig
index 3f5ed0331d..02797c804d 100644
--- a/configs/sim/nxwm/defconfig
+++ b/configs/sim/nxwm/defconfig
@@ -50,7 +50,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -82,7 +81,6 @@ CONFIG_SIM_FBBPP=32
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/ostest/defconfig b/configs/sim/ostest/defconfig
index 02cfd19b26..836f0e1f9a 100644
--- a/configs/sim/ostest/defconfig
+++ b/configs/sim/ostest/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -103,7 +102,6 @@ CONFIG_HOST_X86_64=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
# CONFIG_ARCH_HAVE_VFORK is not set
diff --git a/configs/sim/pashello/defconfig b/configs/sim/pashello/defconfig
index 4892bd66e5..fa6ad60f0c 100644
--- a/configs/sim/pashello/defconfig
+++ b/configs/sim/pashello/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -77,7 +76,6 @@ CONFIG_ARCH="sim"
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/sim/touchscreen/defconfig b/configs/sim/touchscreen/defconfig
index a2d0919523..75d5b1a5f7 100644
--- a/configs/sim/touchscreen/defconfig
+++ b/configs/sim/touchscreen/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -104,7 +103,6 @@ CONFIG_SIM_TOUCHSCREEN=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/skp16c26/ostest/defconfig b/configs/skp16c26/ostest/defconfig
index 2a707dbc8d..5ede073678 100644
--- a/configs/skp16c26/ostest/defconfig
+++ b/configs/skp16c26/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -76,7 +75,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/spark/composite/defconfig b/configs/spark/composite/defconfig
index 67e8b00303..047c953b93 100644
--- a/configs/spark/composite/defconfig
+++ b/configs/spark/composite/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_SPI_DMA=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/spark/nsh/defconfig b/configs/spark/nsh/defconfig
index 9f9843cf39..e7b2f85d5a 100644
--- a/configs/spark/nsh/defconfig
+++ b/configs/spark/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_SPI_DMA=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/spark/usbmsc/defconfig b/configs/spark/usbmsc/defconfig
index 4ef79674b2..eba1160f85 100644
--- a/configs/spark/usbmsc/defconfig
+++ b/configs/spark/usbmsc/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_SPI_DMA=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/spark/usbnsh/defconfig b/configs/spark/usbnsh/defconfig
index 3d036cbae7..f9777f1ebb 100644
--- a/configs/spark/usbnsh/defconfig
+++ b/configs/spark/usbnsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/spark/usbserial/defconfig b/configs/spark/usbserial/defconfig
index 902e88fd6c..3e2dac3e37 100644
--- a/configs/spark/usbserial/defconfig
+++ b/configs/spark/usbserial/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_SPI_DMA=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/buttons/defconfig b/configs/stm3210e-eval/buttons/defconfig
index eada609032..59b255d2ad 100644
--- a/configs/stm3210e-eval/buttons/defconfig
+++ b/configs/stm3210e-eval/buttons/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -291,7 +290,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/composite/defconfig b/configs/stm3210e-eval/composite/defconfig
index 0204850a49..c8a4ce018d 100644
--- a/configs/stm3210e-eval/composite/defconfig
+++ b/configs/stm3210e-eval/composite/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -300,7 +299,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/nsh/defconfig b/configs/stm3210e-eval/nsh/defconfig
index e0bbfc37cb..7adbb41ce3 100644
--- a/configs/stm3210e-eval/nsh/defconfig
+++ b/configs/stm3210e-eval/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -301,7 +300,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/nsh2/defconfig b/configs/stm3210e-eval/nsh2/defconfig
index c26b50fe59..1bf9bbf4fe 100644
--- a/configs/stm3210e-eval/nsh2/defconfig
+++ b/configs/stm3210e-eval/nsh2/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -311,7 +310,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/nx/defconfig b/configs/stm3210e-eval/nx/defconfig
index f4ba209ce4..ebd4f29840 100644
--- a/configs/stm3210e-eval/nx/defconfig
+++ b/configs/stm3210e-eval/nx/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -303,7 +302,6 @@ CONFIG_STM32_I2CTIMEOTICKS=500
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/nxconsole/defconfig b/configs/stm3210e-eval/nxconsole/defconfig
index 26005afeac..a932a2b149 100644
--- a/configs/stm3210e-eval/nxconsole/defconfig
+++ b/configs/stm3210e-eval/nxconsole/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -292,7 +291,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/pm/defconfig b/configs/stm3210e-eval/pm/defconfig
index 3057afccf9..c2765fa5f8 100644
--- a/configs/stm3210e-eval/pm/defconfig
+++ b/configs/stm3210e-eval/pm/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -295,7 +294,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/usbmsc/defconfig b/configs/stm3210e-eval/usbmsc/defconfig
index de74faab03..acaf1a45d0 100644
--- a/configs/stm3210e-eval/usbmsc/defconfig
+++ b/configs/stm3210e-eval/usbmsc/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -293,7 +292,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3210e-eval/usbserial/defconfig b/configs/stm3210e-eval/usbserial/defconfig
index 0ed98edb7a..add4d648a0 100644
--- a/configs/stm3210e-eval/usbserial/defconfig
+++ b/configs/stm3210e-eval/usbserial/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -284,7 +283,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/dhcpd/defconfig b/configs/stm3220g-eval/dhcpd/defconfig
index a1716d24c3..60ce450433 100644
--- a/configs/stm3220g-eval/dhcpd/defconfig
+++ b/configs/stm3220g-eval/dhcpd/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -324,7 +323,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/nettest/defconfig b/configs/stm3220g-eval/nettest/defconfig
index cfd2455098..276fba3824 100644
--- a/configs/stm3220g-eval/nettest/defconfig
+++ b/configs/stm3220g-eval/nettest/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -324,7 +323,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/nsh/defconfig b/configs/stm3220g-eval/nsh/defconfig
index 477eb72734..0ba9afaa1f 100644
--- a/configs/stm3220g-eval/nsh/defconfig
+++ b/configs/stm3220g-eval/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -326,7 +325,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/nsh2/defconfig b/configs/stm3220g-eval/nsh2/defconfig
index f38b775785..540fef72c1 100644
--- a/configs/stm3220g-eval/nsh2/defconfig
+++ b/configs/stm3220g-eval/nsh2/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -334,7 +333,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/nxwm/defconfig b/configs/stm3220g-eval/nxwm/defconfig
index c528efffe2..0e1c566d47 100644
--- a/configs/stm3220g-eval/nxwm/defconfig
+++ b/configs/stm3220g-eval/nxwm/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -335,7 +334,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3220g-eval/src/up_usb.c b/configs/stm3220g-eval/src/up_usb.c
index b83d8e53d1..a9c1688b53 100644
--- a/configs/stm3220g-eval/src/up_usb.c
+++ b/configs/stm3220g-eval/src/up_usb.c
@@ -193,7 +193,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/stm3220g-eval/telnetd/defconfig b/configs/stm3220g-eval/telnetd/defconfig
index e724620464..ebf7dc9878 100644
--- a/configs/stm3220g-eval/telnetd/defconfig
+++ b/configs/stm3220g-eval/telnetd/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -324,7 +323,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/dhcpd/defconfig b/configs/stm3240g-eval/dhcpd/defconfig
index 53b14531c0..5c14b38950 100644
--- a/configs/stm3240g-eval/dhcpd/defconfig
+++ b/configs/stm3240g-eval/dhcpd/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -326,7 +325,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/discover/defconfig b/configs/stm3240g-eval/discover/defconfig
index 7a454570d6..a6c0a03a03 100644
--- a/configs/stm3240g-eval/discover/defconfig
+++ b/configs/stm3240g-eval/discover/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -354,7 +353,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/knxwm/defconfig b/configs/stm3240g-eval/knxwm/defconfig
index c99267e6aa..0ac4f2c90b 100644
--- a/configs/stm3240g-eval/knxwm/defconfig
+++ b/configs/stm3240g-eval/knxwm/defconfig
@@ -62,7 +62,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -369,7 +368,6 @@ CONFIG_STM32_I2CTIMEOTICKS=500
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/stm3240g-eval/nettest/defconfig b/configs/stm3240g-eval/nettest/defconfig
index 8336385b1f..ec6600c636 100644
--- a/configs/stm3240g-eval/nettest/defconfig
+++ b/configs/stm3240g-eval/nettest/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -326,7 +325,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/nsh/defconfig b/configs/stm3240g-eval/nsh/defconfig
index cdfcf2cf61..3d1938e3e4 100644
--- a/configs/stm3240g-eval/nsh/defconfig
+++ b/configs/stm3240g-eval/nsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -336,7 +335,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/nsh2/defconfig b/configs/stm3240g-eval/nsh2/defconfig
index 31747d924f..81825443c1 100644
--- a/configs/stm3240g-eval/nsh2/defconfig
+++ b/configs/stm3240g-eval/nsh2/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -336,7 +335,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
CONFIG_ARCH_DMA=y
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/nxconsole/defconfig b/configs/stm3240g-eval/nxconsole/defconfig
index f61de30599..3947c68660 100644
--- a/configs/stm3240g-eval/nxconsole/defconfig
+++ b/configs/stm3240g-eval/nxconsole/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -337,7 +336,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/nxwm/defconfig b/configs/stm3240g-eval/nxwm/defconfig
index a78e7d6860..fc4c553ef6 100644
--- a/configs/stm3240g-eval/nxwm/defconfig
+++ b/configs/stm3240g-eval/nxwm/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -337,7 +336,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/src/up_boot.c b/configs/stm3240g-eval/src/up_boot.c
index eff7a36d38..c1ebe3ea7d 100644
--- a/configs/stm3240g-eval/src/up_boot.c
+++ b/configs/stm3240g-eval/src/up_boot.c
@@ -264,7 +264,7 @@ void board_initialize(void)
/* Start the board initialization kernel thread */
- server = KERNEL_THREAD("Board Init", CONFIG_STM3240G_BOARDINIT_PRIO,
+ server = kernel_thread("Board Init", CONFIG_STM3240G_BOARDINIT_PRIO,
CONFIG_STM3240G_BOARDINIT_STACK, board_initthread,
NULL);
ASSERT(server > 0);
diff --git a/configs/stm3240g-eval/src/up_usb.c b/configs/stm3240g-eval/src/up_usb.c
index 102054dd67..b5e988390a 100644
--- a/configs/stm3240g-eval/src/up_usb.c
+++ b/configs/stm3240g-eval/src/up_usb.c
@@ -193,7 +193,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/stm3240g-eval/telnetd/defconfig b/configs/stm3240g-eval/telnetd/defconfig
index 2a7298e9d6..f35ae87e72 100644
--- a/configs/stm3240g-eval/telnetd/defconfig
+++ b/configs/stm3240g-eval/telnetd/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -326,7 +325,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/webserver/defconfig b/configs/stm3240g-eval/webserver/defconfig
index e93f04e9c4..13beb23a1d 100644
--- a/configs/stm3240g-eval/webserver/defconfig
+++ b/configs/stm3240g-eval/webserver/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -328,7 +327,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm3240g-eval/xmlrpc/defconfig b/configs/stm3240g-eval/xmlrpc/defconfig
index 65dcb255c3..0543772557 100644
--- a/configs/stm3240g-eval/xmlrpc/defconfig
+++ b/configs/stm3240g-eval/xmlrpc/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -354,7 +353,6 @@ CONFIG_STM32_PHYSR_FULLDUPLEX=0x0004
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32_tiny/nsh/defconfig b/configs/stm32_tiny/nsh/defconfig
index f38b494558..4337dbd780 100644
--- a/configs/stm32_tiny/nsh/defconfig
+++ b/configs/stm32_tiny/nsh/defconfig
@@ -44,7 +44,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -256,7 +255,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/stm32_tiny/usbnsh/defconfig b/configs/stm32_tiny/usbnsh/defconfig
index a1e226efaa..bc3cff14cc 100644
--- a/configs/stm32_tiny/usbnsh/defconfig
+++ b/configs/stm32_tiny/usbnsh/defconfig
@@ -44,7 +44,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -220,7 +219,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/stm32f100rc_generic/nsh/defconfig b/configs/stm32f100rc_generic/nsh/defconfig
index ea16e41c65..d3319de5e9 100644
--- a/configs/stm32f100rc_generic/nsh/defconfig
+++ b/configs/stm32f100rc_generic/nsh/defconfig
@@ -40,7 +40,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -281,7 +280,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/stm32f3discovery/nsh/defconfig b/configs/stm32f3discovery/nsh/defconfig
index c9f2de47b1..20d9cad472 100644
--- a/configs/stm32f3discovery/nsh/defconfig
+++ b/configs/stm32f3discovery/nsh/defconfig
@@ -48,7 +48,6 @@ CONFIG_ARCH_HAVE_STACKCHECK=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -266,7 +265,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/stm32f3discovery/usbnsh/defconfig b/configs/stm32f3discovery/usbnsh/defconfig
index 215b0ddd73..0a1c3659b5 100644
--- a/configs/stm32f3discovery/usbnsh/defconfig
+++ b/configs/stm32f3discovery/usbnsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -262,7 +261,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/stm32f429i-disco/extflash/defconfig b/configs/stm32f429i-disco/extflash/defconfig
index 166fd464aa..2b86b20974 100644
--- a/configs/stm32f429i-disco/extflash/defconfig
+++ b/configs/stm32f429i-disco/extflash/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -338,7 +337,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f429i-disco/nsh/defconfig b/configs/stm32f429i-disco/nsh/defconfig
index 500460b389..1b50caac77 100644
--- a/configs/stm32f429i-disco/nsh/defconfig
+++ b/configs/stm32f429i-disco/nsh/defconfig
@@ -74,7 +74,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -331,7 +330,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f429i-disco/src/stm32_usb.c b/configs/stm32f429i-disco/src/stm32_usb.c
index 433ceaccd2..6740bd3ace 100644
--- a/configs/stm32f429i-disco/src/stm32_usb.c
+++ b/configs/stm32f429i-disco/src/stm32_usb.c
@@ -192,7 +192,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/stm32f429i-disco/usbmsc/defconfig b/configs/stm32f429i-disco/usbmsc/defconfig
index 301c4bb734..fe1220a408 100644
--- a/configs/stm32f429i-disco/usbmsc/defconfig
+++ b/configs/stm32f429i-disco/usbmsc/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -344,7 +343,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f429i-disco/usbnsh/defconfig b/configs/stm32f429i-disco/usbnsh/defconfig
index bce5df4745..21b6ad70ef 100644
--- a/configs/stm32f429i-disco/usbnsh/defconfig
+++ b/configs/stm32f429i-disco/usbnsh/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_NOOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -341,7 +340,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/cxxtest/defconfig b/configs/stm32f4discovery/cxxtest/defconfig
index 915451009b..2aef3cd4a7 100644
--- a/configs/stm32f4discovery/cxxtest/defconfig
+++ b/configs/stm32f4discovery/cxxtest/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -307,7 +306,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/elf/defconfig b/configs/stm32f4discovery/elf/defconfig
index 3725f369a0..2bb8c10fb0 100644
--- a/configs/stm32f4discovery/elf/defconfig
+++ b/configs/stm32f4discovery/elf/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -307,7 +306,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/kostest/defconfig b/configs/stm32f4discovery/kostest/defconfig
index 1e89438ce3..65a97e1db0 100644
--- a/configs/stm32f4discovery/kostest/defconfig
+++ b/configs/stm32f4discovery/kostest/defconfig
@@ -62,7 +62,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -356,7 +355,6 @@ CONFIG_STM32_USART=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/stm32f4discovery/nsh/defconfig b/configs/stm32f4discovery/nsh/defconfig
index 9fd42248fc..355586cabb 100644
--- a/configs/stm32f4discovery/nsh/defconfig
+++ b/configs/stm32f4discovery/nsh/defconfig
@@ -57,7 +57,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -357,7 +356,6 @@ CONFIG_STM32_USART=y
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
# CONFIG_ARCH_HAVE_COHERENT_DCACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_HAVE_ADDRENV is not set
# CONFIG_ARCH_NEED_ADDRENV_MAPPING is not set
CONFIG_ARCH_HAVE_VFORK=y
diff --git a/configs/stm32f4discovery/nxlines/defconfig b/configs/stm32f4discovery/nxlines/defconfig
index 606eb6d2de..340cbc6e4f 100644
--- a/configs/stm32f4discovery/nxlines/defconfig
+++ b/configs/stm32f4discovery/nxlines/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -315,7 +314,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/pm/defconfig b/configs/stm32f4discovery/pm/defconfig
index b7ac367dda..1245f15889 100644
--- a/configs/stm32f4discovery/pm/defconfig
+++ b/configs/stm32f4discovery/pm/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -308,7 +307,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/posix_spawn/defconfig b/configs/stm32f4discovery/posix_spawn/defconfig
index 98f2419451..281bca0c4d 100644
--- a/configs/stm32f4discovery/posix_spawn/defconfig
+++ b/configs/stm32f4discovery/posix_spawn/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -307,7 +306,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/src/stm32_usb.c b/configs/stm32f4discovery/src/stm32_usb.c
index 055c1e4272..b1b24511cd 100644
--- a/configs/stm32f4discovery/src/stm32_usb.c
+++ b/configs/stm32f4discovery/src/stm32_usb.c
@@ -212,7 +212,7 @@ int stm32_usbhost_initialize(void)
uvdbg("Start usbhost_waiter\n");
- pid = TASK_CREATE("usbhost", CONFIG_USBHOST_DEFPRIO,
+ pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)usbhost_waiter, (FAR char * const *)NULL);
return pid < 0 ? -ENOEXEC : OK;
diff --git a/configs/stm32f4discovery/usbnsh/defconfig b/configs/stm32f4discovery/usbnsh/defconfig
index 45c9ce6dde..af19da313c 100644
--- a/configs/stm32f4discovery/usbnsh/defconfig
+++ b/configs/stm32f4discovery/usbnsh/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -314,7 +313,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/stm32f4discovery/winbuild/defconfig b/configs/stm32f4discovery/winbuild/defconfig
index 9f3b1067f8..b51e134561 100644
--- a/configs/stm32f4discovery/winbuild/defconfig
+++ b/configs/stm32f4discovery/winbuild/defconfig
@@ -48,7 +48,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -294,7 +293,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/stm32ldiscovery/nsh/defconfig b/configs/stm32ldiscovery/nsh/defconfig
index 7c486b6faf..01a3a0bf69 100644
--- a/configs/stm32ldiscovery/nsh/defconfig
+++ b/configs/stm32ldiscovery/nsh/defconfig
@@ -48,7 +48,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -254,7 +253,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/stm32vldiscovery/nsh/defconfig b/configs/stm32vldiscovery/nsh/defconfig
index 31d534cefa..42ccc4263a 100644
--- a/configs/stm32vldiscovery/nsh/defconfig
+++ b/configs/stm32vldiscovery/nsh/defconfig
@@ -40,7 +40,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -283,7 +282,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/sure-pic32mx/nsh/defconfig b/configs/sure-pic32mx/nsh/defconfig
index 81a37a4237..db5f6d2046 100644
--- a/configs/sure-pic32mx/nsh/defconfig
+++ b/configs/sure-pic32mx/nsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -241,7 +240,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/sure-pic32mx/src/pic32mx_nsh.c b/configs/sure-pic32mx/src/pic32mx_nsh.c
index 43994595c3..30820b61ff 100644
--- a/configs/sure-pic32mx/src/pic32mx_nsh.c
+++ b/configs/sure-pic32mx/src/pic32mx_nsh.c
@@ -307,14 +307,9 @@ static int nsh_usbhostinitialize(void)
message("nsh_usbhostinitialize: Start nsh_waiter\n");
-#ifndef CONFIG_CUSTOM_STACK
pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
CONFIG_USBHOST_STACKSIZE,
(main_t)nsh_waiter, (FAR char * const *)NULL);
-#else
- pid = task_create("usbhost", CONFIG_USBHOST_DEFPRIO,
- (main_t)nsh_waiter, (FAR char * const *)NULL);
-#endif
return pid < 0 ? -ENOEXEC : OK;
}
return -ENODEV;
diff --git a/configs/sure-pic32mx/usbnsh/defconfig b/configs/sure-pic32mx/usbnsh/defconfig
index 06263a3af6..5718ca55b8 100644
--- a/configs/sure-pic32mx/usbnsh/defconfig
+++ b/configs/sure-pic32mx/usbnsh/defconfig
@@ -47,7 +47,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -242,7 +241,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/teensy/hello/defconfig b/configs/teensy/hello/defconfig
index 6a124728e4..b7093f1d65 100644
--- a/configs/teensy/hello/defconfig
+++ b/configs/teensy/hello/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -104,7 +103,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/teensy/nsh/defconfig b/configs/teensy/nsh/defconfig
index d436140093..5bca1bbeb0 100644
--- a/configs/teensy/nsh/defconfig
+++ b/configs/teensy/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -104,7 +103,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/teensy/usbmsc/defconfig b/configs/teensy/usbmsc/defconfig
index 4e3f47d19e..16392c106d 100644
--- a/configs/teensy/usbmsc/defconfig
+++ b/configs/teensy/usbmsc/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
CONFIG_ARCH_AVR=y
# CONFIG_ARCH_HC is not set
@@ -104,7 +103,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/tm4c123g-launchpad/nsh/defconfig b/configs/tm4c123g-launchpad/nsh/defconfig
index 2ffe56e8d2..9e69bb685d 100644
--- a/configs/tm4c123g-launchpad/nsh/defconfig
+++ b/configs/tm4c123g-launchpad/nsh/defconfig
@@ -51,7 +51,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -168,7 +167,6 @@ CONFIG_SSI_TXLIMIT=4
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/twr-k60n512/nsh/defconfig b/configs/twr-k60n512/nsh/defconfig
index 3018bb4cf7..fa3709b7d1 100644
--- a/configs/twr-k60n512/nsh/defconfig
+++ b/configs/twr-k60n512/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_INTELHEX_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -174,7 +173,6 @@ CONFIG_KINETIS_UART3=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
CONFIG_ARCH_STACKDUMP=y
diff --git a/configs/ubw32/nsh/defconfig b/configs/ubw32/nsh/defconfig
index 245ded66b8..e4e2662c5e 100644
--- a/configs/ubw32/nsh/defconfig
+++ b/configs/ubw32/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -254,7 +253,6 @@ CONFIG_PIC32MX_FMIIEN=1
CONFIG_ARCH_VECNOTIRQ=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/us7032evb1/nsh/defconfig b/configs/us7032evb1/nsh/defconfig
index 1790a4ccfd..749af12f53 100644
--- a/configs/us7032evb1/nsh/defconfig
+++ b/configs/us7032evb1/nsh/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -96,7 +95,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/us7032evb1/ostest/defconfig b/configs/us7032evb1/ostest/defconfig
index 045089b1cd..161ec919bc 100644
--- a/configs/us7032evb1/ostest/defconfig
+++ b/configs/us7032evb1/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -96,7 +95,6 @@ CONFIG_ARCH_NOINTC=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_HAVE_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/viewtool-stm32f107/highpri/defconfig b/configs/viewtool-stm32f107/highpri/defconfig
index f12ea6144b..ed6e38ecbc 100644
--- a/configs/viewtool-stm32f107/highpri/defconfig
+++ b/configs/viewtool-stm32f107/highpri/defconfig
@@ -55,7 +55,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -288,7 +287,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/viewtool-stm32f107/netnsh/defconfig b/configs/viewtool-stm32f107/netnsh/defconfig
index 5bbd918d1c..d3e9790fb5 100644
--- a/configs/viewtool-stm32f107/netnsh/defconfig
+++ b/configs/viewtool-stm32f107/netnsh/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -349,7 +348,6 @@ CONFIG_STM32_RMII_EXTCLK=y
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
# CONFIG_ARCH_L2CACHE is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/viewtool-stm32f107/nsh/defconfig b/configs/viewtool-stm32f107/nsh/defconfig
index 82bc316cd6..7585fff697 100644
--- a/configs/viewtool-stm32f107/nsh/defconfig
+++ b/configs/viewtool-stm32f107/nsh/defconfig
@@ -56,7 +56,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -326,7 +325,6 @@ CONFIG_STM32_USART=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/vsn/nsh/defconfig b/configs/vsn/nsh/defconfig
index 8c5147265f..f0da5b57e5 100644
--- a/configs/vsn/nsh/defconfig
+++ b/configs/vsn/nsh/defconfig
@@ -54,7 +54,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -320,7 +319,6 @@ CONFIG_SDIO_PRI=128
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/xtrs/nsh/defconfig b/configs/xtrs/nsh/defconfig
index 07ea7f2b9e..6c1fd8caee 100644
--- a/configs/xtrs/nsh/defconfig
+++ b/configs/xtrs/nsh/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -166,7 +165,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/xtrs/ostest/defconfig b/configs/xtrs/ostest/defconfig
index 8367db6b92..3a25c8f531 100644
--- a/configs/xtrs/ostest/defconfig
+++ b/configs/xtrs/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -165,7 +164,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/xtrs/pashello/defconfig b/configs/xtrs/pashello/defconfig
index b62be778e2..442f012518 100644
--- a/configs/xtrs/pashello/defconfig
+++ b/configs/xtrs/pashello/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -166,7 +165,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/z16f2800100zcog/nsh/defconfig b/configs/z16f2800100zcog/nsh/defconfig
index 7973fd9284..472bba37ba 100644
--- a/configs/z16f2800100zcog/nsh/defconfig
+++ b/configs/z16f2800100zcog/nsh/defconfig
@@ -75,7 +75,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -120,7 +119,6 @@ CONFIG_Z16F_UART1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/z16f2800100zcog/ostest/defconfig b/configs/z16f2800100zcog/ostest/defconfig
index 38044ebe99..0ea76ac807 100644
--- a/configs/z16f2800100zcog/ostest/defconfig
+++ b/configs/z16f2800100zcog/ostest/defconfig
@@ -70,7 +70,6 @@ CONFIG_DEBUG=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -110,7 +109,6 @@ CONFIG_Z16F_UART1=y
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
# CONFIG_ARCH_HAVE_VFORK is not set
# CONFIG_ARCH_IRQPRIO is not set
diff --git a/configs/z16f2800100zcog/pashello/defconfig b/configs/z16f2800100zcog/pashello/defconfig
index e4205c8af2..31f8b68523 100644
--- a/configs/z16f2800100zcog/pashello/defconfig
+++ b/configs/z16f2800100zcog/pashello/defconfig
@@ -65,7 +65,6 @@ CONFIG_DEBUG=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -189,7 +188,6 @@ CONFIG_PREALLOC_TIMERS=4
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=4096
CONFIG_USERMAIN_STACKSIZE=4096
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/z80sim/nsh/defconfig b/configs/z80sim/nsh/defconfig
index 404c555521..979f163239 100644
--- a/configs/z80sim/nsh/defconfig
+++ b/configs/z80sim/nsh/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -166,7 +165,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/z80sim/ostest/defconfig b/configs/z80sim/ostest/defconfig
index 58e8a0752a..fd62b38462 100644
--- a/configs/z80sim/ostest/defconfig
+++ b/configs/z80sim/ostest/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -165,7 +164,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/z80sim/pashello/defconfig b/configs/z80sim/pashello/defconfig
index 10300460aa..c0ad78c2d2 100644
--- a/configs/z80sim/pashello/defconfig
+++ b/configs/z80sim/pashello/defconfig
@@ -49,7 +49,6 @@ CONFIG_WINDOWS_NATIVE=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -165,7 +164,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=1024
CONFIG_PTHREAD_STACK_MIN=256
diff --git a/configs/z8encore000zco/ostest/defconfig b/configs/z8encore000zco/ostest/defconfig
index 29b9ec6ba6..d08fb761d3 100644
--- a/configs/z8encore000zco/ostest/defconfig
+++ b/configs/z8encore000zco/ostest/defconfig
@@ -66,7 +66,6 @@ CONFIG_DEBUG=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -181,7 +180,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=256
CONFIG_USERMAIN_STACKSIZE=256
CONFIG_PTHREAD_STACK_MIN=128
diff --git a/configs/z8f64200100kit/ostest/defconfig b/configs/z8f64200100kit/ostest/defconfig
index 3d1df01573..6589cdd6f8 100644
--- a/configs/z8f64200100kit/ostest/defconfig
+++ b/configs/z8f64200100kit/ostest/defconfig
@@ -66,7 +66,6 @@ CONFIG_DEBUG=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
# CONFIG_ARCH_ARM is not set
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -181,7 +180,6 @@ CONFIG_PREALLOC_TIMERS=0
#
# Stack and heap information
#
-# CONFIG_CUSTOM_STACK is not set
CONFIG_IDLETHREAD_STACKSIZE=256
CONFIG_USERMAIN_STACKSIZE=256
CONFIG_PTHREAD_STACK_MIN=128
diff --git a/configs/zkit-arm-1769/hello/defconfig b/configs/zkit-arm-1769/hello/defconfig
index f3a9a8da2f..fb5e4fdfef 100644
--- a/configs/zkit-arm-1769/hello/defconfig
+++ b/configs/zkit-arm-1769/hello/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=18
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/zkit-arm-1769/nsh/defconfig b/configs/zkit-arm-1769/nsh/defconfig
index 054ccf5796..590cf12fe3 100644
--- a/configs/zkit-arm-1769/nsh/defconfig
+++ b/configs/zkit-arm-1769/nsh/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/zkit-arm-1769/nxhello/defconfig b/configs/zkit-arm-1769/nxhello/defconfig
index 006426137b..0be8622c04 100644
--- a/configs/zkit-arm-1769/nxhello/defconfig
+++ b/configs/zkit-arm-1769/nxhello/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=7
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/zkit-arm-1769/thttpd/defconfig b/configs/zkit-arm-1769/thttpd/defconfig
index d4c721f32d..3ce185fbb6 100644
--- a/configs/zkit-arm-1769/thttpd/defconfig
+++ b/configs/zkit-arm-1769/thttpd/defconfig
@@ -52,7 +52,6 @@ CONFIG_DEBUG_FULLOPT=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -206,7 +205,6 @@ CONFIG_NET_NRXDESC=18
# CONFIG_ARCH_VECNOTIRQ is not set
# CONFIG_ARCH_DMA is not set
CONFIG_ARCH_HAVE_IRQPRIO=y
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_HAVE_VFORK=y
# CONFIG_ARCH_HAVE_MMU is not set
diff --git a/configs/zp214xpa/nsh/defconfig b/configs/zp214xpa/nsh/defconfig
index 57feef3659..3b6183fe5e 100644
--- a/configs/zp214xpa/nsh/defconfig
+++ b/configs/zp214xpa/nsh/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -124,7 +123,6 @@ CONFIG_LPC214X_UART1=y
# CONFIG_ARCH_NOINTC is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_STACKDUMP=y
# CONFIG_ENDIAN_BIG is not set
diff --git a/configs/zp214xpa/nxlines/defconfig b/configs/zp214xpa/nxlines/defconfig
index a024c0c9e8..b96b68591f 100644
--- a/configs/zp214xpa/nxlines/defconfig
+++ b/configs/zp214xpa/nxlines/defconfig
@@ -43,7 +43,6 @@ CONFIG_RAW_BINARY=y
#
# System Type
#
-# CONFIG_ARCH_8051 is not set
CONFIG_ARCH_ARM=y
# CONFIG_ARCH_AVR is not set
# CONFIG_ARCH_HC is not set
@@ -124,7 +123,6 @@ CONFIG_LPC214X_UART1=y
# CONFIG_ARCH_NOINTC is not set
# CONFIG_ARCH_DMA is not set
# CONFIG_ARCH_IRQPRIO is not set
-# CONFIG_CUSTOM_STACK is not set
# CONFIG_ARCH_ADDRENV is not set
CONFIG_ARCH_STACKDUMP=y
# CONFIG_ENDIAN_BIG is not set
diff --git a/drivers/net/slip.c b/drivers/net/slip.c
index b09a797535..799a12f560 100644
--- a/drivers/net/slip.c
+++ b/drivers/net/slip.c
@@ -960,13 +960,8 @@ int slip_initialize(int intf, FAR const char *devname)
argv[0] = buffer;
argv[1] = NULL;
-#ifndef CONFIG_CUSTOM_STACK
priv->rxpid = task_create("rxslip", CONFIG_SLIP_DEFPRIO,
CONFIG_SLIP_STACKSIZE, (main_t)slip_rxtask, argv);
-#else
- priv->rxpid = task_create("rxslip", CONFIG_SLIP_DEFPRIO,
- (main_t)slip_rxtask, argv);
-#endif
if (priv->rxpid < 0)
{
ndbg("ERROR: Failed to start receiver task\n");
@@ -979,13 +974,8 @@ int slip_initialize(int intf, FAR const char *devname)
/* Start the SLIP transmitter task */
-#ifndef CONFIG_CUSTOM_STACK
priv->txpid = task_create("txslip", CONFIG_SLIP_DEFPRIO,
- CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask, argv);
-#else
- priv->txpid = task_create("txslip", CONFIG_SLIP_DEFPRIO,
- (main_t)slip_txtask, argv);
-#endif
+ CONFIG_SLIP_STACKSIZE, (main_t)slip_txtask, argv);
if (priv->txpid < 0)
{
ndbg("ERROR: Failed to start receiver task\n");
diff --git a/drivers/usbdev/usbmsc.c b/drivers/usbdev/usbmsc.c
index 6bcd33fcd4..05fd8e7712 100644
--- a/drivers/usbdev/usbmsc.c
+++ b/drivers/usbdev/usbmsc.c
@@ -1646,7 +1646,7 @@ int usbmsc_exportluns(FAR void *handle)
g_usbmsc_handoff = priv;
uvdbg("Starting SCSI worker thread\n");
- priv->thpid = KERNEL_THREAD("scsid", CONFIG_USBMSC_SCSI_PRIO,
+ priv->thpid = kernel_thread("scsid", CONFIG_USBMSC_SCSI_PRIO,
CONFIG_USBMSC_SCSI_STACKSIZE,
usbmsc_scsi_main, NULL);
if (priv->thpid <= 0)
diff --git a/drivers/usbhost/usbhost_hidkbd.c b/drivers/usbhost/usbhost_hidkbd.c
index 763c3151c1..53cd15561a 100644
--- a/drivers/usbhost/usbhost_hidkbd.c
+++ b/drivers/usbhost/usbhost_hidkbd.c
@@ -1577,14 +1577,9 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
usbhost_takesem(&g_exclsem);
g_priv = priv;
-#ifndef CONFIG_CUSTOM_STACK
priv->pollpid = task_create("kbdpoll", CONFIG_HIDKBD_DEFPRIO,
CONFIG_HIDKBD_STACKSIZE,
(main_t)usbhost_kbdpoll, (FAR char * const *)NULL);
-#else
- priv->pollpid = task_create("kbdpoll", CONFIG_HIDKBD_DEFPRIO,
- (main_t)usbhost_kbdpoll, (FAR char * const *)NULL);
-#endif
if (priv->pollpid == ERROR)
{
/* Failed to started the poll thread... probably due to memory resources */
diff --git a/drivers/usbhost/usbhost_hidmouse.c b/drivers/usbhost/usbhost_hidmouse.c
index 5fdf181fad..d79d94fd0c 100644
--- a/drivers/usbhost/usbhost_hidmouse.c
+++ b/drivers/usbhost/usbhost_hidmouse.c
@@ -1649,14 +1649,9 @@ static inline int usbhost_devinit(FAR struct usbhost_state_s *priv)
usbhost_takesem(&g_exclsem);
g_priv = priv;
-#ifndef CONFIG_CUSTOM_STACK
priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
CONFIG_HIDMOUSE_STACKSIZE,
(main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
-#else
- priv->pollpid = task_create("mouse", CONFIG_HIDMOUSE_DEFPRIO,
- (main_t)usbhost_mouse_poll, (FAR char * const *)NULL);
-#endif
if (priv->pollpid == ERROR)
{
/* Failed to started the poll thread... probably due to memory resources */
diff --git a/graphics/nxmu/nx_start.c b/graphics/nxmu/nx_start.c
index 0be859c819..f11d4c5dee 100644
--- a/graphics/nxmu/nx_start.c
+++ b/graphics/nxmu/nx_start.c
@@ -188,7 +188,7 @@ int nx_start(void)
/* Start the server kernel thread */
gvdbg("Starting server task\n");
- server = KERNEL_THREAD("NX Server", CONFIG_NXSTART_SERVERPRIO,
+ server = kernel_thread("NX Server", CONFIG_NXSTART_SERVERPRIO,
CONFIG_NXSTART_SERVERSTACK, nx_server, NULL);
if (server < 0)
{
diff --git a/include/nuttx/arch.h b/include/nuttx/arch.h
index cd4915411a..724f592070 100644
--- a/include/nuttx/arch.h
+++ b/include/nuttx/arch.h
@@ -239,9 +239,7 @@ void up_initial_state(FAR struct tcb_s *tcb);
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype);
-#endif
/****************************************************************************
* Name: up_use_stack
@@ -272,9 +270,7 @@ int up_create_stack(FAR struct tcb_s *tcb, size_t stack_size, uint8_t ttype);
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int up_use_stack(FAR struct tcb_s *tcb, FAR void *stack, size_t stack_size);
-#endif
/****************************************************************************
* Name: up_stack_frame
@@ -308,8 +304,7 @@ int up_use_stack(FAR struct tcb_s *tcb, FAR void *stack, size_t stack_size);
*
****************************************************************************/
-#if !defined(CONFIG_CUSTOM_STACK) && (defined(CONFIG_BUILD_PROTECTED) || \
- defined(CONFIG_BUILD_KERNEL))
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
FAR void *up_stack_frame(FAR struct tcb_s *tcb, size_t frame_size);
#endif
@@ -344,9 +339,7 @@ FAR void *up_stack_frame(FAR struct tcb_s *tcb, size_t frame_size);
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
void up_release_stack(FAR struct tcb_s *dtcb, uint8_t ttype);
-#endif
/****************************************************************************
* Name: up_unblock_task
diff --git a/include/nuttx/kthread.h b/include/nuttx/kthread.h
index 7d840915c4..01726f6f62 100644
--- a/include/nuttx/kthread.h
+++ b/include/nuttx/kthread.h
@@ -48,18 +48,6 @@
* Pre-Processor Definitions
****************************************************************************/
-/* One processor family supported by NuttX has a single, fixed hardware stack.
- * That is the 8051 family. So for that family only, there is a variant form
- * of kernel_thread() that does not take a stack size parameter. The following
- * helper macro is provided to work around the ugliness of that exception.
- */
-
-#ifndef CONFIG_CUSTOM_STACK
-# define KERNEL_THREAD(n,p,s,e,a) kernel_thread(n,p,s,e,a)
-#else
-# define KERNEL_THREAD(n,p,s,e,a) kernel_thread(n,p,e,a)
-#endif
-
/****************************************************************************
* Public Data
****************************************************************************/
@@ -92,13 +80,8 @@ extern "C"
*
********************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int kernel_thread(FAR const char *name, int priority, int stack_size,
main_t entry, FAR char * const argv[]);
-#else
-int kernel_thread(FAR const char *name, int priority, main_t entry,
- FAR char * const argv[]);
-#endif
#undef EXTERN
#ifdef __cplusplus
diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h
index 279abea956..40442cc879 100644
--- a/include/nuttx/sched.h
+++ b/include/nuttx/sched.h
@@ -482,7 +482,6 @@ struct tcb_s
/* Stack-Related Fields *******************************************************/
-#ifndef CONFIG_CUSTOM_STACK
size_t adj_stack_size; /* Stack size after adjustment */
/* for hardware, processor, etc. */
/* (for debug purposes only) */
@@ -490,7 +489,6 @@ struct tcb_s
/* Need to deallocate stack */
FAR void *adj_stack_ptr; /* Adjusted stack_alloc_ptr for HW */
/* The initial stack pointer value */
-#endif
/* External Module Support ****************************************************/
@@ -560,8 +558,7 @@ struct task_tcb_s
uint8_t init_priority; /* Initial priority of the task */
-#if !defined(CONFIG_CUSTOM_STACK) && (defined(CONFIG_BUILD_PROTECTED) || \
- defined(CONFIG_BUILD_KERNEL))
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
/* In the kernel mode build, the arguments are saved on the task's stack */
FAR char **argv; /* Name+start-up parameters */
diff --git a/include/sched.h b/include/sched.h
index bb414b66d9..96afbedb84 100644
--- a/include/sched.h
+++ b/include/sched.h
@@ -63,21 +63,6 @@
#define PTHREAD_KEYS_MAX CONFIG_NPTHREAD_KEYS
-/* Non-standard Helper **********************************************************/
-/* One processor family supported by NuttX has a single, fixed hardware stack.
- * That is the 8051 family. So for that family only, there is a variant form
- * of task_create() that does not take a stack size parameter. The following
- * helper macros are provided to work around the ugliness of that exception.
- */
-
-#ifndef CONFIG_CUSTOM_STACK
-# define TASK_INIT(t,n,p,m,s,e,a) task_init(t,n,p,m,s,e,a)
-# define TASK_CREATE(n,p,s,e,a) task_create(n,p,s,e,a)
-#else
-# define TASK_INIT(t,n,p,m,s,e,a) task_init(t,n,p,e,a)
-# define TASK_CREATE(n,p,s,e,a) task_create(n,p,e,a)
-#endif
-
/********************************************************************************
* Public Type Definitions
********************************************************************************/
@@ -109,22 +94,12 @@ extern "C"
/* Task Control Interfaces (non-standard) */
-#ifndef CONFIG_CUSTOM_STACK
int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
FAR uint32_t *stack, uint32_t stack_size, main_t entry,
FAR char * const argv[]);
-#else
-int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
- main_t entry, FAR char * const argv[]);
-#endif
int task_activate(FAR struct tcb_s *tcb);
-#ifndef CONFIG_CUSTOM_STACK
int task_create(FAR const char *name, int priority, int stack_size,
main_t entry, FAR char * const argv[]);
-#else
-int task_create(FAR const char *name, int priority, main_t entry,
- FAR char * const argv[]);
-#endif
int task_delete(pid_t pid);
int task_restart(pid_t pid);
diff --git a/libc/wqueue/work_usrstart.c b/libc/wqueue/work_usrstart.c
index 068c016d1d..00264cbe89 100644
--- a/libc/wqueue/work_usrstart.c
+++ b/libc/wqueue/work_usrstart.c
@@ -93,7 +93,7 @@ int work_usrstart(void)
svdbg("Starting user-mode worker thread\n");
- g_usrwork[USRWORK].pid = TASK_CREATE("usrwork",
+ g_usrwork[USRWORK].pid = task_create("usrwork",
CONFIG_SCHED_USRWORKPRIORITY,
CONFIG_SCHED_USRWORKSTACKSIZE,
(main_t)work_usrthread,
diff --git a/sched/init/os_bringup.c b/sched/init/os_bringup.c
index b084bd1b0e..f85a33ef1a 100644
--- a/sched/init/os_bringup.c
+++ b/sched/init/os_bringup.c
@@ -182,7 +182,7 @@ static inline void os_pgworker(void)
svdbg("Starting paging thread\n");
- g_pgworker = KERNEL_THREAD("pgfill", CONFIG_PAGING_DEFPRIO,
+ g_pgworker = kernel_thread("pgfill", CONFIG_PAGING_DEFPRIO,
CONFIG_PAGING_STACKSIZE,
(main_t)pg_worker, (FAR char * const *)NULL);
DEBUGASSERT(g_pgworker > 0);
@@ -221,7 +221,7 @@ static inline void os_workqueues(void)
svdbg("Starting kernel worker thread\n");
#endif
- g_work[HPWORK].pid = KERNEL_THREAD(HPWORKNAME, CONFIG_SCHED_WORKPRIORITY,
+ g_work[HPWORK].pid = kernel_thread(HPWORKNAME, CONFIG_SCHED_WORKPRIORITY,
CONFIG_SCHED_WORKSTACKSIZE,
(main_t)work_hpthread,
(FAR char * const *)NULL);
@@ -235,7 +235,7 @@ static inline void os_workqueues(void)
svdbg("Starting low-priority kernel worker thread\n");
- g_work[LPWORK].pid = KERNEL_THREAD(LPWORKNAME, CONFIG_SCHED_LPWORKPRIORITY,
+ g_work[LPWORK].pid = kernel_thread(LPWORKNAME, CONFIG_SCHED_LPWORKPRIORITY,
CONFIG_SCHED_LPWORKSTACKSIZE,
(main_t)work_lpthread,
(FAR char * const *)NULL);
@@ -288,11 +288,11 @@ static inline void os_init_thread(void)
#ifdef CONFIG_BUILD_PROTECTED
DEBUGASSERT(USERSPACE->us_entrypoint != NULL);
- taskid = TASK_CREATE("init", SCHED_PRIORITY_DEFAULT,
+ taskid = task_create("init", SCHED_PRIORITY_DEFAULT,
CONFIG_USERMAIN_STACKSIZE, USERSPACE->us_entrypoint,
(FAR char * const *)NULL);
#else
- taskid = TASK_CREATE("init", SCHED_PRIORITY_DEFAULT,
+ taskid = task_create("init", SCHED_PRIORITY_DEFAULT,
CONFIG_USERMAIN_STACKSIZE,
(main_t)CONFIG_USER_ENTRYPOINT,
(FAR char * const *)NULL);
diff --git a/sched/init/os_start.c b/sched/init/os_start.c
index 4f6da4ea57..cf83b93b9f 100644
--- a/sched/init/os_start.c
+++ b/sched/init/os_start.c
@@ -311,14 +311,13 @@ void os_start(void)
* and there is no support that yet.
*/
-#if defined(CONFIG_CUSTOM_STACK) || (!defined(CONFIG_BUILD_PROTECTED) && \
- !defined(CONFIG_BUILD_KERNEL))
+#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
#if CONFIG_TASK_NAME_SIZE > 0
g_idletcb.argv[0] = g_idletcb.cmn.name;
#else
g_idletcb.argv[0] = (char*)g_idlename;
#endif /* CONFIG_TASK_NAME_SIZE */
-#endif /* CONFIG_CUSTOM_STACK || (!CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL) */
+#endif /* !CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL */
/* Then add the idle task's TCB to the head of the ready to run list */
diff --git a/sched/sched/sched_releasetcb.c b/sched/sched/sched_releasetcb.c
index ecfaf72ce9..724e9e4095 100644
--- a/sched/sched/sched_releasetcb.c
+++ b/sched/sched/sched_releasetcb.c
@@ -111,8 +111,7 @@ static void sched_releasepid(pid_t pid)
int sched_releasetcb(FAR struct tcb_s *tcb, uint8_t ttype)
{
int ret = OK;
-#if defined(CONFIG_CUSTOM_STACK) || (!defined(CONFIG_BUILD_PROTECTED) && \
- !defined(CONFIG_BUILD_KERNEL))
+#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
int i;
#endif
@@ -146,12 +145,10 @@ int sched_releasetcb(FAR struct tcb_s *tcb, uint8_t ttype)
/* Delete the thread's stack if one has been allocated */
-#ifndef CONFIG_CUSTOM_STACK
if (tcb->stack_alloc_ptr)
{
up_release_stack(tcb, ttype);
}
-#endif
/* Delete the tasks's allocated DSpace region (external modules only) */
@@ -169,8 +166,7 @@ int sched_releasetcb(FAR struct tcb_s *tcb, uint8_t ttype)
}
#endif
-#if defined(CONFIG_CUSTOM_STACK) || (!defined(CONFIG_BUILD_PROTECTED) && \
- !defined(CONFIG_BUILD_KERNEL))
+#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
/* Release command line arguments that were allocated for task
* start/re-start.
*
@@ -190,7 +186,7 @@ int sched_releasetcb(FAR struct tcb_s *tcb, uint8_t ttype)
}
}
-#endif /* CONFIG_CUSTOM_STACK || (!CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL) */
+#endif /* !CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL */
/* Release this thread's reference to the address environment */
diff --git a/sched/task/task_create.c b/sched/task/task_create.c
index ca0ed892f7..4e7d656f7d 100644
--- a/sched/task/task_create.c
+++ b/sched/task/task_create.c
@@ -100,13 +100,8 @@
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
static int thread_create(FAR const char *name, uint8_t ttype, int priority,
int stack_size, main_t entry, FAR char * const argv[])
-#else
-static int thread_create(FAR const char *name, uint8_t ttype, int priority,
- main_t entry, FAR char * const argv[])
-#endif
{
FAR struct task_tcb_s *tcb;
pid_t pid;
@@ -147,14 +142,12 @@ static int thread_create(FAR const char *name, uint8_t ttype, int priority,
/* Allocate the stack for the TCB */
-#ifndef CONFIG_CUSTOM_STACK
ret = up_create_stack((FAR struct tcb_s *)tcb, stack_size, ttype);
if (ret < OK)
{
errcode = -ret;
goto errout_with_tcb;
}
-#endif
/* Initialize the task control block */
@@ -245,19 +238,10 @@ errout:
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int task_create(FAR const char *name, int priority,
int stack_size, main_t entry, FAR char * const argv[])
-#else
-int task_create(FAR const char *name, int priority,
- main_t entry, FAR char * const argv[])
-#endif
{
-#ifndef CONFIG_CUSTOM_STACK
return thread_create(name, TCB_FLAG_TTYPE_TASK, priority, stack_size, entry, argv);
-#else
- return thread_create(name, TCB_FLAG_TTYPE_TASK, priority, entry, argv);
-#endif
}
/****************************************************************************
@@ -276,18 +260,9 @@ int task_create(FAR const char *name, int priority,
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int kernel_thread(FAR const char *name, int priority,
int stack_size, main_t entry, FAR char * const argv[])
-#else
-int kernel_thread(FAR const char *name, int priority,
- main_t entry, FAR char * const argv[])
-#endif
{
-#ifndef CONFIG_CUSTOM_STACK
return thread_create(name, TCB_FLAG_TTYPE_KERNEL, priority, stack_size, entry, argv);
-#else
- return thread_create(name, TCB_FLAG_TTYPE_KERNEL, priority, entry, argv);
-#endif
}
diff --git a/sched/task/task_init.c b/sched/task/task_init.c
index f1fa91edf2..6ad31e7f2c 100644
--- a/sched/task/task_init.c
+++ b/sched/task/task_init.c
@@ -112,14 +112,9 @@
*
****************************************************************************/
-#ifndef CONFIG_CUSTOM_STACK
int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
FAR uint32_t *stack, uint32_t stack_size,
main_t entry, FAR char * const argv[])
-#else
-int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
- main_t entry, FAR char * const argv[])
-#endif
{
FAR struct task_tcb_s *ttcb = (FAR struct task_tcb_s *)tcb;
int errcode;
@@ -156,9 +151,7 @@ int task_init(FAR struct tcb_s *tcb, const char *name, int priority,
/* Configure the user provided stack region */
-#ifndef CONFIG_CUSTOM_STACK
up_use_stack(tcb, stack, stack_size);
-#endif
/* Initialize the task control block */
diff --git a/sched/task/task_posixspawn.c b/sched/task/task_posixspawn.c
index 5a831b95ab..87d8680939 100644
--- a/sched/task/task_posixspawn.c
+++ b/sched/task/task_posixspawn.c
@@ -424,7 +424,7 @@ int posix_spawn(FAR pid_t *pid, FAR const char *path,
* task.
*/
- proxy = TASK_CREATE("posix_spawn_proxy", param.sched_priority,
+ proxy = task_create("posix_spawn_proxy", param.sched_priority,
CONFIG_POSIX_SPAWN_PROXY_STACKSIZE,
(main_t)posix_spawn_proxy,
(FAR char * const *)NULL);
diff --git a/sched/task/task_setup.c b/sched/task/task_setup.c
index a0eaa9af63..9ef1b0d39f 100644
--- a/sched/task/task_setup.c
+++ b/sched/task/task_setup.c
@@ -448,8 +448,7 @@ static void task_namesetup(FAR struct task_tcb_s *tcb, FAR const char *name)
*
****************************************************************************/
-#if defined(CONFIG_CUSTOM_STACK) || (!defined(CONFIG_BUILD_PROTECTED) && \
- !defined(CONFIG_BUILD_KERNEL))
+#if !defined(CONFIG_BUILD_PROTECTED) && !defined(CONFIG_BUILD_KERNEL)
static int task_tcbargsetup(FAR struct task_tcb_s *tcb,
FAR char * const argv[])
{
@@ -489,7 +488,7 @@ static int task_tcbargsetup(FAR struct task_tcb_s *tcb,
return OK;
}
-#endif /* CONFIG_CUSTOM_STACK || (!CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL) */
+#endif /* !CONFIG_BUILD_PROTECTED && !CONFIG_BUILD_KERNEL */
/****************************************************************************
* Name: task_stackargsetup
@@ -516,8 +515,7 @@ static int task_tcbargsetup(FAR struct task_tcb_s *tcb,
*
****************************************************************************/
-#if !defined(CONFIG_CUSTOM_STACK) && (defined(CONFIG_BUILD_PROTECTED) || \
- defined(CONFIG_BUILD_KERNEL))
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
static int task_stackargsetup(FAR struct task_tcb_s *tcb,
FAR char * const argv[])
{
@@ -619,7 +617,7 @@ static int task_stackargsetup(FAR struct task_tcb_s *tcb,
return OK;
}
-#endif /* !CONFIG_CUSTOM_STACK && (CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) */
+#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL */
/****************************************************************************
* Public Functions
@@ -744,8 +742,7 @@ int task_argsetup(FAR struct task_tcb_s *tcb, FAR const char *name,
task_namesetup(tcb, name);
-#if !defined(CONFIG_CUSTOM_STACK) && (defined(CONFIG_BUILD_PROTECTED) || \
- defined(CONFIG_BUILD_KERNEL))
+#if defined(CONFIG_BUILD_PROTECTED) || defined(CONFIG_BUILD_KERNEL)
/* In the kernel build case, the argv[] array and all strings are copied
* to the task's stack. This is done because the TCB (and kernel allocated
* strings) are only accessible in kernel-mode. Data on the stack, on the
@@ -762,7 +759,7 @@ int task_argsetup(FAR struct task_tcb_s *tcb, FAR const char *name,
ret = task_tcbargsetup(tcb, argv);
-#endif /* !CONFIG_CUSTOM_STACK && (CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL) */
+#endif /* CONFIG_BUILD_PROTECTED || CONFIG_BUILD_KERNEL */
return ret;
}
diff --git a/sched/task/task_spawn.c b/sched/task/task_spawn.c
index 2f556120fd..2b09e63bbf 100644
--- a/sched/task/task_spawn.c
+++ b/sched/task/task_spawn.c
@@ -149,11 +149,11 @@ static int task_spawn_exec(FAR pid_t *pidp, FAR const char *name,
/* Start the task */
- pid = TASK_CREATE(name, priority, stacksize, entry, argv);
+ pid = task_create(name, priority, stacksize, entry, argv);
if (pid < 0)
{
ret = get_errno();
- sdbg("ERROR: TASK_CREATE failed: %d\n", ret);
+ sdbg("ERROR: task_create failed: %d\n", ret);
goto errout;
}
@@ -416,7 +416,7 @@ int task_spawn(FAR pid_t *pid, FAR const char *name, main_t entry,
* task.
*/
- proxy = TASK_CREATE("task_spawn_proxy", param.sched_priority,
+ proxy = task_create("task_spawn_proxy", param.sched_priority,
CONFIG_POSIX_SPAWN_PROXY_STACKSIZE,
(main_t)task_spawn_proxy,
(FAR char * const*)NULL);