]> git.gag.com Git - fw/stlink/commit
Properly detect and warn if multiple stlinky magic bytes are detected
authorOnno Kortmann <onno@gmx.net>
Sat, 7 Dec 2013 04:30:01 +0000 (20:30 -0800)
committerOnno Kortmann <onno@gmx.net>
Sat, 7 Dec 2013 04:30:01 +0000 (20:30 -0800)
commitbadeef227a1705d9ecb5521266b88065b8b59795
treec39f801fc65e6fbad43e3cd36773a8392c1b675b
parentd650c9854f999d83f40d3e8c38b988b730de6368
Properly detect and warn if multiple stlinky magic bytes are detected

Stlinky can silently fail if its magic bytes are present anywhere else
in the SRAM. This change makes st-term detect all stlinky structures,
warn about multiple occurences and will use the last one detected.
src/st-term.c