diff --git a/app/src/processing/app/debug/TargetPlatform.java b/app/src/processing/app/debug/TargetPlatform.java index ca5d4aac6..9fcc51d43 100644 --- a/app/src/processing/app/debug/TargetPlatform.java +++ b/app/src/processing/app/debug/TargetPlatform.java @@ -45,6 +45,7 @@ public class TargetPlatform { name = _name; folder = _folder; boards = new HashMap(); + boardsOrder = new ArrayList(); programmers = new HashMap(); preferences = new PreferencesMap(); diff --git a/hardware/arduino/sam/variants/arduino_due_x/variant.h b/hardware/arduino/sam/variants/arduino_due_x/variant.h index e7d720ff2..8ac0fd30f 100644 --- a/hardware/arduino/sam/variants/arduino_due_x/variant.h +++ b/hardware/arduino/sam/variants/arduino_due_x/variant.h @@ -119,13 +119,13 @@ static const uint8_t SCK = PIN_SPI_SCK ; #define PIN_WIRE_SCL (21u) #define WIRE_INTERFACE TWI1 #define WIRE_INTERFACE_ID ID_TWI1 -#define WIRE_ISR_HANDLER TWI1_IrqHandler +#define WIRE_ISR_HANDLER TWI1_Handler #define PIN_WIRE1_SDA (70u) #define PIN_WIRE1_SCL (71u) #define WIRE1_INTERFACE TWI0 #define WIRE1_INTERFACE_ID ID_TWI0 -#define WIRE1_ISR_HANDLER TWI0_IrqHandler +#define WIRE1_ISR_HANDLER TWI0_Handler /* * UART/USART Interfaces