summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 20:02:52 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2007-03-21 20:02:52 +0000
commit038192c8c108c106ee6b5d918eabc0c0274b14fa (patch)
tree37eadf8831c330ab0dbccb6ed6dae66ecb4ac89b /nuttx/arch/c5471
parentafbd98ac2b65181e668993b3cec6ee372dd0660e (diff)
downloadpx4-nuttx-038192c8c108c106ee6b5d918eabc0c0274b14fa.tar.gz
px4-nuttx-038192c8c108c106ee6b5d918eabc0c0274b14fa.tar.bz2
px4-nuttx-038192c8c108c106ee6b5d918eabc0c0274b14fa.zip
This achieves successful DM320 boot with a minimal system
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@115 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/c5471')
-rw-r--r--nuttx/arch/c5471/src/up_assert.c2
-rw-r--r--nuttx/arch/c5471/src/up_internal.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/nuttx/arch/c5471/src/up_assert.c b/nuttx/arch/c5471/src/up_assert.c
index c2d1d82ee..6edc2c4df 100644
--- a/nuttx/arch/c5471/src/up_assert.c
+++ b/nuttx/arch/c5471/src/up_assert.c
@@ -89,7 +89,7 @@ static void up_stackdump(void)
if (rtcb->pid == 0)
{
- stack_base = g_heapbase - CONFIG_PROC_STACK_SIZE;
+ stack_base = g_heapbase - 4;
stack_size = CONFIG_PROC_STACK_SIZE;
}
else
diff --git a/nuttx/arch/c5471/src/up_internal.h b/nuttx/arch/c5471/src/up_internal.h
index ec801b17f..c50a78483 100644
--- a/nuttx/arch/c5471/src/up_internal.h
+++ b/nuttx/arch/c5471/src/up_internal.h
@@ -53,7 +53,7 @@
#undef CONFIG_SUPPRESS_TIMER_INTS /* No timer */
#undef CONFIG_SUPPRESS_SERIAL_INTS /* Console will poll */
#undef CONFIG_SUPPRESS_UART_CONFIG /* Do not reconfig UART */
-#undef CONFIG_DUMP_ON_EXIT /* Dumpt task state on exit */
+#undef CONFIG_DUMP_ON_EXIT /* Dump task state on exit */
/* LED definitions */