diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-29 11:06:49 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2008-12-29 11:06:49 +0000 |
commit | 698eb25d0632a0261dac7b0b3e3e9ae0f787768e (patch) | |
tree | bee2b2a7249557e156541f6262649f40f69ed22d | |
parent | 1e6c6670d20e415d87ec15fa46c801f442e573a6 (diff) | |
download | ChibiOS-698eb25d0632a0261dac7b0b3e3e9ae0f787768e.tar.gz ChibiOS-698eb25d0632a0261dac7b0b3e3e9ae0f787768e.tar.bz2 ChibiOS-698eb25d0632a0261dac7b0b3e3e9ae0f787768e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@556 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | readme.txt | 3 | ||||
-rw-r--r-- | src/include/ch.h | 23 |
2 files changed, 26 insertions, 0 deletions
diff --git a/readme.txt b/readme.txt index 40c451676..634ef161c 100644 --- a/readme.txt +++ b/readme.txt @@ -74,6 +74,9 @@ Win32-MinGW - ChibiOS/RT simulator and demo into a WIN32 process, *****************************************************************************
*** 1.0.0 RC1 ***
+- NEW: Added new macros CH_KERNEL_VERSION set to "1.0.0 RC1", CH_KERNEL_MAJOR
+ set to 1, CH_KERNEL_MINOR set to 0, CH_KERNEL_PATCH set to 0.
+ The macros will be updated to reflect the actual kernel version number.
- FIX: Disabled the configuration option CH_USE_MESSAGES_PRIORITY from the
MSP430 demo, the default for this option should be off.
- FIX: Fixed a bug that prevented the THREAD_EXT_FIELDS to be compiled into
diff --git a/src/include/ch.h b/src/include/ch.h index aa6c04cc0..0c3eb2a64 100644 --- a/src/include/ch.h +++ b/src/include/ch.h @@ -25,8 +25,31 @@ #ifndef _CH_H_
#define _CH_H_
+/**
+ * ChibiOS/RT identification macro. + */
#define _CHIBIOS_RT_
+/**
+ * Kernel version string. + */
+#define CH_KERNEL_VERSION "1.0.0rc1"
+
+/**
+ * Kernel version major number. + */
+#define CH_KERNEL_MAJOR 1
+
+/**
+ * Kernel version minor number. + */
+#define CH_KERNEL_MINOR 0
+
+/**
+ * Kernel version patch number. + */
+#define CH_KERNEL_PATCH 0
+
#include <chconf.h>
#include <chtypes.h>
#include "lists.h"
|