aboutsummaryrefslogtreecommitdiff
path: root/variants
diff options
context:
space:
mode:
Diffstat (limited to 'variants')
-rw-r--r--variants/leonardo/pins_arduino.h2
-rw-r--r--variants/micro/pins_arduino.h27
2 files changed, 29 insertions, 0 deletions
diff --git a/variants/leonardo/pins_arduino.h b/variants/leonardo/pins_arduino.h
index 79826f0..6fc3ea9 100644
--- a/variants/leonardo/pins_arduino.h
+++ b/variants/leonardo/pins_arduino.h
@@ -27,6 +27,8 @@
#include <avr/pgmspace.h>
+#define ARDUINO_MODEL_USB_PID 0x0034
+
// Map SPI port to 'new' pins D14..D17
// D14 PB0 RXLED,SS/PCINT0
// D15 PB1 SCK,PCINT1
diff --git a/variants/micro/pins_arduino.h b/variants/micro/pins_arduino.h
new file mode 100644
index 0000000..c9f25eb
--- /dev/null
+++ b/variants/micro/pins_arduino.h
@@ -0,0 +1,27 @@
+/*
+ pins_arduino.h - Pin definition functions for Arduino
+ Part of Arduino - http://www.arduino.cc/
+
+ Copyright (c) 2007 David A. Mellis
+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+
+ You should have received a copy of the GNU Lesser General
+ Public License along with this library; if not, write to the
+ Free Software Foundation, Inc., 59 Temple Place, Suite 330,
+ Boston, MA 02111-1307 USA
+
+ $Id: wiring.h 249 2007-02-03 16:52:51Z mellis $
+*/
+
+#include "../leonardo/pins_arduino.h"
+#undef ARDUINO_MODEL_USB_PID
+#define ARDUINO_MODEL_USB_PID 0x0035 \ No newline at end of file