Skip to content

Commit

Permalink
Update - Spider Speedy configs
Browse files Browse the repository at this point in the history
  • Loading branch information
classicrocker883 committed Nov 23, 2024
1 parent 9c200fe commit 8646138
Show file tree
Hide file tree
Showing 2 changed files with 559 additions and 31 deletions.
299 changes: 284 additions & 15 deletions .github/workflows/compile-configs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ jobs:
temp: [true,false]
tjc: [true,false]
t13: [true,false]
t5: [true,false]
bmp: [true,false]
steps:
- uses: actions/checkout@main
Expand Down Expand Up @@ -215,9 +214,8 @@ jobs:
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
if ($T13); then TTMP=_SPRT13; else TTMP=; fi;
if ($T5); then SDTMP=_SPDY5; else SDTMP=; fi;
if ($BMP); then MPTMP=_BMP; else MPTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}${TTMP}${SDTMP}${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
echo "filename=${DTMP}Aquila_${AVTMP}${TTMP}${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
Expand All @@ -240,7 +238,7 @@ jobs:
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
if ($T13); then THMP="13"; DSMP="424.9"; elif ($T5); then THMP="5"; DSMP="98"; else THMP="1"; DSMP="98"; fi;
if ($T13); then THMP="13"; DSMP="424.9"; else THMP="1"; DSMP="98"; fi;
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 ${THMP}/" Marlin/Configuration.h
sed -i "s/.*#define DEFAULT_AXIS_STEPS_PER_UNIT.*/#define DEFAULT_AXIS_STEPS_PER_UNIT { 80,80,400,${DSMP} }/" Marlin/Configuration.h
if ($BMP); then MPDEMP=; MPEMP='\/\/'; MPHS="LOW"; else MPDEMP='\/\/'; MPEMP=; MPHS="HIGH"; fi;
Expand All @@ -259,7 +257,103 @@ jobs:
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
T13: ${{ matrix.t13 }}
T5: ${{ matrix.t5 }}
BMP: ${{ matrix.bmp }}
- name: Get release
id: get_release
uses: bruceadams/get-release@main
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-EX-T5-A: # UBL EX T5 Speedy for Aquila
name: Build UBL EX T5 Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
inshape: [true,false]
temp: [true,false]
tjc: [true,false]
bmp: [true,false]
steps:
- uses: actions/checkout@main
- name: Setup node
uses: actions/setup-node@main
with:
node-version: 20
- name: Cache pip
uses: actions/cache@main
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@main
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip wheel platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
if ($BMP); then MPTMP=_BMP; else MPTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}_SPDY5${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/UBL/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/UBL/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/UBL/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/" platformio.ini
if ($IS); then STEMP=; else STEMP='\/\/'; fi;
sed -i "s/.*#define INPUT_SHAPING_X/${STEMP}#define INPUT_SHAPING_X/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Y/${STEMP}#define INPUT_SHAPING_Y/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Z/${STEMP}#define INPUT_SHAPING_Z/" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; MTEMP=; else PTEMP=; MTEMP='\/\/'; fi;
sed -i "0,/^#define PIDTEMP/ s/.*#define PIDTEMP/${PTEMP}#define PIDTEMP/" Marlin/Configuration.h
sed -i "s/.*#define MPCTEMP/${MTEMP}#define MPCTEMP/" Marlin/Configuration.h
sed -i "s/.*#define SHOW_SPEED_IND/${PTEMP}#define SHOW_SPEED_IND/" Marlin/Configuration.h
if [[ $IS && $TP ]]; then
sed -i "s/.*#define HAS_CUSTOM_COLORS 1/\/\/#define HAS_CUSTOM_COLORS 1/" Marlin/Configuration.h
sed -i "s/.*#define MARLIN_SMALL_BUILD/#define MARLIN_SMALL_BUILD/" Marlin/Configuration_adv.h
fi;
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 5/" Marlin/Configuration.h
if ($BMP); then MPDEMP=; MPEMP='\/\/'; MPHS="LOW"; else MPDEMP='\/\/'; MPEMP=; MPHS="HIGH"; fi;
sed -i "s/.*#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN/${MPDEMP}#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN/" Marlin/Configuration.h
sed -i "s/.*#define Z_MIN_ENDSTOP_HIT_STATE.*/#define Z_MIN_ENDSTOP_HIT_STATE ${MPHS}/" Marlin/Configuration.h
sed -i "s/.*#define Z_MIN_PROBE_ENDSTOP_HIT_STATE.*/#define Z_MIN_PROBE_ENDSTOP_HIT_STATE ${MPHS}/" Marlin/Configuration.h
sed -i "s/.*#define BLTOUCH/${MPEMP}#define BLTOUCH/" Marlin/Configuration.h
sed -i "s/.*#define BIQU_MICROPROBE_V2/${MPDEMP}#define BIQU_MICROPROBE_V2/" Marlin/Configuration.h
sed -i "s/.*#define PROBE_ENABLE_DISABLE/${MPDEMP}#define PROBE_ENABLE_DISABLE/" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
IS: ${{ matrix.inshape }}
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
BMP: ${{ matrix.bmp }}
- name: Get release
id: get_release
Expand All @@ -285,7 +379,6 @@ jobs:
temp: [true,false]
tjc: [true,false]
t13: [true,false]
t5: [true,false]
steps:
- uses: actions/checkout@main
- name: Setup node
Expand Down Expand Up @@ -319,8 +412,7 @@ jobs:
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
if ($T13); then TTMP=_SPRT13; else TTMP=; fi;
if ($T5); then SDTMP=_SPDY5; else SDTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}_IND${TTMP}${SDTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
echo "filename=${DTMP}Aquila_${AVTMP}_IND${TTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
Expand All @@ -344,7 +436,7 @@ jobs:
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
if ($T13); then THMP="13"; DSMP="424.9"; elif ($T5); then THMP="5"; DSMP="98"; else THMP="1"; DSMP="98"; fi;
if ($T13); then THMP="13"; DSMP="424.9"; else THMP="1"; DSMP="98"; fi;
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 ${THMP}/" Marlin/Configuration.h
sed -i "s/.*#define DEFAULT_AXIS_STEPS_PER_UNIT.*/#define DEFAULT_AXIS_STEPS_PER_UNIT { 80,80,400,${DSMP} }/" Marlin/Configuration.h
pio run
Expand All @@ -356,7 +448,94 @@ jobs:
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
T13: ${{ matrix.t13 }}
T5: ${{ matrix.t5 }}
- name: Get release
id: get_release
uses: bruceadams/get-release@main
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-EX-IND-T5-A: # UBL EX IND T5 Speedy for Aquila X3/S2
name: Build UBL EX IND T5 Files A
runs-on: ubuntu-latest
strategy:
matrix:
chip: [GD32,N32]
inshape: [true,false]
temp: [true,false]
tjc: [true,false]
steps:
- uses: actions/checkout@main
- name: Setup node
uses: actions/setup-node@main
with:
node-version: 20
- name: Cache pip
uses: actions/cache@main
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@main
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip wheel platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$AQUILA_VER" = GD32 ]; then AVTMP="GD32"; else AVTMP="N32"; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}_IND_SPDY5_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila/X3/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila/X3/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila/X3/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = ${AQUILA_VER}F103RC_voxelab_maple/" platformio.ini
if ($IS); then STEMP=; ITEMP='\/\/'; else STEMP='\/\/'; ITEMP=; fi;
sed -i "s/.*#define HAS_CGCODE 1/${ITEMP}#define HAS_CGCODE 1/" Marlin/Configuration.h
sed -i "s/.*#define HAS_CUSTOM_COLORS 1/${ITEMP}#define HAS_CUSTOM_COLORS 1/" Marlin/Configuration.h
sed -i "s/.*#define INPUT_SHAPING_X/${STEMP}#define INPUT_SHAPING_X/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Y/${STEMP}#define INPUT_SHAPING_Y/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Z/${STEMP}#define INPUT_SHAPING_Z/" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; MTEMP=; else PTEMP=; MTEMP='\/\/'; fi;
sed -i "0,/^#define PIDTEMP/ s/.*#define PIDTEMP/${PTEMP}#define PIDTEMP/" Marlin/Configuration.h
sed -i "s/.*#define MPCTEMP/${MTEMP}#define MPCTEMP/" Marlin/Configuration.h
sed -i "s/.*#define HAS_CUSTOM_COLORS 1/${PTEMP}#define HAS_CUSTOM_COLORS 1/" Marlin/Configuration.h
if [[ $IS && $TP ]]; then
sed -i "s/.*#define MARLIN_SMALL_BUILD/#define MARLIN_SMALL_BUILD/" Marlin/Configuration_adv.h
fi;
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 5/" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/${AQUILA_VER}F103RC_voxelab_maple/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
IS: ${{ matrix.inshape }}
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
- name: Get release
id: get_release
uses: bruceadams/get-release@main
Expand Down Expand Up @@ -825,7 +1004,6 @@ jobs:
temp: [true,false]
tjc: [true,false]
t13: [true,false]
t5: [true,false]
bmp: [true,false]
steps:
- uses: actions/checkout@main
Expand Down Expand Up @@ -860,9 +1038,8 @@ jobs:
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
if ($T13); then TTMP=_SPRT13; else TTMP=; fi;
if ($T5); then SDTMP=_SPDY5; else SDTMP=; fi;
if ($BMP); then MPTMP=_BMP; else MPTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}${TTMP}${SDTMP}${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
echo "filename=${DTMP}Aquila_${AVTMP}${TTMP}${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
Expand All @@ -881,7 +1058,7 @@ jobs:
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
if ($T13); then THMP="13"; DSMP="424.9"; elif ($T5); then THMP="5"; DSMP="98"; else THMP="1"; DSMP="98"; fi;
if ($T13); then THMP="13"; DSMP="424.9"; else THMP="1"; DSMP="98"; fi;
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 ${THMP}/" Marlin/Configuration.h
sed -i "s/.*#define DEFAULT_AXIS_STEPS_PER_UNIT.*/#define DEFAULT_AXIS_STEPS_PER_UNIT { 80,80,400,${DSMP} }/" Marlin/Configuration.h
if ($BMP); then MPDEMP=; MPEMP='\/\/'; MPHS="LOW"; else MPDEMP='\/\/'; MPEMP=; MPHS="HIGH"; fi;
Expand All @@ -900,7 +1077,99 @@ jobs:
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
T13: ${{ matrix.t13 }}
T5: ${{ matrix.t5 }}
BMP: ${{ matrix.bmp }}
- name: Get release
id: get_release
uses: bruceadams/get-release@main
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload Release Asset
uses: tanyagray/action-upload-release-asset@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }}
asset_path: temp/build.bin
asset_name: ${{ steps.build_configs.outputs.filename }}
asset_content_type: application/x-binary
Build-UBL-EX-T5-A4: # UBL EX T5 Speedy for Aquila 427
name: Build UBL EX T5 Files A4
runs-on: ubuntu-latest
strategy:
matrix:
chip: [427,422]
inshape: [true,false]
temp: [true,false]
tjc: [true,false]
bmp: [true,false]
steps:
- uses: actions/checkout@main
- name: Setup node
uses: actions/setup-node@main
with:
node-version: 20
- name: Cache pip
uses: actions/cache@main
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Cache PlatformIO
uses: actions/cache@main
with:
path: ~/.platformio
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}
- name: Set up Python
uses: actions/setup-python@main
with:
python-version: '3.11'
- name: Install PlatformIO
run: |
python3 -m pip install --upgrade pip wheel platformio
- name: Run PlatformIO
id: build_configs
run: |
if [ "$AQUILA_VER" = 427 ]; then AVTMP="427"; DBORD='CREALITY_V427'; else AVTMP="422"; DBORD='CREALITY_V422'; fi;
if ($IS); then ISTMP=-IS; else ISTMP=; fi;
if ($TP); then TPTMP=-MPC; else TPTMP=; fi;
if ($TJC); then DTMP=TJC-; else DTMP=; fi;
if ($BMP); then MPTMP=_BMP; else MPTMP=; fi;
echo "filename=${DTMP}Aquila_${AVTMP}_SPDY5${MPTMP}_UBL-ProUI-EX${ISTMP}${TPTMP}$(date +"-%m-%d").bin" >> $GITHUB_OUTPUT
> Marlin/Configuration.h
> Marlin/Configuration_adv.h
> Marlin/Version.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Configuration.h Marlin/Configuration.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Configuration_adv.h Marlin/Configuration_adv.h
cp configurations/Voxelab\ Aquila\ 427/UBL/Version.h Marlin/Version.h
sed -i "s/default_envs =.*/default_envs = STM32F103RE_creality/" platformio.ini
sed -i "s/.*#define MOTHERBOARD BOARD_.*/#define MOTHERBOARD BOARD_${DBORD}/" Marlin/Configuration.h
if ($IS); then STEMP=; else STEMP='\/\/'; fi;
sed -i "s/.*#define INPUT_SHAPING_X/${STEMP}#define INPUT_SHAPING_X/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Y/${STEMP}#define INPUT_SHAPING_Y/" Marlin/Configuration_adv.h
sed -i "s/.*#define INPUT_SHAPING_Z/${STEMP}#define INPUT_SHAPING_Z/" Marlin/Configuration_adv.h
if ($TP); then PTEMP='\/\/'; MTEMP=; else PTEMP=; MTEMP='\/\/'; fi;
sed -i "0,/^#define PIDTEMP/ s/.*#define PIDTEMP/${PTEMP}#define PIDTEMP/" Marlin/Configuration.h
sed -i "s/.*#define MPCTEMP/${MTEMP}#define MPCTEMP/" Marlin/Configuration.h
if ($TJC); then TJEMP=; REMP='\/\/'; else TJEMP='\/\/'; REMP=; fi;
sed -i "s/.*#define TJC_DISPLAY/${TJEMP}#define TJC_DISPLAY/" Marlin/Configuration.h
sed -i "s/.*#define REVERSE_ENCODER_DIRECTION/${REMP}#define REVERSE_ENCODER_DIRECTION/" Marlin/Configuration.h
sed -i "s/^#define TEMP_SENSOR_0.*/#define TEMP_SENSOR_0 5/" Marlin/Configuration.h
if ($BMP); then MPDEMP=; MPEMP='\/\/'; MPHS="LOW"; else MPDEMP='\/\/'; MPEMP=; MPHS="HIGH"; fi;
sed -i "s/.*#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN/${MPDEMP}#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN/" Marlin/Configuration.h
sed -i "s/.*#define Z_MIN_ENDSTOP_HIT_STATE.*/#define Z_MIN_ENDSTOP_HIT_STATE ${MPHS}/" Marlin/Configuration.h
sed -i "s/.*#define Z_MIN_PROBE_ENDSTOP_HIT_STATE.*/#define Z_MIN_PROBE_ENDSTOP_HIT_STATE ${MPHS}/" Marlin/Configuration.h
sed -i "s/.*#define BLTOUCH/${MPEMP}#define BLTOUCH/" Marlin/Configuration.h
sed -i "s/.*#define BIQU_MICROPROBE_V2/${MPDEMP}#define BIQU_MICROPROBE_V2/" Marlin/Configuration.h
sed -i "s/.*#define PROBE_ENABLE_DISABLE/${MPDEMP}#define PROBE_ENABLE_DISABLE/" Marlin/Configuration.h
pio run
mkdir temp
mv .pio/build/STM32F103RE_creality/*.bin temp/build.bin
env:
AQUILA_VER: ${{ matrix.chip }}
IS: ${{ matrix.inshape }}
TP: ${{ matrix.temp }}
TJC: ${{ matrix.tjc }}
BMP: ${{ matrix.bmp }}
- name: Get release
id: get_release
Expand Down
Loading

0 comments on commit 8646138

Please sign in to comment.