1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/esp32s3-devkit/Makefile.include
Marian Buschsieweke 7228cf1108
boards/esp32*-devkit: 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 CP2102N USB2UART bridge. But depending on the boards
attached, it might be good enough to reliably tell it apart from other
boards.
2023-12-06 11:14:21 +01:00

17 lines
677 B
Makefile

PSEUDOMODULES += esp32s3_devkitc_1_n8
PSEUDOMODULES += esp32s3_devkitc_1_n8r2
PSEUDOMODULES += esp32s3_devkitc_1_n8r8
PSEUDOMODULES += esp32s3_devkitc_1_n16r8v
PSEUDOMODULES += esp32s3_devkitc_1_n32r8v
PSEUDOMODULES += esp32s3_devkitc_1u_n8
PSEUDOMODULES += esp32s3_devkitc_1u_n8r2
PSEUDOMODULES += esp32s3_devkitc_1u_n8r8
PSEUDOMODULES += esp32s3_devkitm_1_n8r8
PSEUDOMODULES += esp32s3_devkitm_1u_n8r8
include $(RIOTBOARD)/common/esp32s3/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 'CP2102N USB to UART Bridge Controller'