Skip to content

Commit

Permalink
versa_ecp5: update deprecated openocd command names.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed Oct 28, 2023
1 parent 91ffa38 commit 54000b0
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions amaranth_boards/versa_ecp5.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ def file_templates(self):
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
Expand Down

0 comments on commit 54000b0

Please sign in to comment.