Skip to content

Commit

Permalink
Fix incorrect pinmux check pin logging
Browse files Browse the repository at this point in the history
This was left over from an incorrect I2C pinmux config I did, where I
accidentally put the I2C pins on 1&2 instead of 3&4. The indexes are
still off by one because of the indexing change made to PMOD. This
commit simply updates the log output of the test to reflect the actual
pins that are being tested for I2C in the tests.
  • Loading branch information
AlexJones0 authored and marnovandermaas committed Oct 29, 2024
1 parent 0a1b5d4 commit 83e247c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sw/cheri/checks/pinmux_all_blocks_check.cc
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ using namespace CHERI;
},
{
.type = TestType::I2cPmodColourReadId,
.name = "PMOD0_1 & PMOD0_2 I2C Muxed ",
.name = "PMOD0_3 & PMOD0_4 I2C Muxed ",
.manual_required = true,
.instruction = "Remove the wire connecting PMOD0 Pins 2 & 3. Connect the PMOD Colour to PMOD0.",
.output_pins = pmod_test_i2c_on_pins,
Expand All @@ -190,7 +190,7 @@ using namespace CHERI;
},
{
.type = TestType::I2cPmodColourReadId,
.name = "PMOD0_1 & PMOD0_2 I2C Not Muxed ",
.name = "PMOD0_3 & PMOD0_4 I2C Not Muxed ",
.manual_required = false,
.output_pins = pmod_test_i2c_off_pins,
.num_output_pins = ARRAYSIZE(pmod_test_i2c_off_pins),
Expand Down

0 comments on commit 83e247c

Please sign in to comment.