aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-08-26 13:14:13 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-08-26 13:14:13 +0000
commit8c4b0791ea4dd3225c9291f8ccb748c3ac6a781d (patch)
treec3e27c576284b3452be90dc680b438bd2fa618f0 /os/hal/ports
parent08d066b618a499ab1124248dc2ccf9478075a123 (diff)
downloadChibiOS-8c4b0791ea4dd3225c9291f8ccb748c3ac6a781d.tar.gz
ChibiOS-8c4b0791ea4dd3225c9291f8ccb748c3ac6a781d.tar.bz2
ChibiOS-8c4b0791ea4dd3225c9291f8ccb748c3ac6a781d.zip
Tentative fix for STM32F070x6 GPIOD.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12233 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h4
1 files changed, 4 insertions, 0 deletions
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