diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s | 34 | ||||
-rw-r--r-- | os/kernel/ports/ARMCMx/devices/STM32F30x/port.mk | 2 |
2 files changed, 18 insertions, 18 deletions
diff --git a/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s b/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s index 924a0b6d0..3d4920b01 100644 --- a/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s +++ b/os/kernel/ports/ARMCMx/compilers/GCC/chcoreasm_v7m.s @@ -19,10 +19,10 @@ */
/**
- * @file ARM/chcoreasm.s
- * @brief ARM7/9 architecture port low level code.
+ * @file ARMCMx/GCC/chcoreasm_v7m.s
+ * @brief ARMv7-M architecture port low level code.
*
- * @addtogroup ARM_CORE
+ * @addtogroup ARMCMx_CORE
* @{
*/
@@ -39,12 +39,12 @@ #if !defined(__DOXYGEN__)
- .syntax unified
- .cpu cortex-m4
- .fpu softvfp
+ .syntax unified
+ .cpu cortex-m4
+ .fpu softvfp
- .thumb
- .text
+ .thumb
+ .text
/*
* Thread trampoline code.
@@ -54,20 +54,20 @@ * register R5 contains the thread parameter. The function chThdExit() is
* called on thread function return.
*/
- .thumb_func
- .globl _port_thread_start
+ .thumb_func
+ .globl _port_thread_start
_port_thread_start:
#if CH_DBG_SYSTEM_STATE_CHECK
- bl dbg_check_unlock
+ bl dbg_check_unlock
#endif
#if CH_DBG_STATISTICS
- bl _stats_stop_measure_crit_thd
+ bl _stats_stop_measure_crit_thd
#endif
- movs r3, #0
- msr BASEPRI, r3
- mov r0, r5
- blx r4
- bl chThdExit
+ movs r3, #0
+ msr BASEPRI, r3
+ mov r0, r5
+ blx r4
+ bl chThdExit
#endif /* !defined(__DOXYGEN__) */
diff --git a/os/kernel/ports/ARMCMx/devices/STM32F30x/port.mk b/os/kernel/ports/ARMCMx/devices/STM32F30x/port.mk index a4a320bf8..b5836447b 100644 --- a/os/kernel/ports/ARMCMx/devices/STM32F30x/port.mk +++ b/os/kernel/ports/ARMCMx/devices/STM32F30x/port.mk @@ -4,7 +4,7 @@ PORTSRC = ${CHIBIOS}/os/kernel/ports/ARMCMx/chcore.c \ $(CHIBIOS)/os/kernel/ports/ARMCMx/GCC/crt0.c \
$(CHIBIOS)/os/kernel/ports/ARMCMx/GCC/vectors.c \
-PORTASM = $(CHIBIOS)/os/kernel/ports/ARMCMx/GCC/chcoreasm.s
+PORTASM = $(CHIBIOS)/os/kernel/ports/ARMCMx/GCC/chcoreasm_v7m.s
PORTINC = ${CHIBIOS}/os/kernel/ports/ARMCMx \
${CHIBIOS}/os/kernel/ports/ARMCMx/GCC \
|