Nodemcu mini d1 / Wemos mini d1 pinout

driver :

status line :

開發板>>選 WeMos D1 R2 & mini

D1 MINI USB driver : CH340 Driver

Using Boards Manager
Start Arduino and open Preferences window.
into Additional Board Manager URLs field. You can add multiple URLs, separating them with commas.

Open Boards Manager from Tools > Board menu and install esp8266 platform.
write this url :

Configure Board

After install hardware package, you will see WEMOS boards in the Tools→Board:xxx Choose your right board.