diff options
author | Fabian Vogt <fabian@ritter-vogt.de> | 2014-08-16 22:55:53 +0200 |
---|---|---|
committer | Fabian Vogt <fabian@ritter-vogt.de> | 2014-08-27 18:18:50 +0200 |
commit | fe3d16e8c24e2f3733339a69c66d740747b2e859 (patch) | |
tree | 4cf97ede9b6de13f85e04b4faff4149458714490 /py/mpconfig.h | |
parent | a97e091d4e80bbdb05f4bb27f18b905b50daf018 (diff) | |
download | micropython-fe3d16e8c24e2f3733339a69c66d740747b2e859.tar.gz micropython-fe3d16e8c24e2f3733339a69c66d740747b2e859.zip |
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 */ |