diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-13 09:53:02 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-03-13 09:53:02 +0000 |
commit | ef809b45c0178be455f3c98c1889dbc7913fc307 (patch) | |
tree | 779aadf2441f524d671cb40b4c26a494446ad563 /os | |
parent | db0b7ae0626ebdfc3cda7bef8bd7bad343cead23 (diff) | |
download | ChibiOS-ef809b45c0178be455f3c98c1889dbc7913fc307.tar.gz ChibiOS-ef809b45c0178be455f3c98c1889dbc7913fc307.tar.bz2 ChibiOS-ef809b45c0178be455f3c98c1889dbc7913fc307.zip |
Separate version numbers for HAL.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7765 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/include/hal.h | 17 | ||||
-rw-r--r-- | os/nil/include/nil.h | 8 |
2 files changed, 19 insertions, 6 deletions
diff --git a/os/hal/include/hal.h b/os/hal/include/hal.h index 6c346da9d..bca194904 100644 --- a/os/hal/include/hal.h +++ b/os/hal/include/hal.h @@ -88,11 +88,24 @@ /*===========================================================================*/
/**
+ * @name HAL identification
+ * @{
+ */
+#define _HAL_
+
+#define HAL_VERSION "3.0.0dev"
+
+#define CH_HAL_MAJOR 3
+#define CH_HAL_MINOR 0
+#define CH_HAL_PATCH 0
+/** @} */
+
+/**
* @name Return codes
* @{
*/
-#define HAL_SUCCESS false
-#define HAL_FAILED true
+#define HAL_SUCCESS false
+#define HAL_FAILED true
/** @} */
/*===========================================================================*/
diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h index 38ccf2a24..23ebd05cf 100644 --- a/os/nil/include/nil.h +++ b/os/nil/include/nil.h @@ -50,11 +50,11 @@ typedef struct nil_thread thread_t; */
#define _NIL_
-#define CH_KERNEL_VERSION "1.0.0dev"
+#define CH_KERNEL_VERSION "1.0.0dev"
-#define CH_KERNEL_MAJOR 1
-#define CH_KERNEL_MINOR 0
-#define CH_KERNEL_PATCH 0
+#define CH_KERNEL_MAJOR 1
+#define CH_KERNEL_MINOR 0
+#define CH_KERNEL_PATCH 0
/** @} */
/**
|