From 648068d85218cca78549b68611e4a10d9356a961 Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Thu, 7 Nov 2024 14:56:30 +0000 Subject: [PATCH] Application flash has moved; update spi_test SPI controller 2 (now once again through pinmux) drives the application flash; update spi_test to use the correct controller. --- sw/cheri/checks/spi_test.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw/cheri/checks/spi_test.cc b/sw/cheri/checks/spi_test.cc index 5aca59a64..4f7788bc3 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);