aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2018-05-27 07:59:19 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2018-05-27 07:59:19 +0000
commited72edd29fda227a14c7392d2e8eee2f5a034ab6 (patch)
tree939196d58c364ffbb961c81e1cb752151197cc5d /os/hal/ports/STM32/STM32F0xx/stm32_registry.h
parentd8ede4fbf03bb484d84ced5ce3a2f5c582c4e6a3 (diff)
downloadChibiOS-ed72edd29fda227a14c7392d2e8eee2f5a034ab6.tar.gz
ChibiOS-ed72edd29fda227a14c7392d2e8eee2f5a034ab6.tar.bz2
ChibiOS-ed72edd29fda227a14c7392d2e8eee2f5a034ab6.zip
Fixed bug #952.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12057 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os/hal/ports/STM32/STM32F0xx/stm32_registry.h')
-rw-r--r--os/hal/ports/STM32/STM32F0xx/stm32_registry.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
index 1bc601d47..ee9e90dc5 100644
--- a/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
+++ b/os/hal/ports/STM32/STM32F0xx/stm32_registry.h
@@ -121,8 +121,13 @@
/* GPIO attributes.*/
#define STM32_HAS_GPIOA TRUE
#define STM32_HAS_GPIOB TRUE
+#if !defined(STM32F030x4)
#define STM32_HAS_GPIOC TRUE
#define STM32_HAS_GPIOD TRUE
+#else
+#define STM32_HAS_GPIOC FALSE
+#define STM32_HAS_GPIOD FALSE
+#endif
#define STM32_HAS_GPIOE FALSE
#define STM32_HAS_GPIOF TRUE
#define STM32_HAS_GPIOG FALSE