文章参考:https://blog.csdn.net/AUST_129/article/details/119406722文章浏览阅读1.8k次,点赞4次,收藏19次。参考:https://docs.espressif.com/projects/esp8266-rtos-sdk/en/latest/get-started/linux-setup.htmlhttp://aiclouds3.0-docs.aithinker.com/#/2.device/configuration_linux?id=%e4%b8%89%e3%80%81%e7%bc%96%e8%af%91%e4%bb%a3%e7%a0%81%ef%bc%9b一、windows 安装 Linux 系._esp8266 ubuntuhttps://blog.csdn.net/AUST_129/article/details/119406722
sudo apt-get install gcc git wget make libncurses-dev flex bison gperf python3 python3-serial
git clone --recursive https://github.com/espressif/ESP8266_RTOS_SDK.git
wget https://dl.espressif.com/dl/xtensa-lx106-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
tar -xzf xtensa-lx106-elf-gcc8_4_0-esp-2020r3-linux-amd64.tar.gz
sudo rm /usr/bin/python
python3 -v
sudo ln -s /usr/bin/python3.8 /usr/bin/python
/usr/bin/python -m pip install --user -r /home/joey/ESP/ESP8266_RTOS_SDK/requirements.txt
vim ~/.bashrc
export IDF_PATH=/home/joey/ESP/ESP8266_RTOS_SDK
export PATH="$PATH:$HOME/ESP/xtensa-lx106-elf/bin"
source ~/.bashrc
~/ESP/ESP8266_RTOS_SDK$ ./install.sh
~/ESP/ESP8266_RTOS_SDK$ . ./export.sh
~/ESP/ESP8266_RTOS_SDK$ cd examples/get-started/hello_world/
~/ESP/ESP8266_RTOS_SDK/examples/get-started/hello_world$ make