一、编译环境配置
我们先安装编译需要的软件包
sudo apt-get install git autoconf build-essential gperf bison flex texinfo libtool libncurses5-dev wget gawk libc6-dev-amd64 python-serial libexpat-dev
export PATH=”/opt/xtensa-lx106-elf/bin/:$PATH”
报错:
/opt/xtensa-lx106-elf/lib/gcc/xtensa-lx106-elf/4.8.2/include/sys/fcntl.h:31:34: fatal error: xtensa/simcall-fcntl.h: No such file or directory
#include <xtensa/simcall-fcntl.h>
cp -Rp ~/Share/ESP8266_RTOS_SDK/extra_include/xtensa ./