Merge pull request #738 from dhylands/except-args

Add support for storing args during an exception raised by an irq.
This commit is contained in:
Damien George
2014-07-29 23:15:35 +01:00
9 changed files with 164 additions and 4 deletions

View File

@@ -278,6 +278,9 @@ int main(int argc, char **argv) {
char *heap = malloc(heap_size);
gc_init(heap, heap + heap_size);
#endif
#if MICROPY_ENABLE_EMERGENCY_EXCEPTION_BUF
mp_init_emergency_exception_buf();
#endif
qstr_init();
mp_init();