diff options
author | Cleverking2003 <30466983+Cleverking2003@users.noreply.github.com> | 2020-05-01 09:18:07 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-01 09:18:07 +0300 |
commit | c8a06f894bf98b9fa12759043cbd6316e30c59dc (patch) | |
tree | 7e0a565279d62cadd4bf8bef08db9b4bdcf5da51 /include-mw/function_target.h | |
parent | 081bd6efce613ed078407ab8fd24765275385f9f (diff) | |
parent | 4c5341831c0af7573552629a76b9ef5baadc81a9 (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.h | 7 |
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 |