Skip to content
Snippets Groups Projects
Commit 788e7f50 authored by Damien George's avatar Damien George
Browse files

stm32/usbd_cdc_interface: Make CDC TX/RX buffer sizes configurable.

parent f302f784
No related branches found
No related tags found
No related merge requests found
......@@ -31,8 +31,12 @@
******************************************************************************
*/
#ifndef USBD_CDC_RX_DATA_SIZE
#define USBD_CDC_RX_DATA_SIZE (1024) // this must be 2 or greater, and a power of 2
#endif
#ifndef USBD_CDC_TX_DATA_SIZE
#define USBD_CDC_TX_DATA_SIZE (1024) // I think this can be any value (was 2048)
#endif
// Values for connect_state
#define USBD_CDC_CONNECT_STATE_DISCONNECTED (0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment