We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddf3979 commit fb94ae4Copy full SHA for fb94ae4
ports/samd/mpconfigport.h
@@ -110,6 +110,11 @@
110
111
#define MP_STATE_PORT MP_STATE_VM
112
113
+// Additional entries for use with pendsv_schedule_dispatch.
114
+#ifndef MICROPY_BOARD_PENDSV_ENTRIES
115
+#define MICROPY_BOARD_PENDSV_ENTRIES
116
+#endif
117
+
118
// Miscellaneous settings
119
__attribute__((always_inline)) static inline void enable_irq(uint32_t state) {
120
__set_PRIMASK(state);
ports/samd/pendsv.h
@@ -28,6 +28,7 @@
28
29
enum {
30
PENDSV_DISPATCH_SOFT_TIMER, // For later & for having at least one entry
31
+ MICROPY_BOARD_PENDSV_ENTRIES
32
PENDSV_DISPATCH_MAX
33
};
34
0 commit comments