diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2018-10-01 10:25:35 +0200 |
---|---|---|
committer | Spencer Oliver <spen@spen-soft.co.uk> | 2018-12-06 13:06:34 +0000 |
commit | 5babb634623d60dd8b39289de3ecf27910b0b86d (patch) | |
tree | 4ead12ad0cc3c72980c99d57524e020bf15d58a6 /tcl | |
parent | 6807e6b23deede9fb8e123f5275ff9b653c05ce3 (diff) |
stlink: fix printed version for new STM8 nucleo board
The ST-LINK/V2.1 embedded in the new nucleo boards for STM8 does
not follow the normal versioning rules, and puts mass-storage and
swim version in the field normally used respectively for jtag and
mass-storage version.
Apply the check suggested by STMicroelectronics to discriminate
the two cases and print the correct version.
Change-Id: I0dd1da11013be3f1e56084489e28cfba98bb07af
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4716
Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
Tested-by: Spencer Oliver <spen@spen-soft.co.uk>
Diffstat (limited to 'tcl')
0 files changed, 0 insertions, 0 deletions