Added yun variant with LED_BUILTIN definition. Closes #1585

This commit is contained in:
Federico Fissore 2013-09-30 10:07:03 +02:00
parent 7aea84e42f
commit acc2067627
2 changed files with 28 additions and 1 deletions

View File

@ -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}
##############################################################

View File

@ -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