Skip to content

Update ESP32 support to SDK V3.0 #115

Update ESP32 support to SDK V3.0

Update ESP32 support to SDK V3.0 #115

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events
push:
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
pull_request:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install Arduino CLI
uses: arduino/setup-arduino-cli@master
- run: |
mkdir -p "$HOME/Arduino/libraries"
ln -s "$PWD" "$HOME/Arduino/libraries/."
- run: |
arduino-cli lib install "DHT sensor library"
arduino-cli lib install "Servo"
- run: |
arduino-cli config init
arduino-cli config add board_manager.additional_urls https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_dev_index.json
arduino-cli core update-index
arduino-cli core install arduino:avr
arduino-cli core install arduino:sam
- run: |
arduino-cli core install esp32:esp32
- run: arduino-cli compile --fqbn arduino:avr:uno ./examples/ConfigurableFirmata --warnings more
- run: arduino-cli compile --fqbn arduino:sam:arduino_due_x_dbg ./examples/ConfigurableFirmata --warnings more
- run: arduino-cli compile --fqbn esp32:esp32:esp32:PSRAM=disabled,PartitionScheme=default,CPUFreq=240,FlashMode=qio,FlashFreq=80,FlashSize=4M,UploadSpeed=921600,DebugLevel=none ./examples/ConfigurableFirmata --warnings more