1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:32:45 +01:00

boards/hifive1b: Add TTY_BOARD_FILTER

This allows to reliably select the TTY of a connected HiFive board even
when multiple boards are connected, provided `MOST_RECENT_PORT=1` is
set.
This commit is contained in:
Marian Buschsieweke 2023-01-08 19:55:38 +01:00
parent 1814bcd211
commit 90abf7c9a1
No known key found for this signature in database
GPG Key ID: CB8E3238CE715A94

View File

@ -19,5 +19,11 @@ else
PROGRAMMER ?= openocd
endif
# If port selection via ttys.py is enabled by `MOST_RECENT_PORT=1`, filter
# USB serials to only select the first UART bridge of integrated J-Link
# debugger (that identifies as "HiFive" as model). Use --iface-num 2 to select
# the UART bridge to the ESP32-SOLO-1 MCU instead of the FE310 MCU on the board.
TTY_BOARD_FILTER := --model HiFive --iface-num 0
TESTRUNNER_RESET_DELAY = 1
$(call target-export-variables,test,TESTRUNNER_RESET_DELAY)