Change MCU setting to ATmega32U2

daktil_thumb_popravljen
tmk 2014-04-25 15:25:21 +09:00
parent 2db27ecedd
commit 62117e7ea7
2 changed files with 4 additions and 1 deletions

View File

@ -20,9 +20,10 @@ CONFIG_H = config.h
# MCU name, you MUST set this to match the board you are using # MCU name, you MUST set this to match the board you are using
# type "make clean" after changing this, so all files will be rebuilt # type "make clean" after changing this, so all files will be rebuilt
#MCU = at90usb162 # Teensy 1.0 #MCU = at90usb162 # Teensy 1.0
MCU = atmega32u4 # Teensy 2.0 #MCU = atmega32u4 # Teensy 2.0
#MCU = at90usb646 # Teensy++ 1.0 #MCU = at90usb646 # Teensy++ 1.0
#MCU = at90usb1286 # Teensy++ 2.0 #MCU = at90usb1286 # Teensy++ 2.0
MCU = atmega32u2
# Processor frequency. # Processor frequency.

View File

@ -63,6 +63,8 @@ uint8_t matrix_cols(void)
void matrix_init(void) void matrix_init(void)
{ {
DDRD |= (1<<6);
PORTD |= (1<<6);
debug_enable = true; debug_enable = true;
serial_init(); serial_init();