Skip to content

Commit

Permalink
Merge pull request #366 from JDLopes/devel
Browse files Browse the repository at this point in the history
change default serial port to connect to FPGAs
  • Loading branch information
jjts authored Mar 22, 2022
2 parents 916fb42 + 72e8d92 commit c79db59
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 c79db59

Please sign in to comment.