mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-05-02 22:25:00 -04:00
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:
parent
cbb2ba7512
commit
9e57296d91
6 changed files with 3 additions and 35 deletions
|
@ -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),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue