Skip to content

Commit

Permalink
Make flashing less frequent for CHERI sanity
Browse files Browse the repository at this point in the history
  • Loading branch information
marnovandermaas committed May 12, 2024
1 parent be412c2 commit 749bbb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sw/cheri/tests/cheri_sanity.cc
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ extern "C" uint32_t rom_loader_entry(void *rwRoot)
uint32_t switchValue = 0;
while (true) {
gpioValue ^= GPIO_VALUE;
for (int i = 0; i < 1000000; i++) {
for (int i = 0; i < 2000000; i++) {
inputValue = *((volatile uint32_t *) gpi);
// Shift right to remove joystick, mask to only get 8 switches and shift left to skip LCD controls.
switchValue = ((inputValue >> 5) & 0xFF) << 4;
Expand Down

0 comments on commit 749bbb9

Please sign in to comment.