summaryrefslogtreecommitdiffstatshomepage
path: root/unix/mpconfigport.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-14 03:24:17 +0200
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-12-14 03:24:17 +0200
commit83d27b0f0bad6a5138d0a0984a9de16e34b93c76 (patch)
tree82e53d7b1dccf2dd9baea1462ffb703b13b2e466 /unix/mpconfigport.h
parent138562ccd975dbccd189c1221349ca2fc1e0fda9 (diff)
downloadmicropython-83d27b0f0bad6a5138d0a0984a9de16e34b93c76.tar.gz
micropython-83d27b0f0bad6a5138d0a0984a9de16e34b93c76.zip
unix: Enable Thumb2 and ARM emitters by default on corresponding archs.
Diffstat (limited to 'unix/mpconfigport.h')
-rw-r--r--unix/mpconfigport.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/unix/mpconfigport.h b/unix/mpconfigport.h
index 51d100b722..4ed25d144f 100644
--- a/unix/mpconfigport.h
+++ b/unix/mpconfigport.h
@@ -33,6 +33,12 @@
#if !defined(MICROPY_EMIT_X86) && defined(__i386__)
#define MICROPY_EMIT_X86 (1)
#endif
+#if !defined(MICROPY_EMIT_THUMB) && defined(__thumb2__)
+ #define MICROPY_EMIT_THUMB (1)
+#endif
+#if !defined(MICROPY_EMIT_ARM) && defined(__arm__)
+ #define MICROPY_EMIT_ARM (1)
+#endif
#define MICROPY_ENABLE_GC (1)
#define MICROPY_ENABLE_FINALISER (1)
#define MICROPY_MEM_STATS (1)