aboutsummaryrefslogtreecommitdiffstats
path: root/os/rt/include/ch.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:07:00 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-02-16 10:07:00 +0000
commitcf204e72ea5fd6e4be8b3295cb148fde5fdd47d2 (patch)
tree5aae4b9a6c78c8f14c2a6ca8cd6446f42b3b29bd /os/rt/include/ch.h
parent641f2c372605cf405f0dda8536b45a78e0e5e2e2 (diff)
downloadChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.tar.gz
ChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.tar.bz2
ChibiOS-cf204e72ea5fd6e4be8b3295cb148fde5fdd47d2.zip
Tree reorganization.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8900 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/include/ch.h')
-rw-r--r--os/rt/include/ch.h17
1 files changed, 13 insertions, 4 deletions
diff --git a/os/rt/include/ch.h b/os/rt/include/ch.h
index eb35eb944..73faa8481 100644
--- a/os/rt/include/ch.h
+++ b/os/rt/include/ch.h
@@ -48,17 +48,17 @@
/**
* @brief Kernel version string.
*/
-#define CH_KERNEL_VERSION "3.2.0"
+#define CH_KERNEL_VERSION "4.0.0"
/**
* @brief Kernel version major number.
*/
-#define CH_KERNEL_MAJOR 3
+#define CH_KERNEL_MAJOR 4
/**
* @brief Kernel version minor number.
*/
-#define CH_KERNEL_MINOR 2
+#define CH_KERNEL_MINOR 0
/**
* @brief Kernel version patch number.
@@ -69,8 +69,14 @@
/* Core headers.*/
#include "chtypes.h"
#include "chconf.h"
+
+#if !defined(_CHIBIOS_RT_CONF_)
+#error "invalid configuration file"
+#endif
+
#include "chlicense.h"
#include "chsystypes.h"
+#include "chalign.h"
#include "chcore.h"
#include "chdebug.h"
#include "chtm.h"
@@ -92,10 +98,13 @@
#include "chmemcore.h"
#include "chheap.h"
#include "chmempools.h"
-#include "chdynamic.h"
#include "chqueues.h"
#include "chstreams.h"
+#if !defined(_CHIBIOS_RT_CONF_)
+#error "missing or wrong configuration file"
+#endif
+
#endif /* _CH_H_ */
/** @} */