diff --git a/.github/workflows/esp32.yml b/.github/workflows/esp32.yml index 7b14b9d..127ed1d 100644 --- a/.github/workflows/esp32.yml +++ b/.github/workflows/esp32.yml @@ -6,7 +6,7 @@ name: CI # events but only for the master branch on: push: - branches: [ main ] + branches: [ main, dev ] paths: - 'src/**' - 'platformio.ini' @@ -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 diff --git a/platformio.ini b/platformio.ini index 2554213..9ac70b9 100644 --- a/platformio.ini +++ b/platformio.ini @@ -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 \ No newline at end of file