Compare commits

...

3 Commits

2 changed files with 7 additions and 7 deletions

View File

@ -1,9 +1,9 @@
MCU = at90usb1287
MCU = atmega32u2
ARCH = AVR8
BOARD = USER
F_CPU = 8000000
F_USB = 8000000
OPTIMIZATION = 3
BOARD = MINIMUS
F_CPU = 16000000
F_USB = 16000000
OPTIMIZATION = s
TARGET = main
LUFA_PATH = lufa/LUFA
CC_FLAGS = -DUSE_LUFA_CONFIG_HEADER -Iconfig/ -Wall

4
ftdi.h
View File

@ -9,11 +9,11 @@
/* FTDI device-to-host data IN endpoint */
#define FTDI_TX_EPADDR (ENDPOINT_DIR_IN | 1)
#define FTDI_TX_QUEUE_LEN 256
#define FTDI_TX_QUEUE_LEN 32
/* Endpoint address of FTDI host-to-device data OUT endpoint */
#define FTDI_RX_EPADDR (ENDPOINT_DIR_OUT | 2)
#define FTDI_RX_QUEUE_LEN 256 /* Must be at least FTDI_TXRX_EPSIZE + 1 */
#define FTDI_RX_QUEUE_LEN 32 /* Must be at least FTDI_TXRX_EPSIZE + 1 */
/* Endpoint size */
#define FTDI_TXRX_EPSIZE 16 /* e.g. 16 or 64 */