diff options
Diffstat (limited to 'testhal/STM32/multi/UART/cfg')
4 files changed, 28 insertions, 0 deletions
diff --git a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h index c373bb8b4..7fcedb68e 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h @@ -238,6 +238,13 @@ #define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h index c373bb8b4..7fcedb68e 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h @@ -238,6 +238,13 @@ #define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h index c373bb8b4..7fcedb68e 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h @@ -238,6 +238,13 @@ #define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h index c373bb8b4..7fcedb68e 100644 --- a/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h +++ b/testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h @@ -238,6 +238,13 @@ #define CAN_USE_SLEEP_MODE TRUE
#endif
+/**
+ * @brief Enforces the driver to use direct callbacks rather than OSAL events.
+ */
+#if !defined(CAN_ENFORCE_USE_CALLBACKS) || defined(__DOXYGEN__)
+#define CAN_ENFORCE_USE_CALLBACKS FALSE
+#endif
+
/*===========================================================================*/
/* CRY driver related settings. */
/*===========================================================================*/
|