Skip to content

Commit 9171cb9

Browse files
iabdalkaderdpgeorge
authored andcommitted
mimxrt/pendsv: Add MICROPY_BOARD_PENDSV_ENTRIES for board customisation.
1 parent 4d3897f commit 9171cb9

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ports/mimxrt/mpconfigport.h

+5
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,11 @@ extern const struct _mp_obj_type_t network_lan_type;
186186
#define MICROPY_BOARD_ROOT_POINTERS
187187
#endif
188188

189+
// Additional entries for use with pendsv_schedule_dispatch.
190+
#ifndef MICROPY_BOARD_PENDSV_ENTRIES
191+
#define MICROPY_BOARD_PENDSV_ENTRIES
192+
#endif
193+
189194
#define MP_STATE_PORT MP_STATE_VM
190195

191196
// Miscellaneous settings

ports/mimxrt/pendsv.h

+1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ enum {
3131
#if MICROPY_PY_NETWORK && MICROPY_PY_LWIP
3232
PENDSV_DISPATCH_LWIP,
3333
#endif
34+
MICROPY_BOARD_PENDSV_ENTRIES
3435
PENDSV_DISPATCH_MAX
3536
};
3637

0 commit comments

Comments
 (0)