Skip to content

Commit

Permalink
fix Genius Bed Size!!!, include Configuration.h and Configuration_adv…
Browse files Browse the repository at this point in the history
….h in release
  • Loading branch information
David Haßhoff committed Mar 28, 2023
1 parent 8ec5bbc commit 3bca058
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/build-marlin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,17 @@ jobs:
run: |
mkdir -p release/AT-SW-fil-lev/Marlin
cp -r freakydude-Marlin/.pio/build/Artillery_Ruby/firmware.bin release/AT-SW-fil-lev/Marlin/firmware.bin
cp -r freakydude-Marlin/Marlin/Configuration.h release/AT-SW-fil-lev/Marlin/Configuration.h
cp -r freakydude-Marlin/Marlin/Configuration_adv.h release/AT-SW-fil-lev/Marlin/Configuration_adv.h
# ------------------- AT-GP-fil-lev -------------------
# change #define X_BED_SIZE and Y_BED_SIZE to 220
- name: Change X_BED_SIZE and Y_BED_SIZE from 300 to 220 in Configuration.h
run: |
cd freakydude-Marlin
sed -i 's/#define X_BED_SIZE 300/#define X_BED_SIZE 220/g' Marlin/src/inc/Conditionals_post.h
sed -i 's/#define Y_BED_SIZE 300/#define Y_BED_SIZE 220/g' Marlin/src/inc/Conditionals_post.h
sed -i 's/#define X_BED_SIZE 300/#define X_BED_SIZE 220/g' Marlin/Configuration.h
sed -i 's/#define Y_BED_SIZE 300/#define Y_BED_SIZE 220/g' Marlin/Configuration.h
sed -i 's/#define Z_MAX_POS 400/#define Z_MAX_POS 250/g' Marlin/Configuration.h
# Build the AT-GP-fil-lev-Marlin firmware
- name: Build Artillery Ruby
run: |
Expand All @@ -119,6 +123,8 @@ jobs:
run: |
mkdir -p release/AT-GP-fil-lev/Marlin
cp -r freakydude-Marlin/.pio/build/Artillery_Ruby/firmware.bin release/AT-GP-fil-lev/Marlin/firmware.bin
cp -r freakydude-Marlin/Marlin/Configuration.h release/AT-GP-fil-lev/Marlin/Configuration.h
cp -r freakydude-Marlin/Marlin/Configuration_adv.h release/AT-GP-fil-lev/Marlin/Configuration_adv.h
# TODO add other Marlin configs and firmware
# ------------------- Build Display -------------------
# ------------------- AT-SW-fil-lev -------------------
Expand Down

0 comments on commit 3bca058

Please sign in to comment.