summaryrefslogtreecommitdiff
path: root/nuttx/arch/arm/src/stm32
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-23 23:06:51 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2013-03-23 23:06:51 +0000
commit94d420845331bad3ee2aa992f58fa8d31afe9f01 (patch)
tree2eb95d9aad15f6b162d479f5a12907ad151bf331 /nuttx/arch/arm/src/stm32
parent4c3cc60932ac1b6ec0076ab89a80de55e0b69a4c (diff)
downloadpx4-nuttx-94d420845331bad3ee2aa992f58fa8d31afe9f01.tar.gz
px4-nuttx-94d420845331bad3ee2aa992f58fa8d31afe9f01.tar.bz2
px4-nuttx-94d420845331bad3ee2aa992f58fa8d31afe9f01.zip
Fix an compilation error recently introduced into stm32_vectors.S
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5780 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/arm/src/stm32')
-rw-r--r--nuttx/arch/arm/src/stm32/stm32_vectors.S10
1 files changed, 6 insertions, 4 deletions
diff --git a/nuttx/arch/arm/src/stm32/stm32_vectors.S b/nuttx/arch/arm/src/stm32/stm32_vectors.S
index 6ecd92b74..b624e09c9 100644
--- a/nuttx/arch/arm/src/stm32/stm32_vectors.S
+++ b/nuttx/arch/arm/src/stm32/stm32_vectors.S
@@ -52,8 +52,6 @@
* arch/arm/src/armv7-m/up_vectors.S)
*/
-#ifndef CONFIG_ARMV7M_CMNVECTOR
-
/************************************************************************************
* Preprocessor Definitions
************************************************************************************/
@@ -77,12 +75,16 @@
* Global Symbols
************************************************************************************/
- .globl __start
-
.syntax unified
.thumb
.file "stm32_vectors.S"
+/* Check if common ARMv7 interrupt vectoring is used (see arch/arm/src/armv7-m/up_vectors.S) */
+
+#ifndef CONFIG_ARMV7M_CMNVECTOR
+
+ globl __start
+
/************************************************************************************
* Macros
************************************************************************************/