-
-
Notifications
You must be signed in to change notification settings - Fork 675
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #467 from justcallmekoko/unified-serial
Unified serial
- Loading branch information
Showing
15 changed files
with
306 additions
and
554 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ name: Build and Push | |
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: [opened, reopened] | ||
|
||
jobs: | ||
# This workflow contains a single job called "build" | ||
|
@@ -205,27 +204,6 @@ jobs: | |
run: | | ||
mv ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.ino.bin ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.flipper.bin | ||
- name: Configure SD Serial for Flipper Zero SD Serial | ||
run: | | ||
pwd | ||
sed -i 's/^ \/\/#define WRITE_PACKETS_SERIAL/ #define WRITE_PACKETS_SERIAL/' esp32_marauder/configs.h | ||
- name: Build Marauder SD Serial for Flipper Zero WiFi Dev Board | ||
uses: ArminJo/[email protected] | ||
with: | ||
sketch-names: esp32_marauder.ino | ||
arduino-board-fqbn: esp32:esp32:esp32s2:PartitionScheme=min_spiffs,FlashSize=4M,PSRAM=enabled | ||
extra-arduino-cli-args: "--warnings none" | ||
|
||
- name: Rename Marauder Flipper SD Serial bin | ||
run: | | ||
mv ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.ino.bin ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.flipper_sd_serial.bin | ||
- name: Remove SD Serial | ||
run: | | ||
pwd | ||
sed -i 's/^ #define WRITE_PACKETS_SERIAL/ \/\/#define WRITE_PACKETS_SERIAL/' esp32_marauder/configs.h | ||
- name: Build Marauder for Flipper Zero Multi Board | ||
uses: ArminJo/[email protected] | ||
with: | ||
|
@@ -464,13 +442,6 @@ jobs: | |
path: ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.flipper.bin | ||
retention-days: 5 | ||
|
||
- name: 'Upload Flipper SD Serial Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: esp32_marauder.flipper_sd_serial.bin | ||
path: ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.flipper_sd_serial.bin | ||
retention-days: 5 | ||
|
||
- name: 'Upload MultiboardS3 Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
|
@@ -558,18 +529,6 @@ jobs: | |
asset_content_type: application/bin | ||
if: github.event_name != 'pull_request' | ||
|
||
- name: Upload Flipper SD Serial Asset | ||
id: upload-flipper-sd-serial-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
upload_url: ${{ steps.create_release.outputs.upload_url }} | ||
asset_path: ./esp32_marauder/build/esp32.esp32.esp32s2/esp32_marauder.flipper_sd_serial.bin | ||
asset_name: esp32_marauder.flipper_sd_serial.bin | ||
asset_content_type: application/bin | ||
if: github.event_name != 'pull_request' | ||
|
||
- name: Upload MultiboardS3 Asset | ||
id: upload-multiboardS3-release-asset | ||
uses: actions/upload-release-asset@v1 | ||
|
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
Oops, something went wrong.