diff --git a/src/micropython b/src/micropython index caa6cf381..f13c0bc8a 160000 --- a/src/micropython +++ b/src/micropython @@ -1 +1 @@ -Subproject commit caa6cf3811694ca30bd77abb54ab6a5e5655494d +Subproject commit f13c0bc8a9b922ef856a454592366d5b428f532f diff --git a/src/omv/common/usbdbg.c b/src/omv/common/usbdbg.c index 4206d5383..25953ea43 100644 --- a/src/omv/common/usbdbg.c +++ b/src/omv/common/usbdbg.c @@ -43,6 +43,7 @@ static const mp_rom_obj_tuple_t ide_exception_args_obj = { {&mp_type_tuple}, 1, {MP_ROM_PTR(&ide_exception_msg)} }; +extern void pendsv_nlr_jump(void *val); // These functions must be implemented in MicroPython CDC driver. extern uint32_t usb_cdc_buf_len(); diff --git a/src/omv/ports/rp2/main.c b/src/omv/ports/rp2/main.c index 0279c6008..9e55614d5 100644 --- a/src/omv/ports/rp2/main.c +++ b/src/omv/ports/rp2/main.c @@ -72,6 +72,7 @@ #endif #include "boot_utils.h" +extern void pendsv_init(void); extern uint8_t __StackTop, __StackBottom; static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_HEAP_SIZE], 4), ".heap");