mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
03a1a02ec2
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT should now only consider plausible TTYs and select the most recently connected one. The filter is a bit broad, though, and will match any board with a CP2102 USB2UART bridge. But depending on the boards attached, it might be good enough to reliably tell it apart from other boards.
6 lines
269 B
Makefile
6 lines
269 B
Makefile
include $(RIOTBOARD)/common/esp32/Makefile.include
|
|
|
|
# Only consider TTYs matching the following filter when auto-selecting the TTY
|
|
# with `MOST_RECENT_PORT=1`.
|
|
TTY_BOARD_FILTER := --driver 'cp210x' --vendor 'Silicon Labs' --model 'CP2102 USB to UART Bridge Controller'
|