py: Support arm and thumb ARM ISAs, in addition to thumb2.

These changes were tested with QEMU, and by few people of real hardware.
This commit is contained in:
Paul Sokolovsky
2014-06-22 01:14:28 +03:00
parent 59c675a64c
commit a96cc824bd
3 changed files with 11 additions and 5 deletions

View File

@@ -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)