Today I will show you how to install ESP8266 support for the Arduino IDE and at the end you already should be able to flash your code directly from Arduino IDE to your NodeMCU. So let's start!
First of all open the Arduino IDE and go to File > Preference
Image 1 - Arduino IDE File Menu |
Then copy the link below and paste it on "Additional Boards Manager URLs" as you can see in image 2.
http://arduino.esp8266.com/stable/package_esp8266com_index.json
Image 2 - Preferences Window |
Now just click OK to save and close Preferences Windows. If you complete successfully the steps above now we should be able to install ESP8266 support to Arduino IDE. Just go to Tools > Board > Boards Manager...
Image 3 - Arduino IDE Tools Menu |
Type into search box esp8266 or navigate through options and search for esp8266 community and install it as you can see in image bellow.
Image 4 - Boards Manager Window |
Congratulations, now you should be able to find ESP boards in Tools Menu and flash it directly from Arduino IDE.
Sem comentários:
Enviar um comentário