Include SPI master in default build

This prevents building without the SPI master, the intention is to use
a different method than if-defs, but it will be introduced at a later
stage.
This commit is contained in:
Jonas Thörnblad 2024-08-30 14:03:34 +02:00 committed by Daniel Jobson
parent cbb2ba7512
commit 9e57296d91
No known key found for this signature in database
GPG key ID: 3707A9DBF4BB8F1A
6 changed files with 3 additions and 35 deletions

View file

@ -20,12 +20,10 @@ module application_fpga(
output wire interface_rx,
input wire interface_tx,
`ifdef INCLUDE_SPI_MASTER
output wire spi_ss,
output wire spi_sck,
output wire spi_mosi,
input wire spi_miso,
`endif // INCLUDE_SPI_MASTER
input wire touch_event,
@ -334,12 +332,10 @@ module application_fpga(
.ram_addr_rand(ram_addr_rand),
.ram_data_rand(ram_data_rand),
`ifdef INCLUDE_SPI_MASTER
.spi_ss(spi_ss),
.spi_sck(spi_sck),
.spi_mosi(spi_mosi),
.spi_miso(spi_miso),
`endif // INCLUDE_SPI_MASTER
.led_r(led_r),
.led_g(led_g),