diff options
author | 2018-05-11 18:07:37 +0200 | |
---|---|---|
committer | 2018-05-11 18:07:37 +0200 | |
commit | 1d6864377202bc64e522deeb5dd044e593d83ebb (patch) | |
tree | d76947705cf46171a62ebe724bb7ea36f2838dc5 | |
parent | 9a986d87d1bb50cad24f55bf373a4d2b42148788 (diff) | |
download | cortex-m-1d6864377202bc64e522deeb5dd044e593d83ebb.tar.gz cortex-m-1d6864377202bc64e522deeb5dd044e593d83ebb.tar.zst cortex-m-1d6864377202bc64e522deeb5dd044e593d83ebb.zip |
fix build on ARMv7E-M
-rw-r--r-- | asm/basepri_max-cm7-r0p1.s | 3 | ||||
-rw-r--r-- | asm/basepri_w-cm7-r0p1.s | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/asm/basepri_max-cm7-r0p1.s b/asm/basepri_max-cm7-r0p1.s index f26d473..573bd9c 100644 --- a/asm/basepri_max-cm7-r0p1.s +++ b/asm/basepri_max-cm7-r0p1.s @@ -1,6 +1,5 @@ -;; fn __basepri_max(u8) -;; executed in a critical section to work around a silicon erratum .global __basepri_max + .syntax unified __basepri_max: mrs r1, PRIMASK cpsid i diff --git a/asm/basepri_w-cm7-r0p1.s b/asm/basepri_w-cm7-r0p1.s index 1d1dce6..5ac0209 100644 --- a/asm/basepri_w-cm7-r0p1.s +++ b/asm/basepri_w-cm7-r0p1.s @@ -1,6 +1,5 @@ -;; fn __basepri_w(u8) -;; executed in a critical section to work around a silicon erratum .global __basepri_w + .syntax unified __basepri_w: mrs r1, PRIMASK cpsid i |