Amazon FreeRTOS Workshop

Logo

Amazon Freertos workshop using the M5 StickC

View the Project on GitHub onsankawai/amazon-freertos-m5stickc-workshop

Setup toolchain for ESP32

In the Cloud9 Terminal window install prerequisites

sudo yum install flex gperf
sudo pip install pyserial

Download 64-bit version of Xtensa ESP32 toolchain:

cd ~/environment
wget https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

Create esp directory and unzip the tar archive there:

mkdir ~/environment/esp
cd ~/environment/esp
tar xvfz ../xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz

Add toolchain path to ~/.bash_profile PATH variable

PATH=$PATH:$HOME/.local/bin:$HOME/bin:$HOME/environment/esp/xtensa-esp32-elf/bin

Re-evaluate ~/bash_profile

source ~/.bash_profile

Next Step

Create your Thing