From 2e7534ddee25e9da351036ae9df334bb32681836 Mon Sep 17 00:00:00 2001 From: Alexandre Abadie Date: Thu, 7 Nov 2019 14:14:05 +0100 Subject: [PATCH] boards/hifive1b: fix default serial port The board provides a JLink adapter which is exposed as /dev/ttyACMx on Linux. STDIO UART is available on this port --- boards/hifive1b/Makefile.include | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/hifive1b/Makefile.include b/boards/hifive1b/Makefile.include index 4dc8c6fd44..5a3b4bd0e5 100644 --- a/boards/hifive1b/Makefile.include +++ b/boards/hifive1b/Makefile.include @@ -2,7 +2,7 @@ USEMODULE += stdio_uart # set default port depending on operating system -PORT_LINUX ?= /dev/ttyUSB1 +PORT_LINUX ?= /dev/ttyACM0 PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*))) # setup serial terminal