tcl/interface: replace last deprecated commands
[fw/openocd] / tcl / board / or1k_generic.cfg
index 5d23641a9cb7079687b40bf9b8469fc675668ffb..915a0de249feea7beda8a54fcefd5345a99bb758 100644 (file)
@@ -1,3 +1,5 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
 # If you want to use the VJTAG TAP or the XILINX BSCAN,
 # you must set your FPGA TAP ID here
 
@@ -13,8 +15,11 @@ set CHIPNAME or1200
 
 source [find target/or1k.cfg]
 
+# Set the servers polling period to 1ms (needed to JSP Server)
+poll_period 1
+
 # Set the adapter speed
-adapter_khz 3000
+adapter speed 3000
 
 # Enable the target description feature
 gdb_target_description enable