microsoft / vscode-arduino

Visual Studio Code extension for Arduino
Other
1.16k stars 218 forks source link

Wrong Board Detection (WeMos D1 mini) #1039

Open omothm opened 4 years ago

omothm commented 4 years ago

The board being detected upon connection isn't correct. If the board detection feature is meant to be accurate (not just a helpful hint), then I believe there is an issue with the detection mechanism.

The issue was noticed with a WeMos D1 mini board (definitions here). When inserted, WeMos D1 is detected (which has twice as many IO pins as the correct one).

Environment

Prerequisites

  1. Make sure the necessary board definitions are installed (referenced above).

Steps to reproduce

  1. Insert a WeMos D1 mini board and notice the name of the detected board.

Expected behavior

Detecting "WeMos D1 R2 & mini".

Actual behavior

Detecting "WeMos D1".

hellyzh commented 4 years ago

1029 When connecting the LOLIN(Wemos) D1 R2 it is falsely identified as D1 R1