aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/ch.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2017-10-04 14:38:29 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2017-10-04 14:38:29 +0000
commit329823da6aaa27ba5fd211945b88c2c4ab6df08f (patch)
treeb4c9ef9023cb334ce8429cb165bc74af22faa0d3 /os/rt/include/ch.h
parent0c5eef8e02b15fb4b8c3f829299c47ea273a4a46 (diff)
downloadChibiOS-329823da6aaa27ba5fd211945b88c2c4ab6df08f.tar.gz
ChibiOS-329823da6aaa27ba5fd211945b88c2c4ab6df08f.tar.bz2
ChibiOS-329823da6aaa27ba5fd211945b88c2c4ab6df08f.zip
chconf.h files alignment pass 2, added version tag in chconf.h files
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10766 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/ch.h')
-rw-r--r--os/rt/include/ch.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/os/rt/include/ch.h b/os/rt/include/ch.h
index da509adad..e11a049ac 100644
--- a/os/rt/include/ch.h
+++ b/os/rt/include/ch.h
@@ -74,6 +74,10 @@
#error "invalid configuration file"
#endif
+#if !defined(_CHIBIOS_RT_CONF_VER_5_0_)
+#error "obsolete or unknown configuration file"
+#endif
+
#include "chlicense.h"
#include "chchecks.h"
#include "chsystypes.h"