aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine <whitequark@whitequark.org>2023-10-28 15:19:08 +0000
committerCatherine <whitequark@whitequark.org>2023-10-28 15:31:28 +0000
commit54000b09498080706152bbb8782f68b8efa0ad33 (patch)
tree2f8ecb25763d02ed5907fc76d5378068aa2ac343
parent91ffa38e788a691464a6873d44537eece72ef76e (diff)
versa_ecp5: update deprecated openocd command names.
-rw-r--r--amaranth_boards/versa_ecp5.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/amaranth_boards/versa_ecp5.py b/amaranth_boards/versa_ecp5.py
index 195548e..a7467a3 100644
--- a/amaranth_boards/versa_ecp5.py
+++ b/amaranth_boards/versa_ecp5.py
@@ -141,14 +141,14 @@ class VersaECP5Platform(LatticeECP5Platform):
return {
**super().file_templates,
"{{name}}-openocd.cfg": r"""
- interface ftdi
+ adapter driver ftdi
+ adapter speed 25000
{# FTDI descriptors is identical between non-5G and 5G recent Versa boards #}
- ftdi_device_desc "Lattice ECP5_5G VERSA Board"
- ftdi_vid_pid 0x0403 0x6010
- ftdi_channel 0
- ftdi_layout_init 0xfff8 0xfffb
+ ftdi device_desc "Lattice ECP5_5G VERSA Board"
+ ftdi vid_pid 0x0403 0x6010
+ ftdi channel 0
+ ftdi layout_init 0xfff8 0xfffb
reset_config none
- adapter_khz 25000
# ispCLOCK device (unusable with openocd and must be bypassed)
#jtag newtap ispclock tap -irlen 8 -expected-id 0x00191043