Remove ECP5 Evaluation Board programmer
This commit is contained in:
parent
4126ed21d5
commit
9e6dccc277
|
@ -1 +0,0 @@
|
||||||
graft litex_boards/community/platforms/prog
|
|
|
@ -3,8 +3,6 @@
|
||||||
|
|
||||||
from litex.build.generic_platform import *
|
from litex.build.generic_platform import *
|
||||||
from litex.build.lattice import LatticePlatform
|
from litex.build.lattice import LatticePlatform
|
||||||
from litex.build.lattice.programmer import LatticeProgrammer
|
|
||||||
from litex.build.openocd import OpenOCD
|
|
||||||
|
|
||||||
# IOs ----------------------------------------------------------------------------------------------
|
# IOs ----------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
@ -128,6 +126,7 @@ class Platform(LatticePlatform):
|
||||||
return LatticePlatform.request(self, *args, **kwargs)
|
return LatticePlatform.request(self, *args, **kwargs)
|
||||||
|
|
||||||
def create_programmer(self):
|
def create_programmer(self):
|
||||||
fdir = os.path.join(
|
pass
|
||||||
os.path.abspath(os.path.dirname(__file__)), "prog")
|
# fdir = os.path.join(
|
||||||
return OpenOCD(os.path.join(fdir, "ecp5-evn.cfg"))
|
# os.path.abspath(os.path.dirname(__file__)), "prog")
|
||||||
|
# return OpenOCD(os.path.join(fdir, "ecp5-evn.cfg"))
|
||||||
|
|
|
@ -1,16 +0,0 @@
|
||||||
# this supports ECP5 Evaluation Board
|
|
||||||
|
|
||||||
interface ftdi
|
|
||||||
ftdi_device_desc "Lattice ECP5 Evaluation Board"
|
|
||||||
ftdi_vid_pid 0x0403 0x6010
|
|
||||||
# channel 1 does not have any functionality
|
|
||||||
ftdi_channel 0
|
|
||||||
# just TCK TDI TDO TMS, no reset
|
|
||||||
ftdi_layout_init 0xfff8 0xfffb
|
|
||||||
reset_config none
|
|
||||||
|
|
||||||
# default speed
|
|
||||||
adapter_khz 5000
|
|
||||||
|
|
||||||
# ECP5 device - LFE5UM5G-85F
|
|
||||||
jtag newtap ecp5 tap -irlen 8 -expected-id 0x81113043
|
|
Loading…
Reference in New Issue