Skip to content

Commit

Permalink
Application flash has moved; update spi_test
Browse files Browse the repository at this point in the history
SPI controller 2 (now once again through pinmux) drives the
application flash; update spi_test to use the correct controller.
  • Loading branch information
alees24 authored and AlexJones0 committed Nov 7, 2024
1 parent d410c66 commit 8c04c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/cheri/checks/spi_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ using namespace CHERI;
uart.bounds() = UART_BOUNDS;

Capability<volatile SonataSpi> spi = root.cast<volatile SonataSpi>();
spi.address() = SPI_ADDRESS;
spi.address() = SPI_ADDRESS + 2 * SPI_RANGE;
spi.bounds() = SPI_BOUNDS;

SpiFlash spi_flash(spi);
Expand Down

0 comments on commit 8c04c56

Please sign in to comment.