|
|
|
@ -57,6 +57,8 @@
@@ -57,6 +57,8 @@
|
|
|
|
|
#include "supervisor/shared/stack.h" |
|
|
|
|
#include "supervisor/serial.h" |
|
|
|
|
|
|
|
|
|
#include "boards/board.h" |
|
|
|
|
|
|
|
|
|
#if CIRCUITPY_DISPLAYIO |
|
|
|
|
#include "shared-module/displayio/__init__.h" |
|
|
|
|
#endif |
|
|
|
@ -425,6 +427,9 @@ int __attribute__((used)) main(void) {
@@ -425,6 +427,9 @@ int __attribute__((used)) main(void) {
|
|
|
|
|
// no SPI flash filesystem, and we might erase the existing one.
|
|
|
|
|
filesystem_init(safe_mode == NO_SAFE_MODE, false); |
|
|
|
|
|
|
|
|
|
// displays init after filesystem, since they could share the flash SPI
|
|
|
|
|
board_init();
|
|
|
|
|
|
|
|
|
|
// Reset everything and prep MicroPython to run boot.py.
|
|
|
|
|
reset_port(); |
|
|
|
|
reset_board(); |
|
|
|
|