STM32CubeMX USB CDC memory wastage for FS USB
Posted on July 14, 2015 at 06:16When creating USB CDC code for devices with a USB FS port, 448 bytes are wasted. The USBD_CDC_HandleTypeDef structure in usbd_cdc.h uses CDC_DATA_HS_MAX_PACKET_SIZE to create data buffer. This is defined as 512 bytes(...