summaryrefslogtreecommitdiff
path: root/contrib/loaders/flash
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/loaders/flash')
-rw-r--r--contrib/loaders/flash/pic32mx.s1
-rw-r--r--contrib/loaders/flash/stm32x.s1
-rw-r--r--contrib/loaders/flash/str7x.s2
-rw-r--r--contrib/loaders/flash/str9x.s2
4 files changed, 6 insertions, 0 deletions
diff --git a/contrib/loaders/flash/pic32mx.s b/contrib/loaders/flash/pic32mx.s
index b26ff611..d45ab111 100644
--- a/contrib/loaders/flash/pic32mx.s
+++ b/contrib/loaders/flash/pic32mx.s
@@ -19,6 +19,7 @@
***************************************************************************/
.text
+ .arch m4k
.set noreorder
.set noat
diff --git a/contrib/loaders/flash/stm32x.s b/contrib/loaders/flash/stm32x.s
index 6cf9f579..7269e799 100644
--- a/contrib/loaders/flash/stm32x.s
+++ b/contrib/loaders/flash/stm32x.s
@@ -20,6 +20,7 @@
.text
.syntax unified
+ .cpu cortex-m3
.thumb
.thumb_func
.global write
diff --git a/contrib/loaders/flash/str7x.s b/contrib/loaders/flash/str7x.s
index fcdb007d..b9eb4299 100644
--- a/contrib/loaders/flash/str7x.s
+++ b/contrib/loaders/flash/str7x.s
@@ -20,6 +20,8 @@
.text
.arm
+ .arch armv4t
+
.section .init
/*
r0 source address
diff --git a/contrib/loaders/flash/str9x.s b/contrib/loaders/flash/str9x.s
index 9b15b3de..35abbba5 100644
--- a/contrib/loaders/flash/str9x.s
+++ b/contrib/loaders/flash/str9x.s
@@ -20,6 +20,8 @@
.text
.arm
+ .arch armv5t
+
.section .init
/*
r0 source address (in)