mirror of
https://github.com/openmv/openmv.git
synced 2025-11-04 14:49:50 +08:00
Merge pull request #2106 from openmv/pendsv_refactor2
ports/all: Remove custom pendsv prototypes.
This commit is contained in:
commit
a03c009e7e
@ -1 +1 @@
|
|||||||
Subproject commit caa6cf3811694ca30bd77abb54ab6a5e5655494d
|
Subproject commit f13c0bc8a9b922ef856a454592366d5b428f532f
|
||||||
@ -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)}
|
{&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.
|
// These functions must be implemented in MicroPython CDC driver.
|
||||||
extern uint32_t usb_cdc_buf_len();
|
extern uint32_t usb_cdc_buf_len();
|
||||||
|
|||||||
@ -72,6 +72,7 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "boot_utils.h"
|
#include "boot_utils.h"
|
||||||
|
|
||||||
|
extern void pendsv_init(void);
|
||||||
extern uint8_t __StackTop, __StackBottom;
|
extern uint8_t __StackTop, __StackBottom;
|
||||||
static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_HEAP_SIZE], 4), ".heap");
|
static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_HEAP_SIZE], 4), ".heap");
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user