diff --git a/sw/cheri/checks/spi_test.cc b/sw/cheri/checks/spi_test.cc index 5aca59a6..4f7788bc 100644 --- a/sw/cheri/checks/spi_test.cc +++ b/sw/cheri/checks/spi_test.cc @@ -37,7 +37,7 @@ using namespace CHERI; uart.bounds() = UART_BOUNDS; Capability spi = root.cast(); - spi.address() = SPI_ADDRESS; + spi.address() = SPI_ADDRESS + 2 * SPI_RANGE; spi.bounds() = SPI_BOUNDS; SpiFlash spi_flash(spi);