Compare commits
3 Commits
master
...
atmega32u2
Author | SHA1 | Date | |
---|---|---|---|
0fca96f022 | |||
75ef884e4f | |||
b9479b95f0 |
10
Makefile
10
Makefile
|
@ -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
4
ftdi.h
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user