summaryrefslogtreecommitdiff
path: root/py/nlr.h
diff options
context:
space:
mode:
authorPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-22 01:14:28 +0300
committerPaul Sokolovsky <pfalcon@users.sourceforge.net>2014-06-22 01:40:45 +0300
commita96cc824bdacb34ced0edef523181c215fba313b (patch)
tree8fc6088d486ce71fae5f9bd1bb05af77d5558edd /py/nlr.h
parent59c675a64c1d9757d50ad4627da67a6f996a99fb (diff)
py: Support arm and thumb ARM ISAs, in addition to thumb2.
These changes were tested with QEMU, and by few people of real hardware.
Diffstat (limited to 'py/nlr.h')
-rw-r--r--py/nlr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/py/nlr.h b/py/nlr.h
index 83ab25134..cb2b53b85 100644
--- a/py/nlr.h
+++ b/py/nlr.h
@@ -45,7 +45,7 @@ struct _nlr_buf_t {
#else
void *regs[8];
#endif
-#elif defined(__thumb2__)
+#elif defined(__thumb2__) || defined(__thumb__) || defined(__arm__)
void *regs[10];
#else
#define MICROPY_NLR_SETJMP (1)