From 1671d6b7e129ffbee917c2839f428d6f37206def Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Thu, 31 Dec 2015 11:25:02 +0000 Subject: Mass update of halconf.h, added USB settings. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8663 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- demos/AVR/NIL-ARDUINOMEGA/halconf.h | 12 ++++++++++++ demos/AVR/NIL-ARDUINOUNO/halconf.h | 12 ++++++++++++ demos/AVR/RT-ARDUINOMEGA/halconf.h | 12 ++++++++++++ demos/AVR/RT-ARDUINOUNO/halconf.h | 12 ++++++++++++ 4 files changed, 48 insertions(+) (limited to 'demos/AVR') diff --git a/demos/AVR/NIL-ARDUINOMEGA/halconf.h b/demos/AVR/NIL-ARDUINOMEGA/halconf.h index a4b11e3a7..e67aee084 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/halconf.h +++ b/demos/AVR/NIL-ARDUINOMEGA/halconf.h @@ -363,6 +363,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE #endif +/*===========================================================================*/ +/* USB driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) +#define USB_USE_WAIT FALSE +#endif + #endif /* _HALCONF_H_ */ /** @} */ diff --git a/demos/AVR/NIL-ARDUINOUNO/halconf.h b/demos/AVR/NIL-ARDUINOUNO/halconf.h index a4b11e3a7..e67aee084 100644 --- a/demos/AVR/NIL-ARDUINOUNO/halconf.h +++ b/demos/AVR/NIL-ARDUINOUNO/halconf.h @@ -363,6 +363,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE #endif +/*===========================================================================*/ +/* USB driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) +#define USB_USE_WAIT FALSE +#endif + #endif /* _HALCONF_H_ */ /** @} */ diff --git a/demos/AVR/RT-ARDUINOMEGA/halconf.h b/demos/AVR/RT-ARDUINOMEGA/halconf.h index a4b11e3a7..e67aee084 100644 --- a/demos/AVR/RT-ARDUINOMEGA/halconf.h +++ b/demos/AVR/RT-ARDUINOMEGA/halconf.h @@ -363,6 +363,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE #endif +/*===========================================================================*/ +/* USB driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) +#define USB_USE_WAIT FALSE +#endif + #endif /* _HALCONF_H_ */ /** @} */ diff --git a/demos/AVR/RT-ARDUINOUNO/halconf.h b/demos/AVR/RT-ARDUINOUNO/halconf.h index a4b11e3a7..e67aee084 100644 --- a/demos/AVR/RT-ARDUINOUNO/halconf.h +++ b/demos/AVR/RT-ARDUINOUNO/halconf.h @@ -363,6 +363,18 @@ #define UART_USE_MUTUAL_EXCLUSION FALSE #endif +/*===========================================================================*/ +/* USB driver related settings. */ +/*===========================================================================*/ + +/** + * @brief Enables synchronous APIs. + * @note Disabling this option saves both code and data space. + */ +#if !defined(USB_USE_WAIT) || defined(__DOXYGEN__) +#define USB_USE_WAIT FALSE +#endif + #endif /* _HALCONF_H_ */ /** @} */ -- cgit v1.2.3