diff options
author | Damien George <damien.p.george@gmail.com> | 2014-08-28 23:24:43 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2014-08-28 23:24:43 +0100 |
commit | 1ac6faa73218d3049b3e8e8f008dbfdc756628cb (patch) | |
tree | c15cc319b14869c64e908c00f410aa262c3d442f /py/mpconfig.h | |
parent | 516b09efc3e5d2d88457a0300b65497a9bc39624 (diff) | |
parent | 16ee30c6fa0974f2236004a663085f4035fd14df (diff) | |
download | micropython-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.h | 7 |
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 */ |