diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-11 10:27:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-12-11 10:27:10 +0000 |
commit | 456ddf784d7bc6fe7c88446faa8bac759078d019 (patch) | |
tree | 6aec83a3f121bc25cf14c3b7794941048aad00ac /os/hal/platforms/SPC560Pxx | |
parent | beb5f4e03ebaaa196009c41fbb4d9e2c7bc3a14d (diff) | |
download | ChibiOS-456ddf784d7bc6fe7c88446faa8bac759078d019.tar.gz ChibiOS-456ddf784d7bc6fe7c88446faa8bac759078d019.tar.bz2 ChibiOS-456ddf784d7bc6fe7c88446faa8bac759078d019.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4900 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/platforms/SPC560Pxx')
-rw-r--r-- | os/hal/platforms/SPC560Pxx/hal_lld.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/os/hal/platforms/SPC560Pxx/hal_lld.h b/os/hal/platforms/SPC560Pxx/hal_lld.h index 97baf86d4..e015d5d09 100644 --- a/os/hal/platforms/SPC560Pxx/hal_lld.h +++ b/os/hal/platforms/SPC560Pxx/hal_lld.h @@ -588,6 +588,13 @@ /* Derived constants and error checks. */
/*===========================================================================*/
+/*
+ * Configuration-related checks.
+ */
+#if !defined(SPC560Pxx_MCUCONF)
+#error "Using a wrong mcuconf.h file, SPC560Pxx_MCUCONF not defined"
+#endif
+
/* Check on the XOSC frequency.*/
#if (SPC5_XOSC_CLK < SPC5_XOSC_CLK_MIN) || \
(SPC5_XOSC_CLK > SPC5_XOSC_CLK_MAX)
|