Closed KuhlTime closed 5 years ago
Hi @KuhlTime
If your using a MAC you can use these bash files to install the ESP32 toolchain.
part one:
#!/usr/bin/env bash
#Install Prerequisites
sudo easy_install pip
touch ~/.bash_profile
# Setup Toolchain
mkdir -p ~/esp32
cd ~/esp32
curl -O https://dl.espressif.com/dl/xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
tar -xzf xtensa-esp32-elf-osx-1.22.0-80-g6c4433a-5.2.0.tar.gz
#update PATH environment variable
echo "export PATH=$HOME/esp32/xtensa-esp32-elf/bin:$PATH" >> ~/.bash_profile
#Get ESP-IDF
cd ~/esp32
git clone -b v3.2 --recursive https://github.com/espressif/esp-idf.git
#update PATH environment variable
echo "export IDF_PATH=~/esp32/esp-idf" >> ~/.bash_profile
Restart your Mac en the run part two:
#!/usr/bin/env bash
#Install the Required Python Packages
python -m pip install --user -r $IDF_PATH/requirements.txt
Thanks for your quick replay @AchimPieters. After reinstalling everything it worked fine. I think I might have missed updating my esp-idf
for a while.
When I'm compiling the led example for the esp32 I always get the following error. I can only imagine that I have missed installing something.