From acc20676276dd3a59c2f71da87cc8029b9f2a241 Mon Sep 17 00:00:00 2001 From: Federico Fissore Date: Mon, 30 Sep 2013 10:07:03 +0200 Subject: Added yun variant with LED_BUILTIN definition. Closes #1585 --- boards.txt | 2 +- variants/yun/pins_arduino.h | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 variants/yun/pins_arduino.h diff --git a/boards.txt b/boards.txt index 9c8f558..2181292 100644 --- a/boards.txt +++ b/boards.txt @@ -35,7 +35,7 @@ yun.build.pid=0x8041 yun.build.usb_product="Arduino Yun" yun.build.board=AVR_YUN yun.build.core=arduino -yun.build.variant=leonardo +yun.build.variant=yun yun.build.extra_flags={build.usb_flags} ############################################################## diff --git a/variants/yun/pins_arduino.h b/variants/yun/pins_arduino.h new file mode 100644 index 0000000..43912e7 --- /dev/null +++ b/variants/yun/pins_arduino.h @@ -0,0 +1,27 @@ +/* + pins_arduino.h - Pin definition functions for Arduino + Part of Arduino - http://www.arduino.cc/ + + Copyright (c) 2013 Arduino LLC + + 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" + +#define LED_BUILTIN 13 -- cgit v1.2.3-18-g5258