summaryrefslogtreecommitdiff
path: root/nuttx/configs/open1788
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-16 17:37:40 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-16 17:37:40 +0000
commita45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd (patch)
tree8e50d03ca5238eb88b8cc8125f8db19ba72436a9 /nuttx/configs/open1788
parentd980ce2cdc1816e4d5df9a1c2ff9e647c6cb7540 (diff)
downloadpx4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.tar.gz
px4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.tar.bz2
px4-nuttx-a45f710f8fdb5b9cf11fbdcb2a74cb5007ea79fd.zip
Fix bad conditional logic in mkconfig.c; Add user-mode pthread start-up logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5748 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/configs/open1788')
-rw-r--r--nuttx/configs/open1788/kernel/up_userspace.c3
-rwxr-xr-xnuttx/configs/open1788/knsh/defconfig2
2 files changed, 4 insertions, 1 deletions
diff --git a/nuttx/configs/open1788/kernel/up_userspace.c b/nuttx/configs/open1788/kernel/up_userspace.c
index e2cb8c013..3947af1cd 100644
--- a/nuttx/configs/open1788/kernel/up_userspace.c
+++ b/nuttx/configs/open1788/kernel/up_userspace.c
@@ -105,6 +105,9 @@ const struct userspace_s userspace __attribute__ ((section (".userspace"))) =
/* Task/thread startup stubs */
.task_startup = task_startup,
+#ifndef CONFIG_DISABLE_PTHREAD
+ .pthread_startup = pthread_startup,
+#endif
/* Memory manager entry points (declared in include/nuttx/mm.h) */
diff --git a/nuttx/configs/open1788/knsh/defconfig b/nuttx/configs/open1788/knsh/defconfig
index 50b4e3d6d..b8d36e6fd 100755
--- a/nuttx/configs/open1788/knsh/defconfig
+++ b/nuttx/configs/open1788/knsh/defconfig
@@ -344,7 +344,7 @@ CONFIG_IDLETHREAD_STACKSIZE=1024
CONFIG_USERMAIN_STACKSIZE=2048
CONFIG_PTHREAD_STACK_MIN=256
CONFIG_PTHREAD_STACK_DEFAULT=2048
-CONFIG_SYS_RESERVED=5
+CONFIG_SYS_RESERVED=6
#
# Device Drivers