Skip to content

Commit 3083af8

Browse files
committed
Fixes openOCD path for SAMD boards that changed with latest Arduino release
1 parent e442225 commit 3083af8

File tree

3 files changed

+52
-2
lines changed

3 files changed

+52
-2
lines changed

IDE_Board_Manager/package_sparkfun_index.json

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1449,6 +1449,56 @@
14491449
{ "name": "Sparkfun SAMD51 Thing Plus" },
14501450
{ "name": "Sparkfun Qwiic Micro" }
14511451
],
1452+
"toolsDependencies": [
1453+
{
1454+
"packager": "arduino",
1455+
"name": "arm-none-eabi-gcc",
1456+
"version": "4.8.3-2014q1"
1457+
},
1458+
{
1459+
"packager": "arduino",
1460+
"name": "bossac",
1461+
"version": "1.8.0-48-gb176eee"
1462+
},
1463+
{
1464+
"packager": "arduino",
1465+
"name": "openocd",
1466+
"version": "0.9.0-arduino"
1467+
},
1468+
{
1469+
"packager": "arduino",
1470+
"name": "CMSIS",
1471+
"version": "4.5.0"
1472+
},
1473+
{
1474+
"packager": "arduino",
1475+
"name": "CMSIS-Atmel",
1476+
"version": "1.2.0"
1477+
}
1478+
]
1479+
},
1480+
{
1481+
"name": "SparkFun SAMD Boards (dependency: Arduino SAMD Boards 1.8.1)",
1482+
"architecture": "samd",
1483+
"version": "1.7.5",
1484+
"category": "Contributed",
1485+
"url": "https://github.com/sparkfun/Arduino_Boards/raw/master/IDE_Board_Manager/sparkfun-samd-1.7.5.tar.bz2",
1486+
"archiveFileName": "sparkfun-samd-1.7.5.tar.bz2",
1487+
"checksum": "SHA-256:B7A7F787960D41B378197EE6FF83CD0324892170818902B28FD1B28B40C908FC",
1488+
"size": "1696179",
1489+
"help": {
1490+
"online": "https://learn.sparkfun.com/tutorials/installing-arduino-ide/board-add-ons-with-arduino-board-manager"
1491+
},
1492+
"boards": [
1493+
{ "name": "SparkFun SAMD21 Mini Breakout" },
1494+
{ "name": "SparkFun SAMD21 Dev Breakout" },
1495+
{ "name": "SparkFun 9DoF Razor IMU M0" },
1496+
{ "name": "LilyPad LilyMini" },
1497+
{ "name": "Sparkfun SAMD21 Pro RF" },
1498+
{ "name": "Sparkfun RedBoard Turbo" },
1499+
{ "name": "Sparkfun SAMD51 Thing Plus" },
1500+
{ "name": "Sparkfun Qwiic Micro" }
1501+
],
14521502
"toolsDependencies": [
14531503
{
14541504
"packager": "arduino",
1.62 MB
Binary file not shown.

sparkfun/samd/platform.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ tools.bossac18.upload.network_pattern="{network_cmd}" -address {serial.port} -po
160160
# OpenOCD sketch upload
161161
#
162162

163-
tools.openocd.path={runtime.tools.openocd-0.9.0-arduino6-static.path}
163+
tools.openocd.path={runtime.tools.openocd-0.10.0-arduino7.path}
164164
#tools.openocd.path={runtime.tools.openocd}
165165
tools.openocd.cmd=bin/openocd
166166
tools.openocd.cmd.windows=bin/openocd.exe
@@ -190,7 +190,7 @@ tools.openocd.bootloader.pattern="{path}/{cmd}" {bootloader.verbose} -s "{path}/
190190
# FIXME: this programmer is a workaround for default options being overwritten by uploadUsingPreferences
191191
#
192192

193-
#tools.openocd-withbootsize.path={runtime.tools.openocd-0.9.0-arduino6-static.path}
193+
#tools.openocd-withbootsize.path={runtime.tools.openocd-0.10.0-arduino7.path}
194194
tools.openocd-withbootsize.path={runtime.tools.openocd}
195195
tools.openocd-withbootsize.cmd=bin/openocd
196196
tools.openocd-withbootsize.cmd.windows=bin/openocd.exe

0 commit comments

Comments
 (0)