diff options
| -rw-r--r-- | ports/mimxrt/mpconfigport.h | 5 | ||||
| -rw-r--r-- | ports/mimxrt/pendsv.h | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/ports/mimxrt/mpconfigport.h b/ports/mimxrt/mpconfigport.h index 772f080a9..873e9e0d1 100644 --- a/ports/mimxrt/mpconfigport.h +++ b/ports/mimxrt/mpconfigport.h @@ -186,6 +186,11 @@ extern const struct _mp_obj_type_t network_lan_type; #define MICROPY_BOARD_ROOT_POINTERS #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 // Miscellaneous settings diff --git a/ports/mimxrt/pendsv.h b/ports/mimxrt/pendsv.h index 64883c903..e68f487fb 100644 --- a/ports/mimxrt/pendsv.h +++ b/ports/mimxrt/pendsv.h @@ -31,6 +31,7 @@ enum { #if MICROPY_PY_NETWORK && MICROPY_PY_LWIP PENDSV_DISPATCH_LWIP, #endif + MICROPY_BOARD_PENDSV_ENTRIES PENDSV_DISPATCH_MAX }; |
