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 /demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery | |
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 'demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery')
-rw-r--r-- | demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h b/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h index 852e8a79e..c0dae0b32 100644 --- a/demos/STM32/RT-STM32-LWIP-FATFS-USB/cfg-stm32f746_discovery/halconf.h +++ b/demos/STM32/RT-STM32-LWIP-FATFS-USB/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. */
/*===========================================================================*/
|