summaryrefslogtreecommitdiff
path: root/nuttx/arch/c5471
diff options
context:
space:
mode:
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 */