summaryrefslogtreecommitdiff
path: root/include-mw/function_target.h
diff options
context:
space:
mode:
authorCleverking2003 <30466983+Cleverking2003@users.noreply.github.com>2020-05-01 09:18:07 +0300
committerGitHub <noreply@github.com>2020-05-01 09:18:07 +0300
commitc8a06f894bf98b9fa12759043cbd6316e30c59dc (patch)
tree7e0a565279d62cadd4bf8bef08db9b4bdcf5da51 /include-mw/function_target.h
parent081bd6efce613ed078407ab8fd24765275385f9f (diff)
parent4c5341831c0af7573552629a76b9ef5baadc81a9 (diff)
Merge pull request #48 from Demki/master
add thumb/arm macros and change makefiles to reflect that.
Diffstat (limited to 'include-mw/function_target.h')
-rw-r--r--include-mw/function_target.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include-mw/function_target.h b/include-mw/function_target.h
new file mode 100644
index 00000000..2aaee87e
--- /dev/null
+++ b/include-mw/function_target.h
@@ -0,0 +1,7 @@
+#ifndef GUARD_FUNCTION_TARGET_H
+#define GUARD_FUNCTION_TARGET_H
+
+#define ARM_FUNC _Pragma("thumb off")
+#define THUMB_FUNC _Pragma("thumb on")
+
+#endif //GUARD_FUNCTION_TARGET_H \ No newline at end of file