Browse Source

qemu-arm: Get compiling again with recent changes to print framework.

pull/1181/merge
Damien George 10 years ago
parent
commit
2941d5c714
  1. 2
      qemu-arm/main.c
  2. 2
      qemu-arm/test_main.c

2
qemu-arm/main.c

@ -27,7 +27,7 @@ void do_str(const char *src) {
nlr_pop();
} else {
// uncaught exception
mp_obj_print_exception(&mp_extern_printf_wrapper, (mp_obj_t)nlr.ret_val);
mp_obj_print_exception(&mp_plat_print, (mp_obj_t)nlr.ret_val);
}
}

2
qemu-arm/test_main.c

@ -38,7 +38,7 @@ inline void do_str(const char *src) {
tinytest_set_test_skipped_();
return;
}
mp_obj_print_exception(&mp_extern_printf_wrapper, exc);
mp_obj_print_exception(&mp_plat_print, exc);
tt_abort_msg("Uncaught exception");
}
end:

Loading…
Cancel
Save