stm32/pendsv: Allow a board to add entries for pendsv_schedule_dispatch.

Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
Damien George
2021-10-13 18:40:06 +11:00
parent 69522822de
commit 30268c93dc
2 changed files with 8 additions and 0 deletions

View File

@@ -28,6 +28,11 @@
#include "py/mpconfig.h"
// Additional entries for use with pendsv_schedule_dispatch.
#ifndef MICROPY_BOARD_PENDSV_ENTRIES
#define MICROPY_BOARD_PENDSV_ENTRIES
#endif
#ifndef MICROPY_BOARD_STARTUP
#define MICROPY_BOARD_STARTUP powerctrl_check_enter_bootloader
#endif