Add flag to control of SPI master is included in build
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
0aabebd71e
commit
32f7ebc7ad
|
@ -213,10 +213,10 @@ verilator: $(VERILATOR_FPGA_SRC) $(VERILOG_SRCS) firmware.hex $(ICE40_SIM_CELLS)
|
|||
# Main FPGA build flow.
|
||||
# Synthesis. Place & Route. Bitstream generation.
|
||||
#
|
||||
# For minimal SPI-master add flag -DINCLUDE_SPI_MASTER to Yosys.
|
||||
# For minimal SPI-master add flag -DINCLUDE_SPI_MASTER to Yosys cmd.
|
||||
#-------------------------------------------------------------------
|
||||
synth.json: $(FPGA_SRC) $(VERILOG_SRCS) bram_fw.hex $(P)/data/uds.hex $(P)/data/udi.hex
|
||||
$(YOSYS_PATH)yosys -v3 -l synth.log -DBRAM_FW_SIZE=$(BRAM_FW_SIZE) \
|
||||
$(YOSYS_PATH)yosys -v3 -l synth.log -DINCLUDE_SPI_MASTER -DBRAM_FW_SIZE=$(BRAM_FW_SIZE) \
|
||||
-DFIRMWARE_HEX=\"$(P)/bram_fw.hex\" \
|
||||
-DUDS_HEX=\"$(P)/data/uds.hex\" \
|
||||
-DUDI_HEX=\"$(P)/data/udi.hex\" \
|
||||
|
|
Loading…
Reference in New Issue