diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/STM32F1xx/hal_lld_f105_f107.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld_f105_f107.h b/os/hal/platforms/STM32F1xx/hal_lld_f105_f107.h index 5b641dfcf..c33569b23 100644 --- a/os/hal/platforms/STM32F1xx/hal_lld_f105_f107.h +++ b/os/hal/platforms/STM32F1xx/hal_lld_f105_f107.h @@ -586,6 +586,13 @@ /*===========================================================================*/
/*
+ * Configuration-related checks.
+ */
+#if !defined(STM32F107_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32F107_MCUCONF not defined"
+#endif
+
+/*
* HSI related checks.
*/
#if STM32_HSI_ENABLED
|