Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change default serial port to connect to FPGAs #366

Merged
merged 1 commit into from
Mar 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion software/console/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ROOT_DIR:=../..
include $(ROOT_DIR)/config.mk

SERIAL:=/dev/ttyUSB0
SERIAL:=/dev/usb-uart
TEST_BENCH:=0

INCLUDE+=-I$(UART_DIR)/software -I$(FIRM_DIR)
Expand Down
2 changes: 1 addition & 1 deletion software/console/console
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def init_serial():

# configure the serial connections (the parameters differs on the device connected to)
ser = serial.Serial()
ser.port = "/dev/ttyUSB0"
ser.port = "/dev/usb-uart"
ser.baudrate = 115200
ser.bytesize = serial.EIGHTBITS #number of bits per bytes
ser.parity = serial.PARITY_NONE #set parity check: no parity
Expand Down