From 0bbb7a8199db3f75cbd1f6151c011cad8fc85071 Mon Sep 17 00:00:00 2001 From: Scott Shawcroft Date: Thu, 28 Sep 2017 20:33:44 -0700 Subject: Add support for patching newer ASF4 code. (#292) * atmel-samd: Support patching after updating ASF4. This makes it possible to automatically fix newer code. * atmel-samd: Update ASF4 to include flash APIs for SAMD51. This is the first automatic update that has caused a few deletions where code was previously copied instead of moved. This is a prerequisite for #260. --- supervisor/port.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'supervisor/port.h') diff --git a/supervisor/port.h b/supervisor/port.h index 465b5a27d..2f7bc6444 100644 --- a/supervisor/port.h +++ b/supervisor/port.h @@ -50,7 +50,11 @@ extern uint32_t _estack; extern uint32_t _ebss; safe_mode_t port_init(void); + +// Reset the microcontroller. void reset_port(void); + +// Reset the rest of the board. void reset_board(void); #endif // MICROPY_INCLUDED_SUPERVISOR_PORT_H -- cgit v1.2.3