From 496452b6768a962b3094fd0054a939fec1164e2f Mon Sep 17 00:00:00 2001 From: deadprogram Date: Thu, 11 Jun 2020 21:16:15 +0200 Subject: [PATCH] machine/hifive1b: add definitions for UART0 pins Signed-off-by: deadprogram --- src/machine/board_hifive1b.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machine/board_hifive1b.go b/src/machine/board_hifive1b.go index 5ce9d7ca..ff5b4022 100644 --- a/src/machine/board_hifive1b.go +++ b/src/machine/board_hifive1b.go @@ -37,8 +37,8 @@ const ( const ( // TODO: figure out the pin numbers for these. - UART_TX_PIN = NoPin - UART_RX_PIN = NoPin + UART_TX_PIN = D1 + UART_RX_PIN = D0 ) // SPI pins