Skip to content

Commit e7579eb

Browse files
committed
adds new boards.txt
1 parent d5cda2b commit e7579eb

File tree

2 files changed

+186
-232
lines changed

2 files changed

+186
-232
lines changed

boards.txt

Lines changed: 43 additions & 89 deletions
Original file line numberDiff line numberDiff line change
@@ -1,89 +1,43 @@
1-
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
2-
#
3-
# This library is free software; you can redistribute it and/or
4-
# modify it under the terms of the GNU Lesser General Public
5-
# License as published by the Free Software Foundation; either
6-
# version 2.1 of the License, or (at your option) any later version.
7-
#
8-
# This library is distributed in the hope that it will be useful,
9-
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10-
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11-
# See the GNU Lesser General Public License for more details.
12-
#
13-
# You should have received a copy of the GNU Lesser General Public
14-
# License along with this library; if not, write to the Free Software
15-
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16-
17-
# Arduino/Genuino Zero (Prorgamming Port)
18-
# ---------------------------------------
19-
arduino_zero_edbg.name=Arduino/Genuino Zero (Programming Port)
20-
arduino_zero_edbg.vid.0=0x03eb
21-
arduino_zero_edbg.pid.0=0x2157
22-
23-
arduino_zero_edbg.upload.tool=openocd
24-
arduino_zero_edbg.upload.protocol=sam-ba
25-
arduino_zero_edbg.upload.maximum_size=262144
26-
arduino_zero_edbg.upload.use_1200bps_touch=false
27-
arduino_zero_edbg.upload.wait_for_upload_port=false
28-
arduino_zero_edbg.upload.native_usb=false
29-
arduino_zero_edbg.build.mcu=cortex-m0plus
30-
arduino_zero_edbg.build.f_cpu=48000000L
31-
arduino_zero_edbg.build.usb_product="Arduino Zero"
32-
arduino_zero_edbg.build.usb_manufacturer="Arduino LLC"
33-
arduino_zero_edbg.build.board=SAMD_ZERO
34-
arduino_zero_edbg.build.core=arduino
35-
arduino_zero_edbg.build.extra_flags=-D__SAMD21G18A__ {build.usb_flags}
36-
arduino_zero_edbg.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
37-
arduino_zero_edbg.build.openocdscript=openocd_scripts/arduino_zero.cfg
38-
arduino_zero_edbg.build.variant=arduino_zero
39-
arduino_zero_edbg.build.variant_system_lib=
40-
arduino_zero_edbg.build.vid=0x2341
41-
arduino_zero_edbg.build.pid=0x804d
42-
arduino_zero_edbg.bootloader.tool=openocd
43-
arduino_zero_edbg.bootloader.file=zero/samd21_sam_ba.bin
44-
45-
# Arduino/Genuino Zero (Native USB Port)
46-
# ---------------------------------------
47-
arduino_zero_native.name=Arduino/Genuino Zero (Native USB Port)
48-
arduino_zero_native.vid.0=0x2341
49-
arduino_zero_native.pid.0=0x804d
50-
arduino_zero_native.vid.1=0x2341
51-
arduino_zero_native.pid.1=0x004d
52-
53-
arduino_zero_native.vid.2=0x2341
54-
arduino_zero_native.pid.2=0x824d
55-
# If the board is a 2341:824d use 2341:824d for build and set other parameters as well
56-
arduino_zero_native.vid.2.build.vid=0x2341
57-
arduino_zero_native.vid.2.build.pid=0x824d
58-
arduino_zero_native.vid.2.build.usb_product="Genuino Zero"
59-
arduino_zero_native.vid.2.bootloader.file=zero/samd21_sam_ba_genuino.bin
60-
61-
arduino_zero_native.vid.3=0x2341
62-
arduino_zero_native.pid.3=0x024d
63-
# If the board is a 2341:024d use 2341:824d for build and set other parameters as well
64-
arduino_zero_native.vid.3.build.vid=0x2341
65-
arduino_zero_native.vid.3.build.pid=0x824d
66-
arduino_zero_native.vid.3.build.usb_product="Genuino Zero"
67-
arduino_zero_native.vid.3.bootloader.file=zero/samd21_sam_ba_genuino.bin
68-
69-
arduino_zero_native.upload.tool=bossac
70-
arduino_zero_native.upload.protocol=sam-ba
71-
arduino_zero_native.upload.maximum_size=262144
72-
arduino_zero_native.upload.use_1200bps_touch=true
73-
arduino_zero_native.upload.wait_for_upload_port=true
74-
arduino_zero_native.upload.native_usb=true
75-
arduino_zero_native.build.mcu=cortex-m0plus
76-
arduino_zero_native.build.f_cpu=48000000L
77-
arduino_zero_native.build.usb_product="Arduino Zero"
78-
arduino_zero_native.build.usb_manufacturer="Arduino LLC"
79-
arduino_zero_native.build.board=SAMD_ZERO
80-
arduino_zero_native.build.core=arduino
81-
arduino_zero_native.build.extra_flags=-D__SAMD21G18A__ {build.usb_flags}
82-
arduino_zero_native.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
83-
arduino_zero_native.build.openocdscript=openocd_scripts/arduino_zero.cfg
84-
arduino_zero_native.build.variant=arduino_zero
85-
arduino_zero_native.build.variant_system_lib=
86-
arduino_zero_native.build.vid=0x2341
87-
arduino_zero_native.build.pid=0x804d
88-
arduino_zero_native.bootloader.tool=openocd
89-
arduino_zero_native.bootloader.file=zero/samd21_sam_ba.bin
1+
# Copyright (c) 2014-2015 Arduino LLC. All right reserved.
2+
#
3+
# This library is free software; you can redistribute it and/or
4+
# modify it under the terms of the GNU Lesser General Public
5+
# License as published by the Free Software Foundation; either
6+
# version 2.1 of the License, or (at your option) any later version.
7+
#
8+
# This library is distributed in the hope that it will be useful,
9+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11+
# See the GNU Lesser General Public License for more details.
12+
#
13+
# You should have received a copy of the GNU Lesser General Public
14+
# License along with this library; if not, write to the Free Software
15+
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16+
17+
18+
adafruit_feather_m0.name=Adafruit Feather M0 (Native USB Port)
19+
adafruit_feather_m0.vid.0=0x239A
20+
adafruit_feather_m0.pid.0=0x800B
21+
adafruit_feather_m0.vid.1=0x239A
22+
adafruit_feather_m0.pid.1=0x000B
23+
adafruit_feather_m0.upload.tool=bossac
24+
adafruit_feather_m0.upload.protocol=sam-ba
25+
adafruit_feather_m0.upload.maximum_size=262144
26+
adafruit_feather_m0.upload.use_1200bps_touch=true
27+
adafruit_feather_m0.upload.wait_for_upload_port=true
28+
adafruit_feather_m0.upload.native_usb=true
29+
adafruit_feather_m0.build.mcu=cortex-m0plus
30+
adafruit_feather_m0.build.f_cpu=48000000L
31+
adafruit_feather_m0.build.usb_product="Feather M0"
32+
adafruit_feather_m0.build.usb_manufacturer="Adafruit"
33+
adafruit_feather_m0.build.board=SAMD_ZERO
34+
adafruit_feather_m0.build.core=arduino
35+
adafruit_feather_m0.build.extra_flags=-D__SAMD21G18A__ {build.usb_flags}
36+
adafruit_feather_m0.build.ldscript=linker_scripts/gcc/flash_with_bootloader.ld
37+
adafruit_feather_m0.build.openocdscript=openocd_scripts/arduino_zero.cfg
38+
adafruit_feather_m0.build.variant=arduino_zero
39+
adafruit_feather_m0.build.variant_system_lib=
40+
adafruit_feather_m0.build.vid=0x239A
41+
adafruit_feather_m0.build.pid=0x800B
42+
adafruit_feather_m0.bootloader.tool=openocd
43+
adafruit_feather_m0.bootloader.file=feather/samd21_sam_ba.bin

0 commit comments

Comments
 (0)