diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-24 17:28:38 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2013-03-24 17:28:38 +0000 |
commit | 504178ba1726406e45d21a2824b34f216ee47af3 (patch) | |
tree | dbd550cd5a34204b88b0edb41f133fea7a181433 /nuttx/arch/arm/src/stm32 | |
parent | 94d420845331bad3ee2aa992f58fa8d31afe9f01 (diff) | |
download | px4-nuttx-504178ba1726406e45d21a2824b34f216ee47af3.tar.gz px4-nuttx-504178ba1726406e45d21a2824b34f216ee47af3.tar.bz2 px4-nuttx-504178ba1726406e45d21a2824b34f216ee47af3.zip |
Add kernel build support for Stellaris, Kinetis, LPC43, and NUC1xx MCUs
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5781 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_allocateheap.c | 3 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_userspace.h | 2 | ||||
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_vectors.S | 5 |
3 files changed, 5 insertions, 5 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c b/nuttx/arch/arm/src/stm32/stm32_allocateheap.c index f79e6eedb..a5fa847d8 100644 --- a/nuttx/arch/arm/src/stm32/stm32_allocateheap.c +++ b/nuttx/arch/arm/src/stm32/stm32_allocateheap.c @@ -40,10 +40,13 @@ #include <nuttx/config.h> #include <sys/types.h> +#include <stdint.h> +#include <assert.h> #include <debug.h> #include <nuttx/arch.h> #include <nuttx/kmalloc.h> +#include <nuttx/userspace.h> #include <arch/board/board.h> diff --git a/nuttx/arch/arm/src/stm32/stm32_userspace.h b/nuttx/arch/arm/src/stm32/stm32_userspace.h index 16cd3c8e2..297ceeaa0 100644 --- a/nuttx/arch/arm/src/stm32/stm32_userspace.h +++ b/nuttx/arch/arm/src/stm32/stm32_userspace.h @@ -1,5 +1,5 @@ /************************************************************************************ - * arch/arm/src/stm32/stm32_qei.h + * arch/arm/src/stm32/stm32_userspace.h * * Copyright (C) 2013 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> diff --git a/nuttx/arch/arm/src/stm32/stm32_vectors.S b/nuttx/arch/arm/src/stm32/stm32_vectors.S index b624e09c9..61a1ea83a 100644 --- a/nuttx/arch/arm/src/stm32/stm32_vectors.S +++ b/nuttx/arch/arm/src/stm32/stm32_vectors.S @@ -48,9 +48,6 @@ /************************************************************************************ * Configuration ************************************************************************************/ -/* Check if common ARMv7 interrupt vectoring is used (see - * arch/arm/src/armv7-m/up_vectors.S) - */ /************************************************************************************ * Preprocessor Definitions @@ -83,7 +80,7 @@ #ifndef CONFIG_ARMV7M_CMNVECTOR - globl __start + .globl __start /************************************************************************************ * Macros |