Merge pull request #2106 from openmv/pendsv_refactor2

ports/all: Remove custom pendsv prototypes.
This commit is contained in:
Ibrahim Abdelkader 2024-01-20 10:27:39 +02:00 committed by GitHub
commit a03c009e7e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 1 deletions

@ -1 +1 @@
Subproject commit caa6cf3811694ca30bd77abb54ab6a5e5655494d
Subproject commit f13c0bc8a9b922ef856a454592366d5b428f532f

View File

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

View File

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