diff options
-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
/** @} */
/**
|