Technology Sharing

Arduino ESP8266 development environment construction

2024-07-08

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Arduino ESP8266 development environment construction

A long time ago, when I was learning embedded systems, I used Arduino 8266 for development. The development cost was low, the difficulty was small, and the experience was very good.

Recently, I suddenly needed to use it again, so I built the environment again, but there were a lot of changes and some minor setbacks, so I posted a post to record them.

environment:

Windows 10

Arduino IDE 2.3.2

ESP8266 3.1.2

1. Install IDE

Official website:Arduino - Home

Simply download and install the corresponding version.

2. Add ESP8266 development board information

I have changed the language to Simplified Chinese.

Click Preferences and find the field to fill in.

Fill in the link below:

http://arduino.esp8266.com/stable/package_esp8266com_index.json

3. Install the development board

In Tools, Board Manager, search for ESP8266

Click to install (I have already installed)

The installation process willQuite slow, mainly becausenetworkProblem, so an offline installation method is recommended

4. Offline installation

(1) Download information json

Download this file with the development board link filled in

http://arduino.esp8266.com/stable/package_esp8266com_index.json

(2) Download library files

After downloading, open it and manually find the link to download 5 files.

First, the main body of the development board

Second, Python. Please make sure to download the version that matches your computer. I use X86_64.

The third one, xtensa-lx106-elf-gcc

The fourth one, mkspiffs

The fifth one, mklittlefs

(3) Moving files

Move the above files to

C:Usersyourusername]AppDataLocalArduino15stagingpackages

Click Install again and the installation is successful.

Here's what's in my Arduino15stagingpackages directory.