mimxrt/pendsv: Add MICROPY_BOARD_PENDSV_ENTRIES for board customisation.
This commit is contained in:
parent
4d3897f80e
commit
9171cb91b1
@ -186,6 +186,11 @@ extern const struct _mp_obj_type_t network_lan_type;
|
|||||||
#define MICROPY_BOARD_ROOT_POINTERS
|
#define MICROPY_BOARD_ROOT_POINTERS
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Additional entries for use with pendsv_schedule_dispatch.
|
||||||
|
#ifndef MICROPY_BOARD_PENDSV_ENTRIES
|
||||||
|
#define MICROPY_BOARD_PENDSV_ENTRIES
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MP_STATE_PORT MP_STATE_VM
|
#define MP_STATE_PORT MP_STATE_VM
|
||||||
|
|
||||||
// Miscellaneous settings
|
// Miscellaneous settings
|
||||||
|
@ -31,6 +31,7 @@ enum {
|
|||||||
#if MICROPY_PY_NETWORK && MICROPY_PY_LWIP
|
#if MICROPY_PY_NETWORK && MICROPY_PY_LWIP
|
||||||
PENDSV_DISPATCH_LWIP,
|
PENDSV_DISPATCH_LWIP,
|
||||||
#endif
|
#endif
|
||||||
|
MICROPY_BOARD_PENDSV_ENTRIES
|
||||||
PENDSV_DISPATCH_MAX
|
PENDSV_DISPATCH_MAX
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user