Index: rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/boards.txt
===================================================================
--- rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/boards.txt	(revision 136)
+++ rtos_arduino/trunk/arduino_lib/hardware/arduino/samd/boards.txt	(revision 224)
@@ -1,95 +1,132 @@
+######################################################
 #ARDUINO M0 PRO (WITH) BOOTLOADER - PROGRAMMING PORT
-arduino_zero_pro_bl_dbg.name=Arduino M0 Pro (Programming Port)
-arduino_zero_pro_bl_dbg.vid.0=0x03eb
-arduino_zero_pro_bl_dbg.pid.0=0x2111
-arduino_zero_pro_bl_dbg.upload.tool=openocd
-arduino_zero_pro_bl_dbg.upload.protocol=sam-ba
-arduino_zero_pro_bl_dbg.upload.maximum_size=262144
-arduino_zero_pro_bl_dbg.upload.use_1200bps_touch=false
-arduino_zero_pro_bl_dbg.upload.wait_for_upload_port=false
-arduino_zero_pro_bl_dbg.upload.native_usb=false
-arduino_zero_pro_bl_dbg.build.mcu=cortex-m0plus
-arduino_zero_pro_bl_dbg.build.f_cpu=48000000L
-arduino_zero_pro_bl_dbg.build.usb_product="Arduino M0 Pro"
-arduino_zero_pro_bl_dbg.build.board=SAM_ZERO
-arduino_zero_pro_bl_dbg.build.core=arduino
-arduino_zero_pro_bl_dbg.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
-arduino_zero_pro_bl_dbg.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
-arduino_zero_pro_bl_dbg.build.openocdscript=openocd_scripts/arduino_zero.cfg
-arduino_zero_pro_bl_dbg.build.variant=arduino_zero
-arduino_zero_pro_bl_dbg.build.variant_system_lib=
-arduino_zero_pro_bl_dbg.build.vid=0x2a03
-arduino_zero_pro_bl_dbg.build.pid=0x804f
-arduino_zero_pro_bl_dbg.build.section.start=0x4000
+mzero_pro_bl_dbg.name=Arduino M0 Pro (Programming Port)
+mzero_pro_bl_dbg.vid.0=0x03eb
+mzero_pro_bl_dbg.pid.0=0x2111
+mzero_pro_bl_dbg.upload.tool=openocd
+mzero_pro_bl_dbg.upload.protocol=sam-ba
+mzero_pro_bl_dbg.upload.maximum_size=262144
+mzero_pro_bl_dbg.upload.use_1200bps_touch=false
+mzero_pro_bl_dbg.upload.wait_for_upload_port=false
+mzero_pro_bl_dbg.upload.native_usb=false
+mzero_pro_bl_dbg.build.mcu=cortex-m0plus
+mzero_pro_bl_dbg.build.f_cpu=48000000L
+mzero_pro_bl_dbg.build.usb_product="Arduino M0 Pro"
+mzero_pro_bl_dbg.build.board=SAM_ZERO
+mzero_pro_bl_dbg.build.core=arduino
+mzero_pro_bl_dbg.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
+mzero_pro_bl_dbg.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
+mzero_pro_bl_dbg.build.openocdscript=openocd_scripts/arduino_zero.cfg
+mzero_pro_bl_dbg.build.variant=arduino_zero
+mzero_pro_bl_dbg.build.variant_system_lib=
+mzero_pro_bl_dbg.build.vid=0x2a03
+mzero_pro_bl_dbg.build.pid=0x804f
+mzero_pro_bl_dbg.build.section.start=0x4000
 
-arduino_zero_pro_bl_dbg.bootloader.tool=openocd
-arduino_zero_pro_bl_dbg.bootloader.cmd_unprotect=at91samd bootloader 0
-arduino_zero_pro_bl_dbg.bootloader.cmd_protect=at91samd bootloader 16384
-arduino_zero_pro_bl_dbg.bootloader.cmd_protect_verify=at91samd bootloader
-arduino_zero_pro_bl_dbg.bootloader.file=zero/Bootloader_D21_M0_Pro_150427.hex
+mzero_pro_bl_dbg.bootloader.tool=openocd
+mzero_pro_bl_dbg.bootloader.cmd_unprotect=at91samd bootloader 0
+mzero_pro_bl_dbg.bootloader.cmd_protect=at91samd bootloader 16384
+mzero_pro_bl_dbg.bootloader.cmd_protect_verify=at91samd bootloader
+mzero_pro_bl_dbg.bootloader.file=zero/Bootloader_D21_M0_Pro_150427.hex
 
+######################################################
 #ARDUINO M0 PRO (WITH) BOOTLOADER - NATIVE PORT
-arduino_zero_pro_bl.name=Arduino M0 Pro (Native USB Port)
-arduino_zero_pro_bl.vid.0=0x2a03
-arduino_zero_pro_bl.pid.0=0x004d
-arduino_zero_pro_bl.vid.1=0x2a03
-arduino_zero_pro_bl.pid.1=0x804d
-arduino_zero_pro_bl.vid.2=0x2a03
-arduino_zero_pro_bl.pid.2=0x004f
-arduino_zero_pro_bl.vid.3=0x2a03
-arduino_zero_pro_bl.pid.3=0x804f
-arduino_zero_pro_bl.upload.tool=avrdude
-arduino_zero_pro_bl.upload.protocol=stk500v2
-arduino_zero_pro_bl.upload.maximum_size=262144
-arduino_zero_pro_bl.upload.use_1200bps_touch=true
-arduino_zero_pro_bl.upload.wait_for_upload_port=true
-arduino_zero_pro_bl.upload.native_usb=true
-arduino_zero_pro_bl.upload.speed=57600
-arduino_zero_pro_bl.build.mcu=cortex-m0plus
-arduino_zero_pro_bl.build.f_cpu=48000000L
-arduino_zero_pro_bl.build.usb_product="Arduino M0 Pro"
-arduino_zero_pro_bl.build.board=SAM_ZERO
-arduino_zero_pro_bl.build.core=arduino
-arduino_zero_pro_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
-arduino_zero_pro_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
-arduino_zero_pro_bl.build.variant=arduino_zero
-arduino_zero_pro_bl.build.variant_system_lib=
-arduino_zero_pro_bl.build.vid=0x2a03
-arduino_zero_pro_bl.build.pid=0x804f
-arduino_zero_pro_bl.build.section.start=0x4000
-arduino_zero_pro_bl.build.emu.mcu=atmega2560
-arduino_zero_pro_bl.bootloader.tool=avrdude
-arduino_zero_pro_bl.bootloader.low_fuses=0xff
+mzero_pro_bl.name=Arduino M0 Pro (Native USB Port)
+mzero_pro_bl.vid.0=0x2a03
+mzero_pro_bl.pid.0=0x004d
+mzero_pro_bl.vid.1=0x2a03
+mzero_pro_bl.pid.1=0x804d
+mzero_pro_bl.vid.2=0x2a03
+mzero_pro_bl.pid.2=0x004f
+mzero_pro_bl.vid.3=0x2a03
+mzero_pro_bl.pid.3=0x804f
+mzero_pro_bl.upload.tool=avrdude
+mzero_pro_bl.upload.protocol=stk500v2
+mzero_pro_bl.upload.maximum_size=262144
+mzero_pro_bl.upload.use_1200bps_touch=true
+mzero_pro_bl.upload.wait_for_upload_port=true
+mzero_pro_bl.upload.native_usb=true
+mzero_pro_bl.upload.speed=57600
+mzero_pro_bl.build.mcu=cortex-m0plus
+mzero_pro_bl.build.f_cpu=48000000L
+mzero_pro_bl.build.usb_product="Arduino M0 Pro"
+mzero_pro_bl.build.board=SAM_ZERO
+mzero_pro_bl.build.core=arduino
+mzero_pro_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
+mzero_pro_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
+mzero_pro_bl.build.variant=arduino_zero
+mzero_pro_bl.build.variant_system_lib=
+mzero_pro_bl.build.vid=0x2a03
+mzero_pro_bl.build.pid=0x804f
+mzero_pro_bl.build.section.start=0x4000
+mzero_pro_bl.build.emu.mcu=atmega2560
+mzero_pro_bl.bootloader.tool=avrdude
+mzero_pro_bl.bootloader.low_fuses=0xff
 
+######################################################
 #ARDUINO M0 (WITH) BOOTLOADER
-arduino_zero_bl.name=Arduino M0
-arduino_zero_bl.vid.0=0x2a03
-arduino_zero_bl.pid.0=0x004d
-arduino_zero_bl.vid.1=0x2a03
-arduino_zero_bl.pid.1=0x804d
-arduino_zero_bl.vid.2=0x2a03
-arduino_zero_bl.pid.2=0x004e
-arduino_zero_bl.vid.3=0x2a03
-arduino_zero_bl.pid.3=0x804e
-arduino_zero_bl.upload.tool=avrdude
-arduino_zero_bl.upload.protocol=stk500v2
-arduino_zero_bl.upload.maximum_size=262144
-arduino_zero_bl.upload.use_1200bps_touch=true
-arduino_zero_bl.upload.wait_for_upload_port=true
-arduino_zero_bl.upload.native_usb=true
-arduino_zero_bl.upload.speed=57600
-arduino_zero_bl.build.mcu=cortex-m0plus
-arduino_zero_bl.build.f_cpu=48000000L
-arduino_zero_bl.build.usb_product="Arduino M0"
-arduino_zero_bl.build.board=SAM_ZERO
-arduino_zero_bl.build.core=arduino
-arduino_zero_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
-arduino_zero_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
-arduino_zero_bl.build.variant=arduino_zero
-arduino_zero_bl.build.variant_system_lib=
-arduino_zero_bl.build.vid=0x2a03
-arduino_zero_bl.build.pid=0x804e
-arduino_zero_bl.build.section.start=0x4000
-arduino_zero_bl.build.emu.mcu=atmega2560
-arduino_zero_bl.bootloader.tool=avrdude
-arduino_zero_bl.bootloader.low_fuses=0xff
+mzero_bl.name=Arduino M0
+mzero_bl.vid.0=0x2a03
+mzero_bl.pid.0=0x004d
+mzero_bl.vid.1=0x2a03
+mzero_bl.pid.1=0x804d
+mzero_bl.vid.2=0x2a03
+mzero_bl.pid.2=0x004e
+mzero_bl.vid.3=0x2a03
+mzero_bl.pid.3=0x804e
+mzero_bl.upload.tool=avrdude
+mzero_bl.upload.protocol=stk500v2
+mzero_bl.upload.maximum_size=262144
+mzero_bl.upload.use_1200bps_touch=true
+mzero_bl.upload.wait_for_upload_port=true
+mzero_bl.upload.native_usb=true
+mzero_bl.upload.speed=57600
+mzero_bl.build.mcu=cortex-m0plus
+mzero_bl.build.f_cpu=48000000L
+mzero_bl.build.usb_product="Arduino M0"
+mzero_bl.build.board=SAM_ZERO
+mzero_bl.build.core=arduino
+mzero_bl.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
+mzero_bl.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
+mzero_bl.build.variant=arduino_zero
+mzero_bl.build.variant_system_lib=
+mzero_bl.build.vid=0x2a03
+mzero_bl.build.pid=0x804e
+mzero_bl.build.section.start=0x4000
+mzero_bl.build.emu.mcu=atmega2560
+mzero_bl.bootloader.tool=avrdude
+mzero_bl.bootloader.low_fuses=0xff
+
+######################################################
+#ARDUINO TIAN (WITH) BOOTLOADER
+
+tian.name=Arduino Tian
+tian.upload.via_ssh=true
+tian.vid.0=0x10C4
+tian.pid.0=0xEA70
+
+tian.upload.tool=avrdude
+#tian.upload.protocol=stk500v2
+tian.upload.protocol=wiring
+tian.upload.maximum_size=262144
+tian.upload.use_1200bps_touch=true
+tian.upload.wait_for_upload_port=true
+tian.upload.native_usb=true
+tian.upload.speed=57600
+tian.build.mcu=cortex-m0plus
+tian.build.f_cpu=48000000L
+tian.build.usb_product="Arduino Tian"
+tian.build.board=SAMD_TIAN
+tian.build.core=arduino
+tian.build.extra_flags=-D__SAMD21G18A__ -mthumb {build.usb_flags}
+tian.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
+tian.build.variant=arduino_zero
+tian.build.variant_system_lib=
+tian.build.vid=0x2a03
+tian.build.pid=0x8052
+tian.build.section.start=0x4000
+tian.build.emu.mcu=atmega2560
+tian.bootloader.tool=avrdude
+tian.bootloader.low_fuses=0xff
+tian.bootloader.file=sofia/Sofia_Tian_151118.hex
+tian.drivers=SiliconLabs-CP2105/Silicon Labs VCP Driver.pkg
