当前位置:网站首页>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
边栏推荐
- 【ESP 保姆级教程 预告】疯狂Node.js服务器篇 ——案例:ESP8266 + DHT11 +NodeJs本地服务+ MySQL数据库
- Structure de l'arbre - - - arbre binaire 2 traversée non récursive
- 2.3 [kaggle dataset - dog feed example] data preprocessing, rewriting dataset, dataloader reading data
- JS rewrite their own functions
- 2022.02.15_ Daily question leetcode six hundred and ninety
- Football and basketball game score live broadcast platform source code /app development and construction project
- ESP8266 FreeRTOS开发环境搭建
- 手指点击屏幕就模拟进入F11进入全屏
- Why is the Ltd independent station a Web3.0 website!
- 记一次redis超时
猜你喜欢

Phishing identification app

2.4 activation function

【pytorch】2.4 卷积函数 nn.conv2d

【pytorch】nn. Crossentropyloss() and nn NLLLoss()

js作用域链与闭包

Microcomputer principle - bus and its formation

Principle and application of single chip microcomputer timer, serial communication and interrupt system

nacos簡易實現負載均衡

JS scope chain and closure

nacos服务配置和持久化配置
随机推荐
JS原型链
Class loading
微信小程序 webview 禁止页面滚动,同时又不影响业务内overflow的滚动的实现方式
Meituan machine test in 2022
Log4j 日志框架
tensorrt yolov5_ trt. Py comments
Niuke monthly race 22 tree sub chain
3D打印Arduino 四轴飞行器
How to manage fixed assets efficiently in one stop?
Nacos service configuration and persistence configuration
OSPF - virtual link details (including configuration commands)
Principle and application of single chip microcomputer timer, serial communication and interrupt system
树结构---二叉树2非递归遍历
How to solve the problem of fixed assets management and inventory?
Mise en œuvre simple de l'équilibrage de la charge par nacos
Jetson nano installs tensorflow GPU and problem solving
JS scope chain and closure
An overview of the design of royalties and service fees of mainstream NFT market platforms
I use flask to write the website "one"
js valueOf 与 toString 区别