diff options
Diffstat (limited to 'demos/AVR')
| -rw-r--r-- | demos/AVR/NIL-ARDUINOMEGA/halconf.h | 15 | ||||
| -rw-r--r-- | demos/AVR/RT-ARDUINOMEGA/halconf.h | 15 | 
2 files changed, 30 insertions, 0 deletions
| diff --git a/demos/AVR/NIL-ARDUINOMEGA/halconf.h b/demos/AVR/NIL-ARDUINOMEGA/halconf.h index a428b8b8c..98a9f09f8 100644 --- a/demos/AVR/NIL-ARDUINOMEGA/halconf.h +++ b/demos/AVR/NIL-ARDUINOMEGA/halconf.h @@ -302,6 +302,21 @@  #endif
  /*===========================================================================*/
 +/* SERIAL_USB driver related setting.                                        */
 +/*===========================================================================*/
 +
 +/**
 + * @brief   Serial over USB buffers size.
 + * @details Configuration parameter, the buffer size must be a multiple of
 + *          the USB data endpoint maximum packet size.
 + * @note    The default is 64 bytes for both the transmission and receive
 + *          buffers.
 + */
 +#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
 +#define SERIAL_USB_BUFFERS_SIZE     256
 +#endif
 +
 +/*===========================================================================*/
  /* SPI driver related settings.                                              */
  /*===========================================================================*/
 diff --git a/demos/AVR/RT-ARDUINOMEGA/halconf.h b/demos/AVR/RT-ARDUINOMEGA/halconf.h index a428b8b8c..98a9f09f8 100644 --- a/demos/AVR/RT-ARDUINOMEGA/halconf.h +++ b/demos/AVR/RT-ARDUINOMEGA/halconf.h @@ -302,6 +302,21 @@  #endif
  /*===========================================================================*/
 +/* SERIAL_USB driver related setting.                                        */
 +/*===========================================================================*/
 +
 +/**
 + * @brief   Serial over USB buffers size.
 + * @details Configuration parameter, the buffer size must be a multiple of
 + *          the USB data endpoint maximum packet size.
 + * @note    The default is 64 bytes for both the transmission and receive
 + *          buffers.
 + */
 +#if !defined(SERIAL_USB_BUFFERS_SIZE) || defined(__DOXYGEN__)
 +#define SERIAL_USB_BUFFERS_SIZE     256
 +#endif
 +
 +/*===========================================================================*/
  /* SPI driver related settings.                                              */
  /*===========================================================================*/
 | 
