diff options
Diffstat (limited to 'nuttx/arch')
-rw-r--r-- | nuttx/arch/arm/src/stm32/stm32_vectors.S | 10 |
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 ************************************************************************************/ |