Skip to content

Commit

Permalink
pinmux: changed documentation names to match the driver.
Browse files Browse the repository at this point in the history
The names in the driver can't have square brackets for IO indices.
  • Loading branch information
HU90m committed Nov 14, 2024
1 parent 28232be commit 386b24c
Show file tree
Hide file tree
Showing 6 changed files with 198 additions and 191 deletions.
310 changes: 155 additions & 155 deletions doc/ip/pinmux/README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions sw/cheri/checks/pinmux_check.cc
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@

using namespace CHERI;

#define PINMUX_SER0_TX_DISABLED (0)
#define PINMUX_SER0_TX_UART0_TX (1)

/**
* Blocks until the UART transmit FIFO is empty.
*/
Expand Down Expand Up @@ -56,7 +53,7 @@ void block_until_uart_tx_done(Capability<volatile OpenTitanUart> uart) {
block_until_uart_tx_done(uart);

// Pinmux Serial 0 TX (used by console UART) to UART0_TX.
ser0_tx.select(PINMUX_SER0_TX_UART0_TX);
ser0_tx.default_selection();
LOG("You should see this message, as UART0 has just been re-enabled.\r\n");

LOG("Check completed.\r\n");
Expand Down
Loading

0 comments on commit 386b24c

Please sign in to comment.