1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/boards/esp32-ethernet-kit-v1_0/Makefile.include
Marian Buschsieweke 28a5ec3911
boards/esp32-*-kit*: add TTY board filter
When using `make flash` or `make term` with `MOST_RECENT_PORT=1`, RIOT
should now select relatively robustly the most recently connected
ESP32 Ethernet Kit / ESP32 Wrover Kit board, even with other TTYs
present. This is because the FTDI Dual RS232-HS with two USB2UART
bridges in the chip would be an expensive overkill for most boards,
unless one is using the FTDI chip to big-bang JTAG as well - as done
on the Ethernet Kit and Wrover Kit boards.
2023-12-06 11:14:21 +01:00

14 lines
416 B
Makefile

# configure the serial interface
PORT_LINUX ?= /dev/ttyUSB1
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