Limit I2C to 400kHz on ESP32-H2. SSD1306 benchmarks for H2 and C6 #3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ESP32-C3 | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'src/**' | |
- '.github/workflows/build_esp32c3.yml' | |
push: | |
paths: | |
- 'src/**' | |
- '.github/workflows/build_esp32c3.yml' | |
jobs: | |
esp32c3: | |
name: esp32c3 ${{ matrix.sketches.name }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
sketches: | |
- name: serial | |
- name: wifi | |
board: | |
- fqbn: esp32:esp32:esp32c3 | |
denko-target: esp32 | |
platforms: | | |
- name: esp32:esp32 | |
source-url: https://raw.githubusercontent.com/espressif/arduino-esp32/gh-pages/package_esp32_index.json | |
libraries: | | |
- name: IRremoteESP8266 | |
version: 2.8.5 | |
- name: ESP32Servo | |
- name: Adafruit NeoPixel | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- name: Generate | |
id: generate | |
run: echo "path=$(./bin/denko sketch ${{ matrix.sketches.name }} --target ${{ matrix.board.denko-target }})" >> $GITHUB_OUTPUT | |
- name: Compile Arduino Sketches | |
uses: arduino/compile-sketches@v1.1.1 | |
with: | |
platforms: ${{ matrix.board.platforms }} | |
fqbn: ${{ matrix.board.fqbn }} | |
libraries: ${{ matrix.board.libraries }} | |
sketch-paths: | | |
- ${{ steps.generate.outputs.path }} |