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

Merge pull request #20153 from maribu/boards/esp32-ethernet-kit/board-filter

boards/esp32*: add TTY board filter
This commit is contained in:
Gunar Schorcht 2023-12-06 10:41:29 +00:00 committed by GitHub
commit 8f01dbfecb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 44 additions and 0 deletions

View File

@ -6,4 +6,8 @@ ifneq (,$(filter esp_jtag,$(USEMODULE)))
OPENOCD_CONFIG ?= board/esp32-ethernet-kit-3.3v.cfg
endif
# Only consider TTYs matching the following filter when auto-selecting the TTY
# with `MOST_RECENT_PORT=1`.
TTY_BOARD_FILTER := --driver 'ftdi_sio' --vendor FTDI --model 'Dual RS232-HS' --iface-num 1
include $(RIOTBOARD)/common/esp32/Makefile.include

View File

@ -1 +1,5 @@
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 'CP2104 USB to UART Bridge Controller'

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 += esp32_ttgo_t_beam_v1_0
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 'CP2104 USB to UART Bridge Controller'

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'

View File

@ -1 +1,5 @@
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'

View File

@ -3,6 +3,10 @@ PSEUDOMODULES += esp32_wrover_kit_camera
# configure the serial interface
PORT_LINUX ?= /dev/ttyUSB1
# Only consider TTYs matching the following filter when auto-selecting the TTY
# with `MOST_RECENT_PORT=1`.
TTY_BOARD_FILTER := --driver 'ftdi_sio' --vendor FTDI --model 'Dual RS232-HS' --iface-num 1
ifneq (,$(filter esp_jtag,$(USEMODULE)))
OPENOCD_CONFIG ?= board/esp32-wrover-kit-3.3v.cfg
endif

View File

@ -1 +1,5 @@
include $(RIOTBOARD)/common/esp32c3/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'

View File

@ -6,3 +6,7 @@ PSEUDOMODULES += esp32s2_saola_1
PSEUDOMODULES += esp32s2_saola_1r
include $(RIOTBOARD)/common/esp32s2/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'

View File

@ -5,3 +5,7 @@ ifneq (,$(filter esp32s2-lilygo-ttgo-t8-usb,$(USEMODULE)))
endif
include $(RIOTBOARD)/common/esp32s2/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 'USB Serial'

View File

@ -10,3 +10,7 @@ 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'