-
-
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.
- Loading branch information
1 parent
af96ff6
commit 6d87ec0
Showing
21 changed files
with
1,426 additions
and
82 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 |
---|---|---|
|
@@ -130,6 +130,7 @@ jobs: | |
cp User_Setup_Select.h CustomTFT_eSPI/ | ||
cp User_Setup_marauder_mini.h CustomTFT_eSPI/ | ||
cp User_Setup_og_marauder.h CustomTFT_eSPI/ | ||
cp User_Setup_marauder_m5cardputer.h CustomTFT_eSPI/ | ||
cp User_Setup_marauder_m5stickc.h CustomTFT_eSPI/ | ||
cp User_Setup_marauder_rev_feather.h CustomTFT_eSPI/ | ||
pwd | ||
|
@@ -187,6 +188,8 @@ jobs: | |
sed -i 's/^ \/\/#define MARAUDER_FLIPPER/ #define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for Flipper Zero WiFi Dev Board | ||
uses: ArminJo/[email protected] | ||
|
@@ -227,6 +230,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for OG Marauder | ||
uses: ArminJo/[email protected] | ||
|
@@ -254,6 +259,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
#- name: Build Marauder for v6 Marauder with arduino/compile-sketches | ||
# uses: arduino/compile-sketches@v1 | ||
|
@@ -295,6 +302,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for v6.1 Marauder | ||
uses: ArminJo/[email protected] | ||
|
@@ -321,6 +330,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for Marauder Kit | ||
uses: ArminJo/[email protected] | ||
|
@@ -347,6 +358,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for Marauder Mini | ||
uses: ArminJo/[email protected] | ||
|
@@ -371,6 +384,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ \/\/#define ESP32_LDDB/ #define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for ESP32 LDDB | ||
uses: ArminJo/[email protected] | ||
|
@@ -395,6 +410,8 @@ jobs: | |
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ \/\/#define MARAUDER_DEV_BOARD_PRO/ #define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for Marauder Dev Board Pro | ||
uses: ArminJo/[email protected] | ||
|
@@ -424,6 +441,7 @@ jobs: | |
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ \/\/#define MARAUDER_M5STICKC/ #define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
- name: Build Marauder for Marauder M5StickC | ||
uses: ArminJo/[email protected] | ||
|
@@ -435,7 +453,36 @@ jobs: | |
- name: Rename Marauder M5StickC bin | ||
run: | | ||
mv ./esp32_marauder/build/esp32.esp32.m5stick-c/esp32_marauder.ino.bin ./esp32_marauder/build/esp32.esp32.m5stick-c/esp32_marauder.m5stickc_plus.bin | ||
- name: Configure configs.h for M5Cardputer | ||
run: | | ||
sed -i 's/^#include <User_Setup_marauder_m5stickc.h>/\/\/#include <User_Setup_marauder_m5stickc.h>/' /home/runner/Arduino/libraries/CustomTFT_eSPI/User_Setup_Select.h | ||
sed -i 's/^\/\/#include <User_Setup_marauder_m5cardputer.h>/#include <User_Setup_marauder_m5cardputer.h>/' /home/runner/Arduino/libraries/CustomTFT_eSPI/User_Setup_Select.h | ||
sed -i 's/^ #define MARAUDER_REV_FEATHER/ \/\/#define MARAUDER_REV_FEATHER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_MINI/ \/\/#define MARAUDER_MINI/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_V4/ \/\/#define MARAUDER_V4/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_V6/ \/\/#define MARAUDER_V6/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_V6_1/ \/\/#define MARAUDER_V6_1/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_KIT/ \/\/#define MARAUDER_KIT/' esp32_marauder/configs.h | ||
sed -i 's/^ #define GENERIC_ESP32/ \/\/#define GENERIC_ESP32/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_FLIPPER/ \/\/#define MARAUDER_FLIPPER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ \/\/#define MARAUDER_M5CARDPUTER/ #define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
- name: Build Marauder for M5Cardputer | ||
uses: ArminJo/[email protected] | ||
with: | ||
sketch-names: esp32_marauder.ino | ||
arduino-board-fqbn: esp32:esp32:esp32s3:PartitionScheme=min_spiffs,FlashSize=8M,PSRAM=disabled | ||
extra-arduino-cli-args: "--warnings none" | ||
|
||
- name: Rename Marauder M5Cardputer bin | ||
run: | | ||
mv ./esp32_marauder/build/esp32.esp32.esp32s3/esp32_marauder.ino.bin ./esp32_marauder/build/esp32.esp32.esp32s3/esp32_marauder.m5cardputer.bin | ||
- name: Configure TFT_eSPI and configs.h for Marauder Rev Feather | ||
run: | | ||
pwd | ||
|
@@ -454,6 +501,7 @@ jobs: | |
sed -i 's/^ #define ESP32_LDDB/ \/\/#define ESP32_LDDB/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_DEV_BOARD_PRO/ \/\/#define MARAUDER_DEV_BOARD_PRO/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5STICKC/ \/\/#define MARAUDER_M5STICKC/' esp32_marauder/configs.h | ||
sed -i 's/^ #define MARAUDER_M5CARDPUTER/ \/\/#define MARAUDER_M5CARDPUTER/' esp32_marauder/configs.h | ||
- name: Build Marauder for Marauder Rev Feather | ||
uses: ArminJo/[email protected] | ||
|
@@ -539,6 +587,13 @@ jobs: | |
name: esp32_marauder.m5stickc_plus.bin | ||
path: ./esp32_marauder/build/esp32.esp32.m5stick-c/esp32_marauder.m5stickc_plus.bin | ||
retention-days: 5 | ||
|
||
- name: 'Upload Marauder M5Cardputer Artifact' | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: esp32_marauder.m5cardputer.bin | ||
path: ./esp32_marauder/build/esp32.esp32.esp32s3/esp32_marauder.m5cardputer.bin | ||
retention-days: 5 | ||
|
||
- name: 'Upload Rev Feather Artifact' | ||
uses: actions/upload-artifact@v3 | ||
|
@@ -679,6 +734,18 @@ jobs: | |
asset_content_type: application/bin | ||
if: github.event_name != 'pull_request' | ||
|
||
- name: Upload Marauder M5Cardputer Asset | ||
id: upload-m5cardputer-plus-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.esp32s3/esp32_marauder.m5cardputer.bin | ||
asset_name: esp32_marauder.m5cardputer.bin | ||
asset_content_type: application/bin | ||
if: github.event_name != 'pull_request' | ||
|
||
- name: Upload Rev Feather Asset | ||
id: upload-rev-feather-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
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.