Skip to content

Commit

Permalink
boards/stm32f4discovery: use default port to access stdio via cdc acm
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Mar 10, 2023
1 parent 13d0895 commit b6628dd
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions boards/stm32f4discovery/Makefile.include
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
# we use shared STM32 configuration snippets
INCLUDES += -I$(RIOTBOARD)/common/stm32/include

# set default port depending on operating system
PORT_LINUX ?= /dev/ttyUSB0
PORT_DARWIN ?= $(firstword $(sort $(wildcard /dev/tty.SLAB_USBtoUART*)))

# this board uses openocd with st-link
PROGRAMMER ?= openocd
OPENOCD_DEBUG_ADAPTER ?= stlink
Expand Down

0 comments on commit b6628dd

Please sign in to comment.