Code: Select all
mkdir -p ~/esp
cd esp
tar -xzf ~/Downloads/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz
export PATH=$PATH:$HOME/esp/xtensa-esp32-elf/bin
git clone --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf
git submodule update --init
cd ~/esp
git clone https://github.com/espressif/esp-idf-template.git myapp
cd ~/esp/myapp
make menuconfig
Code: Select all
Makefile:8: /make/project.mk: No such file or directory
make: *** No rule to make target '/make/project.mk'. Stop.
the makefile in myapp has an
Code: Select all
include $(IDF_PATH)/make/project.mk
Code: Select all
include /home/esp/esp-idf/make/project.mk
Code: Select all
include /home/esp/esp-idf/make