Skip to content

Commit

Permalink
Allow for debugger on ttyUSB*
Browse files Browse the repository at this point in the history
Clone Arduino Megas are now enumerated on ttyUSB instead of ttyACM.

Signed-off-by: Michał Kopeć <[email protected]>
  • Loading branch information
mkopec committed Jun 20, 2024
1 parent b59372d commit c920e1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/board/arduino/mega2560/board.mk
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ board-y += parallel.c
EC=atmega
EC_VARIANT=atmega2560

PORT=$(wildcard /dev/ttyACM*)
PORT=$(wildcard /dev/ttyACM* /dev/ttyUSB*)
CONSOLE_BAUD=1000000
CFLAGS+=-D__CONSOLE_BAUD__=$(CONSOLE_BAUD)

Expand Down
2 changes: 1 addition & 1 deletion src/board/system76/common/common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ CFLAGS+=-DCONFIG_SECURITY=1
endif

# Set external programmer
PROGRAMMER=$(wildcard /dev/serial/by-id/usb-Arduino*)
PROGRAMMER=$(wildcard /dev/ttyACM* /dev/ttyUSB*)

ifeq ($(CONFIG_BUS_ESPI),y)
CFLAGS += -DCONFIG_BUS_ESPI=1
Expand Down

0 comments on commit c920e1b

Please sign in to comment.