From 5806f29b87e6d94957c907de200e6cdbe49aea78 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sat, 17 Mar 2018 09:03:27 +0000 Subject: New halconf.h template. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11788 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- testhal/STM32/multi/PAL/cfg/stm32f051_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f103_olimex/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f303_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f373_eval/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f407_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f429_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32f746_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32l053_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32l151_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/PAL/cfg/stm32l476_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/QSPI-MFS/cfg/stm32l476_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64/halconf.h | 7 +++++++ testhal/STM32/multi/SPI/cfg/stm32f303_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/SPI/cfg/stm32f407_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/SPI/cfg/stm32h743_nucleo144/halconf.h | 7 +++++++ testhal/STM32/multi/UART/cfg/stm32f091_nucleo64/halconf.h | 7 +++++++ testhal/STM32/multi/UART/cfg/stm32f303_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/UART/cfg/stm32f407_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/UART/cfg/stm32f746_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/USB_CDC/cfg/stm32f303_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/USB_CDC/cfg/stm32f407_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/USB_CDC/cfg/stm32f746_discovery/halconf.h | 7 +++++++ testhal/STM32/multi/USB_CDC/cfg/stm32l476_discovery/halconf.h | 7 +++++++ 23 files changed, 161 insertions(+) (limited to 'testhal/STM32/multi') 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. */ /*===========================================================================*/ -- cgit v1.2.3