Skip to content

Commit

Permalink
s3 env
Browse files Browse the repository at this point in the history
  • Loading branch information
rednblkx committed Jul 22, 2024
1 parent 4c9930c commit 463b052
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/esp32.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ name: CI
# events but only for the master branch
on:
push:
branches: [ main ]
branches: [ main, dev ]
paths:
- 'src/**'
- 'platformio.ini'
Expand Down Expand Up @@ -67,3 +67,15 @@ jobs:
with:
name: esp32c3-app-firmware
path: .pio/build/c3/firmware.bin
- name: Build Firmware ESP32-S3
run: pio run -e s3
- name: Archive merged firmware
uses: actions/upload-artifact@v4
with:
name: esp32s3-firmware-merged
path: .pio/build/s3/firmware_merged.bin
- name: Archive firmware
uses: actions/upload-artifact@v4
with:
name: esp32s3-app-firmware
path: .pio/build/s3/firmware.bin
7 changes: 7 additions & 0 deletions platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -64,5 +64,12 @@ upload_flags =
platform = espressif32
board = esp32-c3-devkitm-1
build_type = release
build_flags =
-Os

[env:s3]
platform = espressif32
board = esp32-s3-devkitm-1
build_type = release
build_flags =
-Os

0 comments on commit 463b052

Please sign in to comment.