openocd/src
Antonio Borneo ac05f929ed swim: fix adapter speed handling
SWIM transport only supports two adapter speeds:
- "low speed"  equal to 363 kHz (8 MHz / 22)
- "high speed" equal to 800 kHz (8 MHz / 10)

Replace the previous convention that use "0" or "1" for "low" or
"high" speed with the effective speed in kHz.
Rework the implementation of stlink_speed_swim().
Set low speed in the stm8 config files, because only low speed is
permitted at debug connection; the previous code ignores the
initial value.

Change-Id: I2484c9419a2c554c59eb6b9216339393ab0b54f3
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5529
Tested-by: jenkins
2020-05-24 21:31:21 +01:00
..
flash flash/nor/sh_qspi: Fix dead assignment 2020-05-24 21:27:08 +01:00
helper coding style: prototype of functions with no parameters 2020-05-09 14:39:59 +01:00
jtag swim: fix adapter speed handling 2020-05-24 21:31:21 +01:00
pld helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
rtos rtos/ChibiOS: Fix some coding styles 2020-05-24 21:25:25 +01:00
server coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
svf coding style: avoid unnecessary line continuations 2020-05-09 14:39:29 +01:00
target swim: fix adapter speed handling 2020-05-24 21:31:21 +01:00
transport coding style: remove useless break after a goto or return 2020-05-09 14:39:05 +01:00
xsvf xsvf: fix memory leak 2020-01-16 09:44:33 +00:00
Makefile.am Convert to non-recursive make 2016-12-08 16:23:10 +00:00
hello.c helper/command: change prototype of command_print/command_print_sameline 2019-05-14 19:37:11 +01:00
hello.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00
main.c Remove FSF address from GPL notices 2016-05-24 22:30:01 +01:00
openocd.c mflash: Remove this broken flash driver 2019-07-28 21:17:47 +01:00
openocd.h Make #include guard naming consistent 2016-05-24 22:30:55 +01:00