aboutsummaryrefslogtreecommitdiff
path: root/tools/rlink_make_speed_table
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2018-12-07 22:11:12 +0100
committerTomas Vanek <vanekt@fbl.cz>2019-03-08 06:01:52 +0000
commitd46b28983dc27369e90f4dc8a0e54b5057583b38 (patch)
treea0156bcb444da6d89cde94db755a73ed5a5007b4 /tools/rlink_make_speed_table
parent720380f9e372d9bab19445ff300ef1cb58e70a12 (diff)
drivers/stlink_usb: fix stlink_usb_read_regs() for API v2
API v2 implementation for command READALLREGS returns the status in the first two bytes, followed by two bytes of padding. This makes the reply 4 bytes longer and changes the offset of the first register value to 4. Fix it for the case API v2 and clean-up the management of the return value. Change-Id: I448c82bcc0baa72d66fdfe7f0c525b94f8a4468b Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/4824 Tested-by: jenkins Reviewed-by: Tarek BOCHKATI <tarek.bouchkati@gmail.com> Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'tools/rlink_make_speed_table')
0 files changed, 0 insertions, 0 deletions