File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed
Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -201,6 +201,11 @@ extern const struct _mp_obj_type_t mod_network_nic_type_wiznet5k;
201201 MICROPY_HW_NIC_WIZNET5K \
202202 MICROPY_BOARD_NETWORK_INTERFACES \
203203
204+ // Additional entries for use with pendsv_schedule_dispatch.
205+ #ifndef MICROPY_BOARD_PENDSV_ENTRIES
206+ #define MICROPY_BOARD_PENDSV_ENTRIES
207+ #endif
208+
204209#define MP_STATE_PORT MP_STATE_VM
205210
206211// Miscellaneous settings
Original file line number Diff line number Diff line change 2525 */
2626
2727#include <assert.h>
28+ #include "py/mpconfig.h"
2829#include "pendsv.h"
2930#include "RP2040.h"
3031
Original file line number Diff line number Diff line change 3838 #if MICROPY_PY_NETWORK_WIZNET5K
3939 PENDSV_DISPATCH_WIZNET ,
4040 #endif
41+ MICROPY_BOARD_PENDSV_ENTRIES
4142 PENDSV_DISPATCH_MAX
4243};
4344
You can’t perform that action at this time.
0 commit comments