Skip to content

update toolchain to esp-idf v4.4.6 and arduino-esp32 2.0.14 #138

update toolchain to esp-idf v4.4.6 and arduino-esp32 2.0.14

update toolchain to esp-idf v4.4.6 and arduino-esp32 2.0.14 #138

Workflow file for this run

name: Build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- uses: actions/cache@v3
id: cache-toolchaine
with:
path: |
~/esp
~/.espressif/
key: ${{ runner.os }}-espidf-and-compiler-v445-u2204
- name: esp-idf Dependencies Setup
run: |
sudo apt-get install git wget flex bison gperf python3 python3-pip python3-setuptools cmake ninja-build ccache libffi-dev libssl-dev dfu-util libusb-1.0-0
- name: esp-idf Toolchain Setup
if: steps.cache-toolchaine.outputs.cache-hit != 'true'
run: |
mkdir -p ~/esp
cd ~/esp
git clone -b v4.4.5 --recursive https://github.com/espressif/esp-idf.git
cd ~/esp/esp-idf
./install.sh esp32c3
- name: Build
run: |
. ~/esp/esp-idf/export.sh
pip3 install -r $IDF_PATH/requirements.txt
idf.py build
cd wasm/clockenv
npm install
npm run asbuild
cd ../gpsgsv
npm install
npm run asbuild
cd ../imu6886
npm install
npm run asbuild