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/hal/include/hal.h | |
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/hal/include/hal.h')
-rw-r--r-- | os/hal/include/hal.h | 17 |
1 files changed, 15 insertions, 2 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
/** @} */
/*===========================================================================*/
|