board: Add NXP LS1088ARDB
[fw/openocd] / tcl / target / renesas_s7g2.cfg
index a09377b2d2ce3da7f37d187a9a1243c0f483da58..b4be88f610bdd7f3051d31fc458517862f52653b 100644 (file)
@@ -29,9 +29,10 @@ if { [using_jtag] } {
 }
 
 swj_newdap $_CHIPNAME cpu -irlen 4 -expected-id $_CPU_TAPID
+dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 
 set _TARGETNAME $_CHIPNAME.cpu
-target create $_TARGETNAME cortex_m -chain-position $_TARGETNAME
+target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
 
 if { [info exists WORKAREASIZE] } {
        set _WORKAREASIZE $WORKAREASIZE
@@ -47,4 +48,4 @@ if { ![using_hla] } {
        cortex_m reset_config sysresetreq
 }
 
-adapter_khz 1000
+adapter speed 1000