8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6952282 commit 30268c9Copy full SHA for 30268c9
ports/stm32/boardctrl.h
@@ -28,6 +28,11 @@
28
29
#include "py/mpconfig.h"
30
31
+// Additional entries for use with pendsv_schedule_dispatch.
32
+#ifndef MICROPY_BOARD_PENDSV_ENTRIES
33
+#define MICROPY_BOARD_PENDSV_ENTRIES
34
+#endif
35
+
36
#ifndef MICROPY_BOARD_STARTUP
37
#define MICROPY_BOARD_STARTUP powerctrl_check_enter_bootloader
38
#endif
ports/stm32/pendsv.h
@@ -26,6 +26,8 @@
26
#ifndef MICROPY_INCLUDED_STM32_PENDSV_H
27
#define MICROPY_INCLUDED_STM32_PENDSV_H
+#include "boardctrl.h"
enum {
PENDSV_DISPATCH_SOFT_TIMER,
#if MICROPY_PY_NETWORK && MICROPY_PY_LWIP
@@ -37,6 +39,7 @@ enum {
39
#if MICROPY_PY_BLUETOOTH && !MICROPY_PY_BLUETOOTH_USE_SYNC_EVENTS
40
PENDSV_DISPATCH_BLUETOOTH_HCI,
41
42
+ MICROPY_BOARD_PENDSV_ENTRIES
43
PENDSV_DISPATCH_MAX
44
};
45
0 commit comments