Code: Select all
From b84f4a6193d73b234083ac3adb74012eefc7cf7b Mon Sep 17 00:00:00 2001
From: Cerem Cem ASLAN <cem@aktos.io>
Date: Fri, 1 Mar 2019 17:34:48 +0300
Subject: [PATCH] fixed STM32F030x4 declaration
See http://www.chibios.com/forum/viewtopic.php?f=16&t=5018#p34978
---
os/common/ext/ST/STM32F0xx/stm32f0xx.h | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/os/common/ext/ST/STM32F0xx/stm32f0xx.h b/os/common/ext/ST/STM32F0xx/stm32f0xx.h
index e432a4bc8..cd2d3d062 100644
--- a/os/common/ext/ST/STM32F0xx/stm32f0xx.h
+++ b/os/common/ext/ST/STM32F0xx/stm32f0xx.h
@@ -129,7 +129,10 @@
* @{
*/
-#if defined(STM32F030x6)
+
+#if defined(STM32F030x4)
+ #include "stm32f030x6.h" // see Line:82 in this file
+#elif defined(STM32F030x6)
#include "stm32f030x6.h"
#elif defined(STM32F030x8)
#include "stm32f030x8.h"
--
2.20.1