From 567d0441a05c2523664b736851943d2fd6bfdbd8 Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Fri, 22 Nov 2024 14:36:41 +0100 Subject: [PATCH] boards/adafruit-metro-m4-express: improve TTY detection Also detect TTY of bootloader with `MOST_RECENT_PORT=1`. --- boards/adafruit-metro-m4-express/Makefile.include | 2 ++ 1 file changed, 2 insertions(+) diff --git a/boards/adafruit-metro-m4-express/Makefile.include b/boards/adafruit-metro-m4-express/Makefile.include index d9b879af10..bf9a2d4f0a 100644 --- a/boards/adafruit-metro-m4-express/Makefile.include +++ b/boards/adafruit-metro-m4-express/Makefile.include @@ -1,5 +1,7 @@ CFLAGS += -DBOOTLOADER_UF2 +PROG_TTY_BOARD_FILTER := --vendor 'Adafruit Industries' --model 'Metro M4 Express' + # Include all definitions for flashing with bossa other USB include $(RIOTBOARD)/common/samdx1-arduino-bootloader/Makefile.include # Include handling of serial and non-bossa programmers (if selected by user)