diff --git a/ports/stm32/mboot/mphalport.h b/ports/stm32/mboot/mphalport.h index 42b1dcc8b..d3ed18a99 100644 --- a/ports/stm32/mboot/mphalport.h +++ b/ports/stm32/mboot/mphalport.h @@ -26,6 +26,8 @@ #include +#include "genhdr/pins.h" + #define mp_hal_delay_us_fast(us) mp_hal_delay_us(us) #define MP_HAL_PIN_MODE_INPUT (0)