From be4e5b1f872c29b5a3a64397e5ec50d2b0880382 Mon Sep 17 00:00:00 2001 From: Damien George Date: Thu, 14 Feb 2019 13:39:13 +1100 Subject: [PATCH] stm32/mboot/mphalport.h: Include genhdr/pins.h for access to pin names. So that mboot configuration can use names like pyb_pin_X1. --- ports/stm32/mboot/mphalport.h | 2 ++ 1 file changed, 2 insertions(+) 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)