diff options
| author | Lucian Copeland <hierophect@gmail.com> | 2020-06-03 12:04:40 -0400 |
|---|---|---|
| committer | Lucian Copeland <hierophect@gmail.com> | 2020-06-03 12:07:08 -0400 |
| commit | c93ccd1e918b58b68dfdb783b3770233e884c32b (patch) | |
| tree | 2da6105c95df7d5f9eaddb13dac88007a70336e8 | |
| parent | b5b9a569185efa434aae6fae463bfb8ebd3104b4 (diff) | |
Disable pin resets on the 1060
| -rw-r--r-- | ports/mimxrt10xx/boards/teensy41/board.c | 1 | ||||
| -rw-r--r-- | ports/mimxrt10xx/supervisor/port.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ports/mimxrt10xx/boards/teensy41/board.c b/ports/mimxrt10xx/boards/teensy41/board.c index f9dea01f7..28786ab90 100644 --- a/ports/mimxrt10xx/boards/teensy41/board.c +++ b/ports/mimxrt10xx/boards/teensy41/board.c @@ -27,6 +27,7 @@ #include "boards/board.h" #include "mpconfigboard.h" +#include "shared-bindings/microcontroller/Pin.h" void board_init(void) { // FLEX flash diff --git a/ports/mimxrt10xx/supervisor/port.c b/ports/mimxrt10xx/supervisor/port.c index acec3cf72..40d28d2ef 100644 --- a/ports/mimxrt10xx/supervisor/port.c +++ b/ports/mimxrt10xx/supervisor/port.c @@ -306,7 +306,9 @@ void reset_port(void) { //reset_event_system(); + #if !defined (MIMXRT1062_SERIES) reset_all_pins(); + #endif } void reset_to_bootloader(void) { |
