swim: add new transport
Add SWIM and STM8 to documentation and update TODO file. Introduce transport "swim" and command "swim newtap". Switch in swim.c from HLA API to the new SWIM API. Implement in stlink driver the SWIM APIs as wrappers of existing HLA functions. Remove any SWIM related reference from HLA files. Update stm8 config files and stlink-dap interface config file. Change-Id: I2bb9f58d52900f6eb4df05f979f7ef11fd439c24 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/5530 Tested-by: jenkins
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# stm8 devices support SWIM transports only.
|
||||
#
|
||||
|
||||
transport select stlink_swim
|
||||
transport select swim
|
||||
|
||||
if { [info exists CHIPNAME] } {
|
||||
set _CHIPNAME $CHIPNAME
|
||||
@@ -62,7 +62,7 @@ if { [info exists BLOCKSIZE] } {
|
||||
set _BLOCKSIZE 0x80
|
||||
}
|
||||
|
||||
hla newtap $_CHIPNAME cpu -irlen 4 -ircapture 0x1 -irmask 0xf -expected-id 0
|
||||
swim newtap $_CHIPNAME cpu
|
||||
|
||||
set _TARGETNAME $_CHIPNAME.cpu
|
||||
|
||||
|
||||
Reference in New Issue
Block a user