1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

boards/esp32-olimex-evb,esp32-wemos-lolin-d32-pro: add TTY board filter

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 CH430 USB 2.0 UART2USB bridge. But depending on the
boards attached, it might be good enough to reliably tell it apart from
other boards.
This commit is contained in:
Marian Buschsieweke 2023-12-06 10:08:46 +01:00
parent 9308a6f526
commit 9dcbab218a
No known key found for this signature in database
GPG Key ID: 77AA882EC78084E6
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
PSEUDOMODULES += olimex_esp32_gateway
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 'ch341' --vendor '1a86' --model 'USB2.0-Serial'

View File

@ -1,3 +1,7 @@
PSEUDOMODULES += esp_lolin_tft
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 'ch341' --vendor '1a86' --model 'USB2.0-Serial'