NODEMCU 固件编译

系统:Ubuntu

sudo apt-get update
sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python python-pip python-setuptools python-serial

 系统软件安装:

echo "install esp-open-sdk depandence"
 sudo apt-get install gawk
 sudo apt install texinfo
sudo apt-get install makeinfo
sudo apt-get install libtool

 sudo apt-get install autoconf automake libtool

git clone --recursive https://github.com/espressif/esp-idf.git
sudo apt-get install make unrar-free autoconf automake libtool gcc g++ gperf flex bison texinfo gawk ncurses-dev     libexpat-dev python-dev python python-serial sed git unzip bash help2man wget bzip2

cd ~
echo "git cmd"
echo "git "
git submodule update
git clone --recursive https://github.com/pfalcon/esp-open-sdk.git
git clone --recursive https://github.com/espressif/esp-adf.git
echo $PATH
echo $IDF_PATH


export IDF_PATH=/home/chen/esp8266/ESP8266_RTOS_SDK
export IDF_PATH=/home/chen/esp32/esp-idf

make
export IDF_PATH=/home/chen/esp32/esp-idf
export IDF_PATH=~/esp32/adf/esp-idf
export ADF_PATH=~/esp32/adf

sudo pip install --upgrade pip
sudo pip install --upgrade click 5.0
sudo pip install --upgrade future 0.15.2
sudo apt-get install build-essential libssl-dev  libffi-dev python-dev
sudo pip install --upgrade cryptography 2.1.4
sudo pip install --upgrade pyparsing 2.0.3 2.4.0 
sudo pip install --upgrade pyelftools 0.22
sudo pip install pyparsing==2.0.3
sudo pip install pyelftools==0.22
click>=5.0
future>=0.15.2
cryptography>=2.1.4
pyparsing>=2.0.3,<2.4.0
pyelftools>=0.22
export PATH=/home/chen/esp-open-sdk/xtensa-lx106-elf/bin:$PATH

 git remote add esp32 https://github.com/jackccchen1/esp32.git
 git push -u esp32 master


git clone --recursive https://github.com/siara-cc/esp32-idf-sqlite3.git

~/buildroot/output/build/qt5base-5.11.3/bin/qmake -v


下载 nodemcu源代码

gitclone --recursive https://github.com/nodemcu/nodemcu-firmware.git

编译源代码:

make

烧录

make flash4m

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值