From ebdeabfd1d8cac8a5c8cbf214faf1b2d67c6fe73 Mon Sep 17 00:00:00 2001 From: Cristian Maglie Date: Wed, 26 Aug 2015 16:06:13 +0200 Subject: Added support to Genuino boards (drivers, boards.txt entries, bootloaders) --- boards.txt | 35 ++++++++++++++++++++++++++++++----- 1 file changed, 30 insertions(+), 5 deletions(-) (limited to 'boards.txt') diff --git a/boards.txt b/boards.txt index 65df589..7b55a6d 100644 --- a/boards.txt +++ b/boards.txt @@ -46,7 +46,7 @@ yun.build.extra_flags={build.usb_flags} ############################################################## -uno.name=Arduino Uno +uno.name=Arduino/Genuino Uno uno.vid.0=0x2341 uno.pid.0=0x0043 @@ -54,6 +54,8 @@ uno.vid.1=0x2341 uno.pid.1=0x0001 uno.vid.2=0x2A03 uno.pid.2=0x0043 +uno.vid.3=0x2341 +uno.pid.3=0x0243 uno.upload.tool=avrdude uno.upload.protocol=arduino @@ -168,7 +170,7 @@ nano.menu.cpu.atmega168.build.mcu=atmega168 ############################################################## -mega.name=Arduino Mega or Mega 2560 +mega.name=Arduino/Genuino Mega or Mega 2560 mega.vid.0=0x2341 mega.pid.0=0x0010 @@ -178,6 +180,10 @@ mega.vid.2=0x2A03 mega.pid.2=0x0010 mega.vid.3=0x2A03 mega.pid.3=0x0042 +mega.vid.4=0x2341 +mega.pid.4=0x0210 +mega.vid.5=0x2341 +mega.pid.5=0x0242 mega.upload.tool=avrdude mega.upload.maximum_data_size=8192 @@ -190,10 +196,10 @@ mega.bootloader.lock_bits=0x0F mega.build.f_cpu=16000000L mega.build.core=arduino mega.build.variant=mega -# default board may be overridden by the cpu menu +# default board may be overridden by the cpu menu mega.build.board=AVR_MEGA2560 -## Arduino Mega w/ ATmega2560 +## Arduino/Genuino Mega w/ ATmega2560 ## ------------------------- mega.menu.cpu.atmega2560=ATmega2560 (Mega 2560) @@ -297,7 +303,8 @@ leonardo.build.extra_flags={build.usb_flags} ############################################################## -micro.name=Arduino Micro +micro.name=Arduino/Genuino Micro + micro.vid.0=0x2341 micro.pid.0=0x0037 micro.vid.1=0x2341 @@ -307,6 +314,24 @@ micro.pid.2=0x0037 micro.vid.3=0x2A03 micro.pid.3=0x8037 +micro.vid.4=0x2341 +micro.pid.4=0x0237 +# If the board is a 2341:0237 use 2341:8237 for build and set +# other parameters as well +micro.vid.4.build.vid=0x2341 +micro.vid.4.build.pid=0x8237 +micro.vid.4.build.usb_product="Genuino Micro" +micro.vid.4.bootloader.file=caterina/Caterina-Genuino-Micro.hex + +micro.vid.5=0x2341 +micro.pid.5=0x8237 +# If the board is a 2341:8237 use 2341:8237 for build and set +# other paramters as well +micro.vid.5.build.vid=0x2341 +micro.vid.5.build.pid=0x8237 +micro.vid.5.build.usb_product="Genuino Micro" +micro.vid.5.bootloader.file=caterina/Caterina-Genuino-Micro.hex + micro.upload.tool=avrdude micro.upload.protocol=avr109 micro.upload.maximum_size=28672 -- cgit v1.2.3-18-g5258