summaryrefslogtreecommitdiffstatshomepage
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-08-28 23:24:43 +0100
committerDamien George <damien.p.george@gmail.com>2014-08-28 23:24:43 +0100
commit1ac6faa73218d3049b3e8e8f008dbfdc756628cb (patch)
treec15cc319b14869c64e908c00f410aa262c3d442f /py/mpconfig.h
parent516b09efc3e5d2d88457a0300b65497a9bc39624 (diff)
parent16ee30c6fa0974f2236004a663085f4035fd14df (diff)
downloadmicropython-1ac6faa73218d3049b3e8e8f008dbfdc756628cb.tar.gz
micropython-1ac6faa73218d3049b3e8e8f008dbfdc756628cb.zip
Merge pull request #833 from Vogtinator/arm-native
Basic native ARM emitter
Diffstat (limited to 'py/mpconfig.h')
-rw-r--r--py/mpconfig.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/py/mpconfig.h b/py/mpconfig.h
index 73c015a09b..2b89fab237 100644
--- a/py/mpconfig.h
+++ b/py/mpconfig.h
@@ -111,8 +111,13 @@
#define MICROPY_EMIT_INLINE_THUMB (0)
#endif
+// Whether to emit ARM native code
+#ifndef MICROPY_EMIT_ARM
+#define MICROPY_EMIT_ARM (0)
+#endif
+
// Convenience definition for whether any native emitter is enabled
-#define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_THUMB)
+#define MICROPY_EMIT_NATIVE (MICROPY_EMIT_X64 || MICROPY_EMIT_THUMB || MICROPY_EMIT_ARM)
/*****************************************************************************/
/* Compiler configuration */