系统: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