搭建ESP-IDF生产环境
打开快速入门网站入手:https://docs.espressif.com/projects/esp-idf/zh_CN/latest/get-started/index.html#
从快速入门网页可以知道,操作分了如下几个步骤:
首先开始设置工具链:
sudo apt-get install git wget libncurses-dev flex bison gperf python python-click python-pip python-setuptools python-serial python-cryptography python-future python-pyparsing python-pyelftools cmake ninja-build ccache
下载并解压:https://dl.espressif.com/dl/xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-linux-amd64.tar.gz
mkdir -p ~/esp
cd ~/esp
tar -xzf ~/Downloads/xtensa-esp32-elf-gcc8_2_0-esp32-2019r1-linux-amd64.tar.gz