aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-22 07:39:59 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-08-22 07:39:59 +0000
commit731ff282811d9f7dd10470fbe80cc2cdfd16c599 (patch)
tree231c68de031d075312e8e7d02fb5f7d2d9804dc1 /os
parenta02e6d83326e58b1cb5ecdbbb28091489269e87a (diff)
downloadChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.tar.gz
ChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.tar.bz2
ChibiOS-731ff282811d9f7dd10470fbe80cc2cdfd16c599.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4611 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32F1xx/hal_lld_f103.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/STM32F1xx/hal_lld_f103.h b/os/hal/platforms/STM32F1xx/hal_lld_f103.h
index 7c58c502c..68d2748e9 100644
--- a/os/hal/platforms/STM32F1xx/hal_lld_f103.h
+++ b/os/hal/platforms/STM32F1xx/hal_lld_f103.h
@@ -974,6 +974,13 @@
/*===========================================================================*/
/*
+ * Configuration-related checks.
+ */
+#if !defined(STM32F103_MCUCONF)
+#error "Using a wrong mcuconf.h file, STM32F103_MCUCONF not defined"
+#endif
+
+/*
* HSI related checks.
*/
#if STM32_HSI_ENABLED