aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/ch.h23
1 files changed, 23 insertions, 0 deletions
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"