diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-03-17 09:03:27 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2018-03-17 09:03:27 +0000 |
commit | 5806f29b87e6d94957c907de200e6cdbe49aea78 (patch) | |
tree | a5916c512460bf0fa9bb1293870d7ef1d5146637 /testhal | |
parent | 946ea7eb8ee1d136933321a84e96d23324342c73 (diff) | |
download | ChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.tar.gz ChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.tar.bz2 ChibiOS-5806f29b87e6d94957c907de200e6cdbe49aea78.zip |
New halconf.h template.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11788 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'testhal')
114 files changed, 798 insertions, 0 deletions
diff --git a/testhal/ATSAMA5D2/FLEX-SPI/halconf.h b/testhal/ATSAMA5D2/FLEX-SPI/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/ATSAMA5D2/FLEX-SPI/halconf.h +++ b/testhal/ATSAMA5D2/FLEX-SPI/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/ATSAMA5D2/MATRIX/halconf.h b/testhal/ATSAMA5D2/MATRIX/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/ATSAMA5D2/MATRIX/halconf.h +++ b/testhal/ATSAMA5D2/MATRIX/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/ATSAMA5D2/RTC/halconf.h b/testhal/ATSAMA5D2/RTC/halconf.h index fcd415907..b4d277047 100644 --- a/testhal/ATSAMA5D2/RTC/halconf.h +++ b/testhal/ATSAMA5D2/RTC/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/ATSAMA5D2/SDMMC/halconf.h b/testhal/ATSAMA5D2/SDMMC/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/ATSAMA5D2/SDMMC/halconf.h +++ b/testhal/ATSAMA5D2/SDMMC/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/ATSAMA5D2/SECUMOD/halconf.h b/testhal/ATSAMA5D2/SECUMOD/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/ATSAMA5D2/SECUMOD/halconf.h +++ b/testhal/ATSAMA5D2/SECUMOD/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/ATSAMA5D2/SERIAL/halconf.h b/testhal/ATSAMA5D2/SERIAL/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/ATSAMA5D2/SERIAL/halconf.h +++ b/testhal/ATSAMA5D2/SERIAL/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/ATSAMA5D2/SPI/halconf.h b/testhal/ATSAMA5D2/SPI/halconf.h index 02dd0b6ea..360aa6965 100644 --- a/testhal/ATSAMA5D2/SPI/halconf.h +++ b/testhal/ATSAMA5D2/SPI/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/ATSAMA5D2/TC/halconf.h b/testhal/ATSAMA5D2/TC/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/ATSAMA5D2/TC/halconf.h +++ b/testhal/ATSAMA5D2/TC/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/ATSAMA5D2/UART/halconf.h b/testhal/ATSAMA5D2/UART/halconf.h index f251d703e..6d234d11f 100644 --- a/testhal/ATSAMA5D2/UART/halconf.h +++ b/testhal/ATSAMA5D2/UART/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/AVR/MEGA/ADC/halconf.h b/testhal/AVR/MEGA/ADC/halconf.h index d316d48df..3ba396470 100644 --- a/testhal/AVR/MEGA/ADC/halconf.h +++ b/testhal/AVR/MEGA/ADC/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/AVR/MEGA/EXT/halconf.h b/testhal/AVR/MEGA/EXT/halconf.h index a2b257d00..5e28c6680 100644 --- a/testhal/AVR/MEGA/EXT/halconf.h +++ b/testhal/AVR/MEGA/EXT/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/AVR/MEGA/GPT/halconf.h b/testhal/AVR/MEGA/GPT/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/AVR/MEGA/GPT/halconf.h +++ b/testhal/AVR/MEGA/GPT/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/AVR/MEGA/I2C/halconf.h b/testhal/AVR/MEGA/I2C/halconf.h index f8b72e11e..27816d917 100644 --- a/testhal/AVR/MEGA/I2C/halconf.h +++ b/testhal/AVR/MEGA/I2C/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/AVR/MEGA/ICU/halconf.h b/testhal/AVR/MEGA/ICU/halconf.h index 04e289ffc..b3cac4bf3 100644 --- a/testhal/AVR/MEGA/ICU/halconf.h +++ b/testhal/AVR/MEGA/ICU/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/AVR/MEGA/PWM/halconf.h b/testhal/AVR/MEGA/PWM/halconf.h index ec81c4da3..0612a21ac 100644 --- a/testhal/AVR/MEGA/PWM/halconf.h +++ b/testhal/AVR/MEGA/PWM/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/AVR/MEGA/SPI/halconf.h b/testhal/AVR/MEGA/SPI/halconf.h index 02dd0b6ea..360aa6965 100644 --- a/testhal/AVR/MEGA/SPI/halconf.h +++ b/testhal/AVR/MEGA/SPI/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/AVR/XMEGA/SERIAL/halconf.h b/testhal/AVR/XMEGA/SERIAL/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/XMEGA/SERIAL/halconf.h +++ b/testhal/AVR/XMEGA/SERIAL/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/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/halconf.h +++ b/testhal/AVR/XMEGA/TEST-SUITE-OSLIB/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/AVR/XMEGA/USART/halconf.h b/testhal/AVR/XMEGA/USART/halconf.h index f251d703e..6d234d11f 100644 --- a/testhal/AVR/XMEGA/USART/halconf.h +++ b/testhal/AVR/XMEGA/USART/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/AVR/XMEGA/WDT/halconf.h b/testhal/AVR/XMEGA/WDT/halconf.h index 9fa7881e9..0928035e4 100644 --- a/testhal/AVR/XMEGA/WDT/halconf.h +++ b/testhal/AVR/XMEGA/WDT/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/AVR/multi/PAL/cfg/arduino_mega/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mega/halconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mega/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/AVR/multi/PAL/cfg/arduino_mini/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_mini/halconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_mini/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/AVR/multi/PAL/cfg/arduino_nano/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_nano/halconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_nano/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/AVR/multi/PAL/cfg/arduino_uno/halconf.h b/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h index 8d1b79823..6e5569097 100644 --- a/testhal/AVR/multi/PAL/cfg/arduino_uno/halconf.h +++ b/testhal/AVR/multi/PAL/cfg/arduino_uno/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/STM32F0xx/ADC/halconf.h b/testhal/STM32/STM32F0xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F0xx/ADC/halconf.h +++ b/testhal/STM32/STM32F0xx/ADC/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/STM32F0xx/CAN/halconf.h b/testhal/STM32/STM32F0xx/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32F0xx/CAN/halconf.h +++ b/testhal/STM32/STM32F0xx/CAN/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/STM32F0xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F0xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F0xx/IRQ_STORM/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/STM32F0xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F0xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F0xx/PWM-ICU/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/STM32F0xx/USB_CDC/halconf.h b/testhal/STM32/STM32F0xx/USB_CDC/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/STM32F0xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F0xx/USB_CDC/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/STM32F0xx/WDG/halconf.h b/testhal/STM32/STM32F0xx/WDG/halconf.h index dde582671..7250a908d 100644 --- a/testhal/STM32/STM32F0xx/WDG/halconf.h +++ b/testhal/STM32/STM32F0xx/WDG/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/STM32F1xx/ADC/halconf.h b/testhal/STM32/STM32F1xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F1xx/ADC/halconf.h +++ b/testhal/STM32/STM32F1xx/ADC/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/STM32F1xx/CAN/halconf.h b/testhal/STM32/STM32F1xx/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32F1xx/CAN/halconf.h +++ b/testhal/STM32/STM32F1xx/CAN/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/STM32F1xx/I2C/halconf.h b/testhal/STM32/STM32F1xx/I2C/halconf.h index ba972f4af..0d5ffea1f 100644 --- a/testhal/STM32/STM32F1xx/I2C/halconf.h +++ b/testhal/STM32/STM32F1xx/I2C/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/STM32F1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F1xx/IRQ_STORM/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/STM32F1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F1xx/PWM-ICU/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/STM32F1xx/RTC/halconf.h b/testhal/STM32/STM32F1xx/RTC/halconf.h index 83ad05800..d949008c9 100644 --- a/testhal/STM32/STM32F1xx/RTC/halconf.h +++ b/testhal/STM32/STM32F1xx/RTC/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/STM32F1xx/SPI/halconf.h b/testhal/STM32/STM32F1xx/SPI/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/STM32F1xx/SPI/halconf.h +++ b/testhal/STM32/STM32F1xx/SPI/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/STM32F1xx/UART/halconf.h b/testhal/STM32/STM32F1xx/UART/halconf.h index f251d703e..6d234d11f 100644 --- a/testhal/STM32/STM32F1xx/UART/halconf.h +++ b/testhal/STM32/STM32F1xx/UART/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/STM32F1xx/USB_CDC/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC/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/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h index a7c9e2f2c..f357509d4 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/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/STM32F2xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F2xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F2xx/PWM-ICU/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/STM32F2xx/USB_CDC/halconf.h b/testhal/STM32/STM32F2xx/USB_CDC/halconf.h index fca803def..cbe4d333c 100644 --- a/testhal/STM32/STM32F2xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F2xx/USB_CDC/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/STM32F37x/ADC/halconf.h b/testhal/STM32/STM32F37x/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F37x/ADC/halconf.h +++ b/testhal/STM32/STM32F37x/ADC/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/STM32F37x/CAN/halconf.h b/testhal/STM32/STM32F37x/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32F37x/CAN/halconf.h +++ b/testhal/STM32/STM32F37x/CAN/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/STM32F37x/I2C/halconf.h b/testhal/STM32/STM32F37x/I2C/halconf.h index ba972f4af..0d5ffea1f 100644 --- a/testhal/STM32/STM32F37x/I2C/halconf.h +++ b/testhal/STM32/STM32F37x/I2C/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/STM32F37x/IRQ_STORM/halconf.h b/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F37x/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F37x/IRQ_STORM/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/STM32F37x/PWM-ICU/halconf.h b/testhal/STM32/STM32F37x/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F37x/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F37x/PWM-ICU/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/STM32F37x/SDADC/halconf.h b/testhal/STM32/STM32F37x/SDADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F37x/SDADC/halconf.h +++ b/testhal/STM32/STM32F37x/SDADC/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/STM32F37x/SPI/halconf.h b/testhal/STM32/STM32F37x/SPI/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/STM32F37x/SPI/halconf.h +++ b/testhal/STM32/STM32F37x/SPI/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/STM32F37x/UART/halconf.h b/testhal/STM32/STM32F37x/UART/halconf.h index f251d703e..6d234d11f 100644 --- a/testhal/STM32/STM32F37x/UART/halconf.h +++ b/testhal/STM32/STM32F37x/UART/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/STM32F37x/USB_CDC/halconf.h b/testhal/STM32/STM32F37x/USB_CDC/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/STM32F37x/USB_CDC/halconf.h +++ b/testhal/STM32/STM32F37x/USB_CDC/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/STM32F3xx/ADC/halconf.h b/testhal/STM32/STM32F3xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F3xx/ADC/halconf.h +++ b/testhal/STM32/STM32F3xx/ADC/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/STM32F3xx/ADC_DUAL/halconf.h b/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F3xx/ADC_DUAL/halconf.h +++ b/testhal/STM32/STM32F3xx/ADC_DUAL/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/STM32F3xx/CAN/halconf.h b/testhal/STM32/STM32F3xx/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32F3xx/CAN/halconf.h +++ b/testhal/STM32/STM32F3xx/CAN/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/STM32F3xx/DAC/halconf.h b/testhal/STM32/STM32F3xx/DAC/halconf.h index 6190ea4c3..d8ed88065 100644 --- a/testhal/STM32/STM32F3xx/DAC/halconf.h +++ b/testhal/STM32/STM32F3xx/DAC/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/STM32F3xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F3xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F3xx/IRQ_STORM/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/STM32F3xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F3xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F3xx/PWM-ICU/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/STM32F3xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/STM32F3xx/USB_CDC_IAD/halconf.h +++ b/testhal/STM32/STM32F3xx/USB_CDC_IAD/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/STM32F3xx/WDG/halconf.h b/testhal/STM32/STM32F3xx/WDG/halconf.h index dde582671..7250a908d 100644 --- a/testhal/STM32/STM32F3xx/WDG/halconf.h +++ b/testhal/STM32/STM32F3xx/WDG/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/STM32F4xx/ADC/halconf.h b/testhal/STM32/STM32F4xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32F4xx/ADC/halconf.h +++ b/testhal/STM32/STM32F4xx/ADC/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/STM32F4xx/CAN/halconf.h b/testhal/STM32/STM32F4xx/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32F4xx/CAN/halconf.h +++ b/testhal/STM32/STM32F4xx/CAN/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/STM32F4xx/DAC/halconf.h b/testhal/STM32/STM32F4xx/DAC/halconf.h index 6190ea4c3..d8ed88065 100644 --- a/testhal/STM32/STM32F4xx/DAC/halconf.h +++ b/testhal/STM32/STM32F4xx/DAC/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/STM32F4xx/DAC_DUAL/halconf.h b/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h index 6190ea4c3..d8ed88065 100644 --- a/testhal/STM32/STM32F4xx/DAC_DUAL/halconf.h +++ b/testhal/STM32/STM32F4xx/DAC_DUAL/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/STM32F4xx/DMA_STORM/halconf.h b/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h index 7bbed29eb..5a3118193 100644 --- a/testhal/STM32/STM32F4xx/DMA_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/DMA_STORM/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/STM32F4xx/GPT/halconf.h b/testhal/STM32/STM32F4xx/GPT/halconf.h index ef661772b..dc45b160b 100644 --- a/testhal/STM32/STM32F4xx/GPT/halconf.h +++ b/testhal/STM32/STM32F4xx/GPT/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/STM32F4xx/I2S/halconf.h b/testhal/STM32/STM32F4xx/I2S/halconf.h index 09c2d9add..abc48cdcf 100644 --- a/testhal/STM32/STM32F4xx/I2S/halconf.h +++ b/testhal/STM32/STM32F4xx/I2S/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/STM32F4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM/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/STM32F4xx/IRQ_STORM_FPU/halconf.h b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/halconf.h +++ b/testhal/STM32/STM32F4xx/IRQ_STORM_FPU/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/STM32F4xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32F4xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F4xx/PWM-ICU/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/STM32F4xx/RTC/halconf.h b/testhal/STM32/STM32F4xx/RTC/halconf.h index fcd415907..b4d277047 100644 --- a/testhal/STM32/STM32F4xx/RTC/halconf.h +++ b/testhal/STM32/STM32F4xx/RTC/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/STM32F4xx/SDC/halconf.h b/testhal/STM32/STM32F4xx/SDC/halconf.h index 80a23ae3d..55a5bdaea 100644 --- a/testhal/STM32/STM32F4xx/SDC/halconf.h +++ b/testhal/STM32/STM32F4xx/SDC/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/STM32F4xx/USB_CDC_IAD/halconf.h b/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/STM32F4xx/USB_CDC_IAD/halconf.h +++ b/testhal/STM32/STM32F4xx/USB_CDC_IAD/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/STM32F4xx/WDG/halconf.h b/testhal/STM32/STM32F4xx/WDG/halconf.h index dde582671..7250a908d 100644 --- a/testhal/STM32/STM32F4xx/WDG/halconf.h +++ b/testhal/STM32/STM32F4xx/WDG/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/STM32F7xx/GPT-ADC/halconf.h b/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h index a0ee75cad..46b5faaf8 100644 --- a/testhal/STM32/STM32F7xx/GPT-ADC/halconf.h +++ b/testhal/STM32/STM32F7xx/GPT-ADC/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/STM32F7xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32F7xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32F7xx/IRQ_STORM/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/STM32F7xx/PWM-ICU/halconf.h b/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h index 1f15e37dd..9a62711c9 100644 --- a/testhal/STM32/STM32F7xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32F7xx/PWM-ICU/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/STM32F7xx/SPI/halconf.h b/testhal/STM32/STM32F7xx/SPI/halconf.h index 02dd0b6ea..360aa6965 100644 --- a/testhal/STM32/STM32F7xx/SPI/halconf.h +++ b/testhal/STM32/STM32F7xx/SPI/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/STM32F7xx/USB_RAW/halconf.h b/testhal/STM32/STM32F7xx/USB_RAW/halconf.h index 12044bfb0..4ef0f1d05 100644 --- a/testhal/STM32/STM32F7xx/USB_RAW/halconf.h +++ b/testhal/STM32/STM32F7xx/USB_RAW/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/STM32L0xx/ADC/halconf.h b/testhal/STM32/STM32L0xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32L0xx/ADC/halconf.h +++ b/testhal/STM32/STM32L0xx/ADC/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/STM32L0xx/SPI/halconf.h b/testhal/STM32/STM32L0xx/SPI/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/STM32L0xx/SPI/halconf.h +++ b/testhal/STM32/STM32L0xx/SPI/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/STM32L0xx/USB_CDC/halconf.h b/testhal/STM32/STM32L0xx/USB_CDC/halconf.h index 37f4a6a72..9a628dc50 100644 --- a/testhal/STM32/STM32L0xx/USB_CDC/halconf.h +++ b/testhal/STM32/STM32L0xx/USB_CDC/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/STM32L1xx/ADC/halconf.h b/testhal/STM32/STM32L1xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32L1xx/ADC/halconf.h +++ b/testhal/STM32/STM32L1xx/ADC/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/STM32L1xx/DAC/halconf.h b/testhal/STM32/STM32L1xx/DAC/halconf.h index 6190ea4c3..d8ed88065 100644 --- a/testhal/STM32/STM32L1xx/DAC/halconf.h +++ b/testhal/STM32/STM32L1xx/DAC/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/STM32L1xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32L1xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32L1xx/IRQ_STORM/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/STM32L1xx/PWM-ICU/halconf.h b/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h index ec4f4f080..5bb876270 100644 --- a/testhal/STM32/STM32L1xx/PWM-ICU/halconf.h +++ b/testhal/STM32/STM32L1xx/PWM-ICU/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/STM32L1xx/SPI/halconf.h b/testhal/STM32/STM32L1xx/SPI/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/STM32L1xx/SPI/halconf.h +++ b/testhal/STM32/STM32L1xx/SPI/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/STM32L1xx/UART/halconf.h b/testhal/STM32/STM32L1xx/UART/halconf.h index f251d703e..6d234d11f 100644 --- a/testhal/STM32/STM32L1xx/UART/halconf.h +++ b/testhal/STM32/STM32L1xx/UART/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/STM32L4xx/ADC/halconf.h b/testhal/STM32/STM32L4xx/ADC/halconf.h index 77704848b..59357003d 100644 --- a/testhal/STM32/STM32L4xx/ADC/halconf.h +++ b/testhal/STM32/STM32L4xx/ADC/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/STM32L4xx/CAN/halconf.h b/testhal/STM32/STM32L4xx/CAN/halconf.h index 575986bf6..8a7b59dab 100644 --- a/testhal/STM32/STM32L4xx/CAN/halconf.h +++ b/testhal/STM32/STM32L4xx/CAN/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/STM32L4xx/GPT-ADC/halconf.h b/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h index a0ee75cad..46b5faaf8 100644 --- a/testhal/STM32/STM32L4xx/GPT-ADC/halconf.h +++ b/testhal/STM32/STM32L4xx/GPT-ADC/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/STM32L4xx/IRQ_STORM/halconf.h b/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h index 35fecac12..9956e76a6 100644 --- a/testhal/STM32/STM32L4xx/IRQ_STORM/halconf.h +++ b/testhal/STM32/STM32L4xx/IRQ_STORM/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/PAL/cfg/stm32f051_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f051_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/PAL/cfg/stm32f103_olimex/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f103_olimex/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/PAL/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/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/PAL/cfg/stm32f373_eval/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f373_eval/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/PAL/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/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/PAL/cfg/stm32f429_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32f429_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/PAL/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/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. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l053_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/PAL/cfg/stm32l151_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l151_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/PAL/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h index 1e19174b3..0fa8e3ca4 100644 --- a/testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h +++ b/testhal/STM32/multi/PAL/cfg/stm32l476_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/QSPI-MFS/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h index cfeaf5921..61af27195 100644 --- a/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h +++ b/testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_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/SPI/cfg/stm32f091_nucleo64/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h +++ b/testhal/STM32/multi/SPI/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/SPI/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h +++ b/testhal/STM32/multi/SPI/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/SPI/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h +++ b/testhal/STM32/multi/SPI/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/SPI/cfg/stm32h743_nucleo144/halconf.h b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h index b997ebf5d..48608a2f1 100644 --- a/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h +++ b/testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/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/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. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h +++ b/testhal/STM32/multi/USB_CDC/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/USB_CDC/cfg/stm32f407_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h +++ b/testhal/STM32/multi/USB_CDC/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/USB_CDC/cfg/stm32f746_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h +++ b/testhal/STM32/multi/USB_CDC/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. */
/*===========================================================================*/
diff --git a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h index 0054fd60a..8cfc4cf4e 100644 --- a/testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h +++ b/testhal/STM32/multi/USB_CDC/cfg/stm32l476_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. */
/*===========================================================================*/
|