mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
28a5ec3911
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.
15 lines
455 B
Makefile
15 lines
455 B
Makefile
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
|
|
|
|
include $(RIOTBOARD)/common/esp32/Makefile.include
|