diff options
| author | Damien George <damien.p.george@gmail.com> | 2019-02-14 13:39:13 +1100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2019-02-14 13:39:13 +1100 |
| commit | be4e5b1f872c29b5a3a64397e5ec50d2b0880382 (patch) | |
| tree | 46493ceae8e6cf783d511ea331d0d1c98e775c04 | |
| parent | f38397ba8dff31bd0013b21ad07a9a37b221713f (diff) | |
stm32/mboot/mphalport.h: Include genhdr/pins.h for access to pin names.
So that mboot configuration can use names like pyb_pin_X1.
| -rw-r--r-- | ports/stm32/mboot/mphalport.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 <stdbool.h> +#include "genhdr/pins.h" + #define mp_hal_delay_us_fast(us) mp_hal_delay_us(us) #define MP_HAL_PIN_MODE_INPUT (0) |
