Skip to content

Commit

Permalink
change default serial port to connect to FPGAs
Browse files Browse the repository at this point in the history
  • Loading branch information
JDLopes committed Mar 22, 2022
1 parent 916fb42 commit 72e8d92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit 72e8d92

Please sign in to comment.