当前位置:网站首页>Construction of esp8266/esp32 development environment
Construction of esp8266/esp32 development environment
2022-06-11 04:01:00 【z_ Curtain】
Development environment construction
development environment
| ESP8266 | ESP32 | |
|---|---|---|
| Tool chain | xtensa-lx106-elf-gcc | xtensa-esp32-elf-gcc |
| SDK | ESP8266-RTOS-SDK | ESP-IDF |
| window | msys32 | msys32(4.0 The version can be installed with one click ) |
| linux | Need to install python software package | Need to install python software package |
| command | make | make、idf.py(4.0 above ) |
ESP32 Different components ( Such as development board related components ), Different models are right ESP-IDF There are version requirements , Need to re correspond IDF Version can be compiled (ESP32-S2 need 4.2 above ,ESP32-C3 And needs 4.3 above )
Environment building steps
ESP8266-RTOS-SDK as well as ESP-IDF4.0 following
1、 download 、 Unzip the toolchain
2、 from github Cloned SDK( A complete clone module is required , Otherwise, there will be compilation errors )
3.1、(windows Next ) download msys32, And in etc/profile Set tool chain in 、SDK environment variable
3.2、(linux Next ) Installation related python software package , And in profile Set tool chain in 、SDK environment variable
export PATH=" Tool chain path /bin:$PATH"'
export IDF_PATH="SDK route "
ESP-IDF4.0 above
linux The installation steps under are basically the same .
windows You can directly use the official one click installation tool to download SDK And tool chains .
Run after downloading SDK In the catalog install Scripts and export Script , After successful operation, the project can be compiled .
VSCode Internal use msys32
stay vscode Of setting Add terminal path to , Then you can use 
stay vscode Use in msys32 It's possible to meet make menuconfig Garbled situation , stay msys32\etc\profile.d In the directory esp32_toolchain.sh file , Add a row to solve the problem
export LANG="en_US"

Reference link
1、ESP32:https://docs.espressif.com/projects/esp-idf/zh_CN/latest/esp32/get-started/index.html
2、ESP8266:https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/index.html#
边栏推荐
- Source Insight 4.0设置注释与反注释的快捷键
- Object storage Minio tutorial
- Manual testing cannot be changed to automated testing. What is missing?
- 密码找回功能可能存在的问题(补充)
- PostgreSQL statement
- Programming battle -- challenging college entrance examination questions
- 6. form label
- Final review of software engineering notes (short answer)
- Radar emitter modulation signal simulation (code)
- Market prospect analysis and Research Report of beam combiner in 2022
猜你喜欢
![[network] socket programming](/img/df/2afc300bfc2dd319247a4b75ef7e2c.png)
[network] socket programming

编程大作战 -- 挑战高考题

Docker builds a redis Cluster - three machines, three masters and three slaves

regular expression

Build local source 2.0 for Galaxy Kirin server version

Google 有哪些牛逼的开源项目?

Manual testing cannot be changed to automated testing. What is missing?

Source Insight 4.0设置注释与反注释的快捷键

VNC remote configuration of Galaxy Kirin server system

Linq. pdf
随机推荐
Writing shell scripts using vscode
常用测试用例设计方法之场景法详解
编程大作战 -- 挑战高考题
Market prospect analysis and Research Report of digital line scan camera in 2022
Why does the hospital comprehensive security system synchronize the NTP clock of the network server?
【CNN】|How much position information do convolutional neural networks encode?
[pan micro E9 development] single sign on Kingdee eas
Manual testing cannot be changed to automated testing. What is missing?
[interpretable] | axiomatic attribute for deep networks
强烈推荐这款神器,一行命令将网页转PDF!
Programming battle -- challenging college entrance examination questions
Record a VMware problem
1_ Attribute management function
Docker uses PXC to build a MySQL Cluster (mysql:5.7.24)
A.前缀极差(C语言)
大厂外包or自研公司?测试人找工作怎么选?
Final review of software engineering notes (short answer)
SQL query users logged in for three consecutive days
7. 列表标签
手工测试转不了自动化测试,缺的是什么?