From 8c4b0791ea4dd3225c9291f8ccb748c3ac6a781d Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 26 Aug 2018 13:14:13 +0000 Subject: Tentative fix for STM32F070x6 GPIOD. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12233 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- os/hal/ports/STM32/STM32F0xx/stm32_registry.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'os/hal/ports') diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h index 21be96d63..046d1a946 100644 --- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h +++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h @@ -1328,7 +1328,11 @@ #define STM32_HAS_GPIOA TRUE #define STM32_HAS_GPIOB TRUE #define STM32_HAS_GPIOC TRUE +#if defined(STM32F070x6) +#define STM32_HAS_GPIOD FALSE +#else #define STM32_HAS_GPIOD TRUE +#endif #define STM32_HAS_GPIOE FALSE #define STM32_HAS_GPIOF TRUE #define STM32_HAS_GPIOG FALSE -- cgit v1.2.3