aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_lld.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-24 09:36:51 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-02-24 09:36:51 +0000
commit679520b160a61950c5746351ab97632ad48f377b (patch)
tree3a3ad63b42535211e24e9ab1a25608d82734637c /os/hal/templates/hal_lld.h
parent2fe9b90f58e48b68a0598aeb18f70eb434fd25e1 (diff)
downloadChibiOS-679520b160a61950c5746351ab97632ad48f377b.tar.gz
ChibiOS-679520b160a61950c5746351ab97632ad48f377b.tar.bz2
ChibiOS-679520b160a61950c5746351ab97632ad48f377b.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5309 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/templates/hal_lld.h')
-rw-r--r--os/hal/templates/hal_lld.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/os/hal/templates/hal_lld.h b/os/hal/templates/hal_lld.h
index c8c0534c3..957d40099 100644
--- a/os/hal/templates/hal_lld.h
+++ b/os/hal/templates/hal_lld.h
@@ -50,6 +50,12 @@
/*===========================================================================*/
/* Derived constants and error checks. */
/*===========================================================================*/
+/*
+ * Configuration-related checks.
+ */
+#if !defined(PLATFORM_MCUCONF)
+#error "Using a wrong mcuconf.h file, PLATFORM_MCUCONF not defined"
+#endif
/*===========================================================================*/
/* Driver data structures and types. */