platformio/platform-titiva

tool-openocd not being installed for upload

pfeerick opened this issue · 1 comments

This package is not being automatically installed (when not present) when trying to upload to the TI LaunchPad (Tiva C) w/ tm4c123 (80MHz) - lptm4c1230c3pm - hence causing the upload to fail.

"tool-openocd": {
"type": "debugger",
"optional": true,
"version": "~2.1000.0"
}

with platformio.ini consisting of

[env:lptm4c1230c3pm]
platform = titiva
board = lptm4c1230c3pm
framework = energia

openocd is found after running platformio platform install titiva --with-package tool-openocd

Applies to stable and beta.

Forum reference: https://community.platformio.org/t/ti-launchpad-tiva-c-upload-error/8407