summaryrefslogtreecommitdiff
path: root/py/compile.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2019-05-01 15:24:21 +1000
committerDamien George <damien.p.george@gmail.com>2019-05-01 15:24:21 +1000
commit9ef784dcc6aa2abd7325b43f3d1613b8ac5d9f3f (patch)
tree77c585d08a1397e49706e6b321e52f25dbfb5e80 /py/compile.c
parent34a7d7ebebc93bf9c4f166b0b523ceab844c7d91 (diff)
py/asmthumb: Support asm_thumb code running on normal ARM processors.
With this change, @micropython.asm_thumb functions will work on standard ARM processors (that are in ARM state by default), in scripts and precompiled .mpy files. Addresses issue #4675.
Diffstat (limited to 'py/compile.c')
-rw-r--r--py/compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/compile.c b/py/compile.c
index 4919a1659..01e4ff9b6 100644
--- a/py/compile.c
+++ b/py/compile.c
@@ -124,7 +124,7 @@ STATIC const emit_inline_asm_method_table_t *emit_asm_table[] = {
NULL,
NULL,
NULL,
- NULL,
+ &emit_inline_thumb_method_table,
&emit_inline_thumb_method_table,
&emit_inline_thumb_method_table,
&emit_inline_thumb_method_table,