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:
parent
7e42f6e4d5
commit
2e7534ddee
@ -2,7 +2,7 @@
|
|||||||
USEMODULE += stdio_uart
|
USEMODULE += stdio_uart
|
||||||
|
|
||||||
# set default port depending on operating system
|
# set default port depending on operating system
|
||||||
PORT_LINUX ?= /dev/ttyUSB1
|
PORT_LINUX ?= /dev/ttyACM0
|
||||||
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.usbmodem*)))
|
||||||
|
|
||||||
# setup serial terminal
|
# setup serial terminal
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user