当前位置:网站首页>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
边栏推荐
- Nacos service configuration and persistence configuration
- Naoqi robot summary 28
- The fixed assets management system enables enterprises to dynamically master assets
- Structure de l'arbre - - - arbre binaire 2 traversée non récursive
- OSPF - virtual link details (including configuration commands)
- Phishing identification app
- delete和delete[]引发的问题
- NiO zero copy
- js作用域链与闭包
- Reproduced Xray - cve-2017-7921 (unauthorized access by Hikvision)
猜你喜欢
随机推荐
Principles of Microcomputer - Introduction
Databinding source code analysis
【pytorch】nn. AdaptiveMaxPool2d
Football and basketball game score live broadcast platform source code /app development and construction project
[video game training] real topic of 2013 video game of infrared optical communication device
【pytorch】transforms.Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5))
Niuke monthly race 22 tree sub chain
Nacos service configuration and persistence configuration
【ESP 保姆级教程】疯狂毕设篇 —— 案例:基于物联网的GY906红外测温门禁刷卡系统
【检测技术课案】简易数显电子秤的设计与制作
Pain points and solutions of fixed assets management of group companies
[ESP nanny level tutorial] crazy completion chapter - Case: gy906 infrared temperature measurement access card swiping system based on the Internet of things
Vsync+ triple cache mechanism +choreographer
JS use toString to distinguish between object and array
Promise asynchronous programming
Can diffusion models be regarded as an autoencoder?
R language observation log (part24) -- initialization settings
I use flask to write the website "one"
闭包实现迭代器效果
In the middle of the year, where should fixed asset management go?



![[pytorch] softmax function](/img/97/b8ae22e8496a77e665d716cb0e9ee3.png)





