当前位置:网站首页>ESP8266 FreeRTOS开发环境搭建
ESP8266 FreeRTOS开发环境搭建
2022-07-01 09:17:00 【SEP5010】
1 ESP8266 FreeRTOS Linux环境设置
1) Download the mandatory tools
sudo apt-get install autoconf gperf bison flex texinfo gawk libtool libncurses5-dev expat
2) mkdir /home/rdadmin/esp
3) cd /home/rdadmin/esp
4) git clone -b lx106 git://github.com/jcmvbkbc/crosstool-NG.git
或http://crosstool-ng.org/download/crosstool-ng/
5) cd crosstool-NG/
6) ./bootstrap && ./configure –prefix=`pwd` && make && make install
7) ./ct-ng xtensa-lx106-elf
8) Start to download and build the cross-tool-chain, don’t care gdb error
./ct-ng build
9) Add the following settings to ~/.bashrc
XCC=/home/rdadmin/esp/crosstool-NG/builds/xtensa-lx106-elf
export PATH=$XCC/bin:$PATH
10) Download libc.a, libhal.a and headers
wget https://github.com/esp8266/esp8266-wiki/raw/master/libs/libc.a
wget https://github.com/esp8266/esp8266-wiki/raw/master/libs/libhal.a
wget https://github.com/esp8266/esp8266-wiki/raw/master/include.tgz
cp libc.a libhal.a $XCC/lib/gcc/xtensa-lx106-elf/4.8.2/
tar -xvf include.tgz
cp -fr include/* $XCC/lib/gcc/xtensa-lx106-elf/4.8.2/include
11) Download the esp8266 freeRTOS SDK
git clone https://github.com/espressif/ESP8266_RTOS_SDK
mkdir code
cd /home/rdadmin/esp/code/
git clone https://github.com/espressif/esp8266_iot_platform
2 Build
2.1 Change gen_misc.sh
Add the following comments to gen_misc.sh
export SDK_PATH=/home/rdadmin/esp/ESP8266_RTOS_SDK
export BIN_PATH=/home/rdadmin/esp/ESP8266_RTOS_SDK/bin
2.2 Build Argument
Create a text file <barg.txt>, add the following comment to it.
y
1
2
0
5
Then
./gen_misc.sh < barg.txt
3 Download Firmware
3.1 UART Baud Rate
LOG: 74880
DNL: 115200
3.2 Download Config
Figure 3-1 SPI Flash Partition Table
Please refer to “ESP_doc\Software&Tools\Getting Started\2a-esp8266-sdk_getting_started_guide_en_0.pdf” for detail.
Figure 3-2 Download Snapshot
4 Abbreviations
crosstool-ng: crosstool Next Generation
ESP8266:Espressif Systems Pte., Ltd.;其中Pte表示Private,WiFi MAC来自于CEVA, MTK and Spreadtrum also use CEVA WiFi MAC
边栏推荐
- Football and basketball game score live broadcast platform source code /app development and construction project
- delete和delete[]引发的问题
- 2.2 【pytorch】torchvision. transforms
- [ESP nanny level tutorial] crazy completion chapter - Case: chemical environment system detection based on Alibaba cloud and Arduino, supporting nail robot alarm
- 如何高效拉齐团队认知
- jeecg 重启报40001
- Principles of Microcomputer - internal and external structure of microprocessor
- 【pytorch】nn.CrossEntropyLoss() 与 nn.NLLLoss()
- In the middle of the year, where should fixed asset management go?
- Tree structure --- binary tree 1
猜你喜欢

Design and manufacture of simple digital display electronic scale

Phishing identification app

FAQ | FAQ for building applications for large screen devices
![[pytorch] 2.4 convolution function nn conv2d](/img/eb/382a00af5f88d5954f10ea76343d6e.png)
[pytorch] 2.4 convolution function nn conv2d

2.4 激活函数

How to manage fixed assets well? Easy to point and move to provide intelligent solutions

Mise en œuvre simple de l'équilibrage de la charge par nacos

Vsync+ triple cache mechanism +choreographer

NiO zero copy

Mysql 优化
随机推荐
2.4 激活函数
Mysql 优化
Simple load balancing with Nacos
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于物联网的GY906红外测温门禁刷卡系统
Log4j log framework
Performance improvement 2-3 times! The second generation Kunlun core server of Baidu AI Cloud was launched
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于阿里云和Arduino的化学环境系统检测,支持钉钉机器人告警
Win7 pyinstaller reports an error DLL load failed while importing after packaging exe_ Socket: parameter error
[pytorch] softmax function
Graduation season, I want to tell you
记一次redis超时
It technology ebook collection
[ESP nanny level tutorial preview] crazy node JS server - Case: esp8266 + MQ Series + nodejs local service + MySQL storage
Promise异步编程
SDN_ Simple summary
Shell script - array definition and getting array elements
【ESP 保姆级教程 预告】疯狂Node.js服务器篇 ——案例:ESP8266 + DHT11 +NodeJs本地服务+ MySQL数据库
足球篮球体育比赛比分直播平台源码/app开发建设项目
MySQL optimization
Pain points and solutions of fixed assets management of group companies