diff --git a/ports/stm32f4/mpconfigport.h b/ports/stm32f4/mpconfigport.h index 931a56ed21..2e1af47ece 100644 --- a/ports/stm32f4/mpconfigport.h +++ b/ports/stm32f4/mpconfigport.h @@ -37,6 +37,8 @@ // 24kiB stack #define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000 +#include "py/circuitpy_mpconfig.h" + //Board flags: #ifndef BOARD_OVERWRITE_SWD #define BOARD_OVERWRITE_SWD (0) @@ -51,8 +53,6 @@ #define BOARD_USE_INTERNAL_SPI (0) #endif -#include "py/circuitpy_mpconfig.h" - #define MAX_UART 10 //how many UART are implemented #define MICROPY_PORT_ROOT_POINTERS \