From 09e97e68e228ff5b8c62686e118b8c03e6b8a1e5 Mon Sep 17 00:00:00 2001 From: patacongo Date: Sat, 12 Dec 2009 17:23:23 +0000 Subject: [PATCH] Fix hcs12 compile issues git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2326 42af7a65-404d-4744-a932-0658087f49c3 --- arch/hc/src/common/up_usestack.c | 2 +- include/nuttx/compiler.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/hc/src/common/up_usestack.c b/arch/hc/src/common/up_usestack.c index c5eb6d8e5d..51b3c1622a 100755 --- a/arch/hc/src/common/up_usestack.c +++ b/arch/hc/src/common/up_usestack.c @@ -114,4 +114,4 @@ STATUS up_use_stack(_TCB *tcb, void *stack, size_t stack_size) tcb->adj_stack_ptr = (uint32*)top_of_stack; tcb->adj_stack_size = size_of_stack; return OK; -} \ No newline at end of file +} diff --git a/include/nuttx/compiler.h b/include/nuttx/compiler.h index 70ab53e559..6fb3e6790c 100644 --- a/include/nuttx/compiler.h +++ b/include/nuttx/compiler.h @@ -112,7 +112,7 @@ # undef CONFIG_PTR_IS_NOT_INT -#elif defined(__m32c__) +#elif defined(__mc68hc1x__) /* Select the small, 16-bit addressing model */ # define CONFIG_SMALL_MEMORY 1