Skip to content

Commit

Permalink
Merge pull request #20153 from maribu/boards/esp32-ethernet-kit/board…
Browse files Browse the repository at this point in the history
…-filter

boards/esp32*: add TTY board filter
  • Loading branch information
gschorcht authored Dec 6, 2023
2 parents e0e4936 + f80f47c commit 8f01dbf
Show file tree
Hide file tree
Showing 11 changed files with 44 additions and 0 deletions.
4 changes: 4 additions & 0 deletions boards/esp32-ethernet-kit-v1_0/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 4 additions & 0 deletions boards/esp32-mh-et-live-minikit/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32-olimex-evb/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32-ttgo-t-beam/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32-wemos-lolin-d32-pro/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32-wroom-32/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32-wrover-kit/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions boards/esp32c3-devkit/Makefile.include
Original file line number Diff line number Diff line change
@@ -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'
4 changes: 4 additions & 0 deletions boards/esp32s2-devkit/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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'
4 changes: 4 additions & 0 deletions boards/esp32s2-lilygo-ttgo-t8/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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'
4 changes: 4 additions & 0 deletions boards/esp32s3-devkit/Makefile.include
Original file line number Diff line number Diff line change
Expand Up @@ -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'

0 comments on commit 8f01dbf

Please # to comment.