mirror of https://github.com/noisymime/Arduino.git
Adding Micro.
This commit is contained in:
parent
7e12aebbdb
commit
ac1c8f921b
|
@ -86,11 +86,12 @@ ServiceBinary=%12%\%DRIVERFILENAME%.sys
|
|||
[SourceDisksFiles]
|
||||
[SourceDisksNames]
|
||||
[DeviceList]
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0035&MI_00
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0037
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
||||
|
||||
[DeviceList.NTamd64]
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0035&MI_00
|
||||
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_0037
|
||||
%DESCRIPTION%=DriverInstall, USB\VID_2341&PID_8037&MI_00
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; String Definitions
|
||||
|
|
|
@ -167,6 +167,27 @@ leonardo.build.variant=leonardo
|
|||
|
||||
##############################################################
|
||||
|
||||
micro.name=Arduino Micro
|
||||
micro.upload.protocol=avr109
|
||||
micro.upload.maximum_size=28672
|
||||
micro.upload.speed=57600
|
||||
micro.upload.disable_flushing=true
|
||||
micro.bootloader.low_fuses=0xff
|
||||
micro.bootloader.high_fuses=0xd8
|
||||
micro.bootloader.extended_fuses=0xcb
|
||||
micro.bootloader.path=caterina
|
||||
micro.bootloader.file=Caterina-Micro.hex
|
||||
micro.bootloader.unlock_bits=0x3F
|
||||
micro.bootloader.lock_bits=0x2F
|
||||
micro.build.mcu=atmega32u4
|
||||
micro.build.f_cpu=16000000L
|
||||
micro.build.vid=0x2341
|
||||
micro.build.pid=0x8037
|
||||
micro.build.core=arduino
|
||||
micro.build.variant=micro
|
||||
|
||||
##############################################################
|
||||
|
||||
mini328.name=Arduino Mini w/ ATmega328
|
||||
|
||||
mini328.upload.protocol=arduino
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -53,6 +53,8 @@ const u16 STRING_IPRODUCT[17] = {
|
|||
(3<<8) | (2+2*16),
|
||||
#if USB_PID == 0x8036
|
||||
'A','r','d','u','i','n','o',' ','L','e','o','n','a','r','d','o'
|
||||
#elif USB_PID == 0x8037
|
||||
'A','r','d','u','i','n','o',' ','M','i','c','r','o',' ',' ',' '
|
||||
#else
|
||||
'U','S','B',' ','I','O',' ','B','o','a','r','d',' ',' ',' ',' '
|
||||
#endif
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
/*
|
||||
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 TXLED0
|
||||
#undef TXLED1
|
||||
#undef RXLED0
|
||||
#undef RXLED1
|
||||
#undef TX_RX_LED_INIT
|
||||
|
||||
#define TXLED0 PORTD &= ~(1<<5)
|
||||
#define TXLED1 PORTD |= (1<<5)
|
||||
#define RXLED0 PORTB &= ~(1<<0)
|
||||
#define RXLED1 PORTB |= (1<<0)
|
||||
#define TX_RX_LED_INIT DDRD |= (1<<5), DDRB |= (1<<0), TXLED0, RXLED0
|
Loading…
Reference in New Issue