From 0f492ba9b08b3934f22e795ad5080e8f8d343a4f Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Tue, 7 Jun 2022 09:16:06 +0200 Subject: [PATCH 1/2] boards/nrf52dk: provide TTY_BOARD_FILTER --- boards/nrf52dk/Makefile.include | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/boards/nrf52dk/Makefile.include b/boards/nrf52dk/Makefile.include index 3829da8c5d..c86c0c8eab 100644 --- a/boards/nrf52dk/Makefile.include +++ b/boards/nrf52dk/Makefile.include @@ -1 +1,5 @@ +# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter +# USB serials to only select the UART bridge of integrated J-Link debugger. +TTY_BOARD_FILTER := --model J-Link + include $(RIOTBOARD)/common/nrf52xxxdk/Makefile.include From bf55069612a4d957325f7d2a11db39eab46d368e Mon Sep 17 00:00:00 2001 From: Marian Buschsieweke Date: Tue, 7 Jun 2022 09:18:58 +0200 Subject: [PATCH 2/2] boards/msba2: provide TTY_BOARD_FILTER --- boards/msba2/Makefile.include | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/boards/msba2/Makefile.include b/boards/msba2/Makefile.include index 15bd457882..278dd85100 100644 --- a/boards/msba2/Makefile.include +++ b/boards/msba2/Makefile.include @@ -1 +1,7 @@ +# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter +# USB serials to only select the UART bridge of integrated J-Link debugger. +# (Note: This is not a typo, maybe the MSB-430 FTDI chips were reused for the +# MSB-A2 or so?) +TTY_BOARD_FILTER := --model MSB430A + include $(RIOTBOARD)/common/msba2/Makefile.include