当前位置:网站首页>Construction of esp8266 FreeRTOS development environment
Construction of esp8266 FreeRTOS development environment
2022-07-01 09:21:00 【SEP5010】
1 ESP8266 FreeRTOS Linux Environment settings
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
or 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.; among Pte Express Private,WiFi MAC From CEVA, MTK and Spreadtrum also use CEVA WiFi MAC
边栏推荐
- Summary of reptile knowledge points
- Structure de l'arbre - - - arbre binaire 2 traversée non récursive
- 2.2 【pytorch】torchvision.transforms
- 【pytorch学习】torch.device
- Tree structure --- binary tree 1
- Day06 branch structure and cycle (III)
- Closure implementation iterator effect
- Redis -- lattice connects to redis cluster
- 序列化、监听、自定义注解
- Understand shallow replication and deep replication through code examples
猜你喜欢

How to realize the usage of connecting multiple databases in idel

PR training notes
![[video game training] real topic of 2013 video game of infrared optical communication device](/img/ef/c2c45c1c6c24aed0a4e93101047372.png)
[video game training] real topic of 2013 video game of infrared optical communication device

Understanding and implementation of AVL tree

JS scope chain and closure

3D打印Arduino 四轴飞行器

Principles of Microcomputer - internal and external structure of microprocessor
![2.3 [pytorch] data preprocessing torchvision datasets. ImageFolder](/img/19/cce8d8a7cdcb1021166c46adf803c1.png)
2.3 [pytorch] data preprocessing torchvision datasets. ImageFolder

Principle and application of single chip microcomputer timer, serial communication and interrupt system
![2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data](/img/6e/d8ef618127ac492f5142f7b600266d.png)
2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data
随机推荐
R language observation log (part24) -- initialization settings
JS prototype chain
Bird recognition app
Which method is good for the management of fixed assets of small and medium-sized enterprises?
MySQL optimization
Simple load balancing with Nacos
Football and basketball game score live broadcast platform source code /app development and construction project
nacos簡易實現負載均衡
Key points of NFT supervision and overseas policies
Is it safe to dig up money and make new shares
Jetson nano installs tensorflow GPU and problem solving
JS scope chain and closure
【pytorch】nn. Crossentropyloss() and nn NLLLoss()
SDN_ Simple summary
I use flask to write the website "one"
短路运算符惰性求值
Daily office consumables management solution
js this丢失问题分析 及 解决方案
【ESP 保姆级教程 预告】疯狂Node.js服务器篇 ——案例:ESP8266 + MQ系列 + NodeJs本地服务 + MySql存储
[ESP nanny level tutorial] crazy completion chapter - Case: chemical environment system detection based on Alibaba cloud and Arduino, supporting nail robot alarm