Skip to content

Commit 54000b0

Browse files
committed
versa_ecp5: update deprecated openocd command names.
1 parent 91ffa38 commit 54000b0

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

amaranth_boards/versa_ecp5.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -141,14 +141,14 @@ def file_templates(self):
141141
return {
142142
**super().file_templates,
143143
"{{name}}-openocd.cfg": r"""
144-
interface ftdi
144+
adapter driver ftdi
145+
adapter speed 25000
145146
{# FTDI descriptors is identical between non-5G and 5G recent Versa boards #}
146-
ftdi_device_desc "Lattice ECP5_5G VERSA Board"
147-
ftdi_vid_pid 0x0403 0x6010
148-
ftdi_channel 0
149-
ftdi_layout_init 0xfff8 0xfffb
147+
ftdi device_desc "Lattice ECP5_5G VERSA Board"
148+
ftdi vid_pid 0x0403 0x6010
149+
ftdi channel 0
150+
ftdi layout_init 0xfff8 0xfffb
150151
reset_config none
151-
adapter_khz 25000
152152
153153
# ispCLOCK device (unusable with openocd and must be bypassed)
154154
#jtag newtap ispclock tap -irlen 8 -expected-id 0x00191043

0 commit comments

Comments
 (0)