All OK, now I need to make proper protocol

This commit is contained in:
Edward Emelianov
2023-04-29 18:43:38 +03:00
parent 7fa84cb0ef
commit 72ef5c9cc6
8 changed files with 60 additions and 65 deletions

View File

@@ -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