summaryrefslogtreecommitdiff
path: root/supervisor
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2017-09-28 20:33:44 -0700
committerDan Halbert <halbert@halwitz.org>2017-09-28 23:33:44 -0400
commit0bbb7a8199db3f75cbd1f6151c011cad8fc85071 (patch)
tree57b3217fc78fbcbe603f314092d48199dec492ff /supervisor
parent8466d760f9990a0fbd735ebdc703cfb9a223805a (diff)
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.
Diffstat (limited to 'supervisor')
-rw-r--r--supervisor/port.h4
1 files changed, 4 insertions, 0 deletions
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