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/SPI/cfg/stm32f091_nucleo64/halconf.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'testhal/STM32/multi/SPI/cfg/stm32f091_nucleo64') 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. */ /*===========================================================================*/ -- cgit v1.2.3