From 2df94d84afea3a75719187da68656b43f53ce957 Mon Sep 17 00:00:00 2001 From: Tim Newsome Date: Mon, 1 May 2023 10:32:53 -0700 Subject: Update OpenOCD cfg files to new syntax We were using a variety of deprecated commands. The driving force behind this was the new way to use `expr{}` as the old way no longer works with mainline OpenOCD. --- debug/targets/SiFive/HiFive1.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'debug/targets/SiFive/HiFive1.cfg') diff --git a/debug/targets/SiFive/HiFive1.cfg b/debug/targets/SiFive/HiFive1.cfg index 333c82e..e23d3f0 100644 --- a/debug/targets/SiFive/HiFive1.cfg +++ b/debug/targets/SiFive/HiFive1.cfg @@ -1,11 +1,11 @@ -adapter_khz 10000 +adapter speed 10000 -interface ftdi -ftdi_device_desc "Dual RS232-HS" -ftdi_vid_pid 0x0403 0x6010 +adapter driver ftdi +ftdi device_desc "Dual RS232-HS" +ftdi vid_pid 0x0403 0x6010 -ftdi_layout_init 0x0008 0x001b -ftdi_layout_signal nSRST -oe 0x0020 +ftdi layout_init 0x0008 0x001b +ftdi layout_signal nSRST -oe 0x0020 # ... -- cgit v1.1