## Build for ESP-IDF

Download and install ESP-IDF v4.0

```sh
export IDF_PATH=/opt/esp32/esp-idf

# Set tools path if needed:
#export IDF_TOOLS_PATH=/opt/esp32

source $IDF_PATH/export.sh

idf.py menuconfig

# Select target:
idf.py set-target esp32s2beta # or esp32

idf.py build

idf.py -p /dev/ttyUSB0 flash monitor

```

## Build for ESP-IDF

Download and install ESP-IDF v4.3-beta1

```sh
export IDF_PATH=/opt/esp32/esp-idf

# Set tools path if needed:
#export IDF_TOOLS_PATH=/opt/esp32

source $IDF_PATH/export.sh

idf.py menuconfig

# Select target:
idf.py set-target esp32
#idf.py set-target esp32s2
#idf.py --preview set-target esp32c3

idf.py build

idf.py -p /dev/ttyUSB0 flash monitor

```

Add build instructions for ESP32-C3
Add build instructions for ESP32-C3
