1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

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
This commit is contained in:
Alexandre Abadie 2019-11-07 14:14:05 +01:00
parent 7e42f6e4d5
commit 2e7534ddee
No known key found for this signature in database
GPG Key ID: 1C919A403CAE1405

View File

@ -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