From 8fb58612a01430dd796de9bb3705e5f8380da747 Mon Sep 17 00:00:00 2001 From: Zachary Eveland Date: Fri, 23 Nov 2012 16:09:32 -0500 Subject: Caterina changes to support Micro. includes newly rebuilt version of the bootloader merged with Blink produced using 1.0.2 --- bootloaders/caterina/Caterina.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'bootloaders/caterina/Caterina.h') diff --git a/bootloaders/caterina/Caterina.h b/bootloaders/caterina/Caterina.h index f8251d4..5ce80fa 100755 --- a/bootloaders/caterina/Caterina.h +++ b/bootloaders/caterina/Caterina.h @@ -69,10 +69,17 @@ #define L_LED_OFF() PORTC &= ~(1<<7) #define L_LED_ON() PORTC |= (1<<7) #define L_LED_TOGGLE() PORTC ^= (1<<7) - #define TX_LED_OFF() PORTD |= (1<<5) - #define TX_LED_ON() PORTD &= ~(1<<5) - #define RX_LED_OFF() PORTB |= (1<<0) - #define RX_LED_ON() PORTB &= ~(1<<0) + #if DEVICE_PID == 0x0037 // polarity of the RX and TX LEDs is reversed on the Micro + #define TX_LED_OFF() PORTD &= ~(1<<5) + #define TX_LED_ON() PORTD |= (1<<5) + #define RX_LED_OFF() PORTB &= ~(1<<0) + #define RX_LED_ON() PORTB |= (1<<0) + #else + #define TX_LED_OFF() PORTD |= (1<<5) + #define TX_LED_ON() PORTD &= ~(1<<5) + #define RX_LED_OFF() PORTB |= (1<<0) + #define RX_LED_ON() PORTB &= ~(1<<0) + #endif /* Type Defines: */ /** Type define for a non-returning pointer to the start of the loaded application in flash memory. */ -- cgit v1.2.3-18-g5258 From 1668039101ddee651f9b8e9b763134e0a5aebf59 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Fri, 7 Dec 2012 18:11:07 +0100 Subject: Added support for Arduino Esplora --- bootloaders/caterina/Caterina.h | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100755 => 100644 bootloaders/caterina/Caterina.h (limited to 'bootloaders/caterina/Caterina.h') diff --git a/bootloaders/caterina/Caterina.h b/bootloaders/caterina/Caterina.h old mode 100755 new mode 100644 -- cgit v1.2.3-18-g5258