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/ATSAMA5D2/FLEX-SPI/halconf.h | 7 +++++++ testhal/ATSAMA5D2/MATRIX/halconf.h | 7 +++++++ testhal/ATSAMA5D2/RTC/halconf.h | 7 +++++++ testhal/ATSAMA5D2/SDMMC/halconf.h | 7 +++++++ testhal/ATSAMA5D2/SECUMOD/halconf.h | 7 +++++++ testhal/ATSAMA5D2/SERIAL/halconf.h | 7 +++++++ testhal/ATSAMA5D2/SPI/halconf.h | 7 +++++++ testhal/ATSAMA5D2/TC/halconf.h | 7 +++++++ testhal/ATSAMA5D2/UART/halconf.h | 7 +++++++ 9 files changed, 63 insertions(+) (limited to 'testhal/ATSAMA5D2') 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. */ /*===========================================================================*/ -- cgit v1.2.3