diff options
Diffstat (limited to 'os/rt')
-rw-r--r-- | os/rt/include/ch.h | 4 | ||||
-rw-r--r-- | os/rt/templates/chconf.h | 1 |
2 files changed, 5 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"
diff --git a/os/rt/templates/chconf.h b/os/rt/templates/chconf.h index 8a441276f..df4365f99 100644 --- a/os/rt/templates/chconf.h +++ b/os/rt/templates/chconf.h @@ -29,6 +29,7 @@ #define CHCONF_H
#define _CHIBIOS_RT_CONF_
+#define _CHIBIOS_RT_CONF_VER_5_0_
/*===========================================================================*/
/**
|