tcl: replace the deprecated commands with "adapter ..."
[fw/openocd] / tcl / target / nrf52.cfg
index c29adbdd632c18fef594db04c5891b6e04a3db19..00901bf8acf33c751724079c885cc392e64cb355 100644 (file)
@@ -30,7 +30,7 @@ dap create $_CHIPNAME.dap -chain-position $_CHIPNAME.cpu
 set _TARGETNAME $_CHIPNAME.cpu
 target create $_TARGETNAME cortex_m -dap $_CHIPNAME.dap
 
-adapter_khz 1000
+adapter speed 1000
 
 $_TARGETNAME configure -work-area-phys 0x20000000 -work-area-size $_WORKAREASIZE -work-area-backup 0