add ULX3S Makefile target
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 11 Feb 2022 12:40:20 +0000 (12:40 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 11 Feb 2022 12:40:20 +0000 (12:40 +0000)
Makefile

index e4a46eac8bfd613c81c7bbe16a2aa72dd7fef9af..6ae68d4c423ab4bee5028548df19bf8a9e088154 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -157,6 +157,18 @@ SIM_BRAM_CHAINBOOT=6291456 # 0x600000
 
 FPGA_TARGET ?= ORANGE-CRAB
 
+# ULX3S with ECP85
+ifeq ($(FPGA_TARGET), ULX3S)
+RESET_LOW=true
+CLK_INPUT=25000000
+CLK_FREQUENCY=40000000
+LPF=constraints/orange-crab.lpf
+PACKAGE=CABGA381
+NEXTPNR_FLAGS=--um5g-85k --freq 40
+OPENOCD_JTAG_CONFIG=openocd/ulx3s.cfg
+OPENOCD_DEVICE_CONFIG=openocd/LFE5UM5G-85F.cfg
+endif
+
 # OrangeCrab with ECP85
 ifeq ($(FPGA_TARGET), ORANGE-CRAB)
 RESET_LOW=true