diff --git a/boards/ST_STM32F0_DISCOVERY/board.c b/boards/ST_STM32F0_DISCOVERY/board.c
index 0393835ad..7f28873cd 100644
--- a/boards/ST_STM32F0_DISCOVERY/board.c
+++ b/boards/ST_STM32F0_DISCOVERY/board.c
@@ -14,7 +14,6 @@
limitations under the License.
*/
-#include "ch.h"
#include "hal.h"
#if HAL_USE_PAL || defined(__DOXYGEN__)
diff --git a/boards/ST_STM32F0_DISCOVERY/board.h b/boards/ST_STM32F0_DISCOVERY/board.h
index be690cc6a..578aa49b7 100644
--- a/boards/ST_STM32F0_DISCOVERY/board.h
+++ b/boards/ST_STM32F0_DISCOVERY/board.h
@@ -45,7 +45,7 @@
#define STM32_HSE_BYPASS
/*
- * MCU type as defined in the ST header file stm32f0xx.h.
+ * MCU type as defined in the ST header.
*/
#define STM32F0XX_MD
diff --git a/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg b/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg
index 3773f03d1..ec85130c7 100644
--- a/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg
+++ b/boards/ST_STM32F0_DISCOVERY/cfg/board.chcfg
@@ -10,6 +10,7 @@
ST STM32F0-Discovery
ST_STM32F0_DISCOVERY
+ STM32F0XX_MD