aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--os/hal/osal/nil/osal.h6
-rw-r--r--os/hal/osal/rt/osal.h6
2 files changed, 12 insertions, 0 deletions
diff --git a/os/hal/osal/nil/osal.h b/os/hal/osal/nil/osal.h
index 5d97c3466..f7eb253b7 100644
--- a/os/hal/osal/nil/osal.h
+++ b/os/hal/osal/nil/osal.h
@@ -232,6 +232,12 @@ typedef struct {
/* Module macros. */
/*===========================================================================*/
+/* Temporary names provided for ChibiOS 2.x compatibility.*/
+#define osalQueueInit osalThreadQueueObjectInit
+#define osalQueueWakeupAllI osalThreadDequeueAllI
+#define osalQueueWakeupOneI osalThreadDequeueNextI
+#define osalQueueGoSleepTimeoutS osalThreadEnqueueTimeoutS
+
/**
* @name Debug related macros
* @{
diff --git a/os/hal/osal/rt/osal.h b/os/hal/osal/rt/osal.h
index ab648d720..7851c9138 100644
--- a/os/hal/osal/rt/osal.h
+++ b/os/hal/osal/rt/osal.h
@@ -224,6 +224,12 @@ typedef struct {
/* Module macros. */
/*===========================================================================*/
+/* Temporary names provided for ChibiOS 2.x compatibility.*/
+#define osalQueueInit osalThreadQueueObjectInit
+#define osalQueueWakeupAllI osalThreadDequeueAllI
+#define osalQueueWakeupOneI osalThreadDequeueNextI
+#define osalQueueGoSleepTimeoutS osalThreadEnqueueTimeoutS
+
/**
* @name Debug related macros
* @{