From 658a615105731f99b1f731933c773c6267454084 Mon Sep 17 00:00:00 2001 From: Nurrl Date: Sat, 20 Jan 2018 20:57:10 +0100 Subject: [PATCH 1/3] Added support for HobbyTronic's UNO*Pro upgrade. --- UsbCore.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/UsbCore.h b/UsbCore.h index dc0cffd7..11b60749 100644 --- a/UsbCore.h +++ b/UsbCore.h @@ -43,6 +43,8 @@ typedef MAX3421e MAX3421E; // The Intel Galileo supports much faster rea typedef MAX3421e MAX3421E; // ESP8266 boards #elif defined(ESP32) typedef MAX3421e MAX3421E; // ESP32 boards +#elif defined(ARDUINO_AVR_UNO_PRO) +typedef MAX3421e MAX3421E; // UNO*Pro Upgrade for Arduino UNO #else typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.x #endif From 71c7bd49a2297d18fc5a30451117600548670066 Mon Sep 17 00:00:00 2001 From: Nurrl Date: Sat, 20 Jan 2018 21:21:23 +0100 Subject: [PATCH 2/3] Reverting last fix. --- UsbCore.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/UsbCore.h b/UsbCore.h index 11b60749..dc0cffd7 100644 --- a/UsbCore.h +++ b/UsbCore.h @@ -43,8 +43,6 @@ typedef MAX3421e MAX3421E; // The Intel Galileo supports much faster rea typedef MAX3421e MAX3421E; // ESP8266 boards #elif defined(ESP32) typedef MAX3421e MAX3421E; // ESP32 boards -#elif defined(ARDUINO_AVR_UNO_PRO) -typedef MAX3421e MAX3421E; // UNO*Pro Upgrade for Arduino UNO #else typedef MAX3421e MAX3421E; // Official Arduinos (UNO, Duemilanove, Mega, 2560, Leonardo, Due etc.), Intel Edison, Intel Galileo 2 or Teensy 2.0 and 3.x #endif From e4b5dc8bedd2fba914c01adbf01821636b537109 Mon Sep 17 00:00:00 2001 From: Nurrl Date: Sat, 20 Jan 2018 21:24:14 +0100 Subject: [PATCH 3/3] Added pin definition for UNO*Pro. --- avrpins.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/avrpins.h b/avrpins.h index ec4ae672..b58145b7 100644 --- a/avrpins.h +++ b/avrpins.h @@ -720,6 +720,44 @@ public: #define P31 Pa7 /* 31 - PA7 */ // Balanduino +#elif defined(ARDUINO_AVR_UNO_PRO) && defined(__AVR_ATmega1284P__) +// UNO*Pro pin numbers +// Homepage: http://www.hobbytronics.co.uk/arduino-uno-pro +// Pin Reference: http://www.hobbytronics.co.uk/download/uno_pro/pins_arduino.h +#define P0 Pd0 +#define P1 Pd1 +#define P2 Pb2 +#define P3 Pb3 +#define P4 Pb0 +#define P5 Pb1 +#define P6 Pd2 +#define P7 Pd3 +#define P8 Pd5 +#define P9 Pd6 +#define P10 Pb4 +#define P11 Pb5 +#define P12 Pb6 +#define P13 Pb7 +#define P14 Pa7 +#define P15 Pa6 +#define P16 Pa5 +#define P17 Pa4 +#define P18 Pa3 +#define P19 Pa2 +#define P20 Pa1 +#define P21 Pa0 +#define P22 Pc0 +#define P23 Pc1 +#define P24 Pc2 +#define P25 Pc3 +#define P26 Pc4 +#define P27 Pc5 +#define P28 Pc6 +#define P29 Pc7 +#define P30 Pd4 +#define P31 Pd7 +// UNO*Pro + #elif defined(__AVR_ATmega644__) || defined(__AVR_ATmega644P__) || defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__) // Sanguino pin numbers // Homepage: http://sanguino.cc/hardware