mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
All OK, now I need to make proper protocol
This commit is contained in:
@@ -30,9 +30,10 @@
|
||||
//#define USB_EP0_BASEADDR 64
|
||||
// for USB FS EP0 buffers are from 8 to 64 bytes long
|
||||
// For STM32F303CBT6 ACCESSZ=2, so real available buffers size for all EPs = only 192 bytes (128 - EP0)
|
||||
#define USB_EP0_BUFSZ 64
|
||||
// USB transmit/receive buffer size
|
||||
#define USB_TRBUFSZ 4
|
||||
#define USB_EP0_BUFSZ 16
|
||||
// USB transmit/receive buffer size; RXBUFSZ>=8 !!!
|
||||
#define USB_RXBUFSZ 14
|
||||
#define USB_TXBUFSZ 8
|
||||
// EP1 - interrupt - buffer size
|
||||
#define USB_EP1BUFSZ 8
|
||||
|
||||
|
||||
Reference in New Issue
Block a user