diff --git a/boards/esp32-olimex-evb/Makefile.include b/boards/esp32-olimex-evb/Makefile.include index 6d21df9fa5..331cf84c6e 100644 --- a/boards/esp32-olimex-evb/Makefile.include +++ b/boards/esp32-olimex-evb/Makefile.include @@ -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' diff --git a/boards/esp32-wemos-lolin-d32-pro/Makefile.include b/boards/esp32-wemos-lolin-d32-pro/Makefile.include index 782a1579a8..826398d8eb 100644 --- a/boards/esp32-wemos-lolin-d32-pro/Makefile.include +++ b/boards/esp32-wemos-lolin-d32-pro/Makefile.include @@ -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'