diff options
author | Damien George <damien.p.george@gmail.com> | 2016-12-09 16:39:39 +1100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-12-09 16:51:49 +1100 |
commit | 8e5aced1fd4845b23b203d8d15f9b34b6b022ceb (patch) | |
tree | d56a1a626bd3bcd8d3bedac6750e02ee93fe09e3 /py/compile.c | |
parent | fcac4b07f1154ae5a354de3cd1fe5297edb75bff (diff) |
py: Integrate Xtensa assembler into native emitter.
The config option MICROPY_EMIT_XTENSA can now be enabled to target the
Xtensa architecture with @micropython.native and @micropython.viper
decorators.
Diffstat (limited to 'py/compile.c')
-rw-r--r-- | py/compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/compile.c b/py/compile.c index 418c1100b..7c2c89fb5 100644 --- a/py/compile.c +++ b/py/compile.c @@ -79,6 +79,8 @@ typedef enum { #define NATIVE_EMITTER(f) emit_native_thumb_##f #elif MICROPY_EMIT_ARM #define NATIVE_EMITTER(f) emit_native_arm_##f +#elif MICROPY_EMIT_XTENSA +#define NATIVE_EMITTER(f) emit_native_xtensa_##f #else #error "unknown native emitter" #endif |