forked from prusa3d/Prusa-Firmware
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ADD ADDITIONAL CONFIGS ADD .drone.yml Update .gitignore Update MK3 Mesh Definitions Fixes #1 MK3 BMG Z_MAX_POS 210 * Only MK3S FW needs to have 205/204 as MK3 Printer type is set to MK3 for BMG MK3, so the default 210 should work fine. USE GOLD BUILD
- Loading branch information
1 parent
d8756d4
commit 949f8bf
Showing
16 changed files
with
7,989 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,131 @@ | ||
kind: pipeline | ||
name: default | ||
|
||
workspace: | ||
path: Prusa-Firmware | ||
|
||
steps: | ||
- name: test | ||
image: vertigo235/cmake | ||
commands: | ||
- bash -x test.sh | ||
- cp Firmware/variants/1_75mm_MK3S-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3S-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3S-BEAR-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3S-BEAR-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3-BEAR-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3-BEAR-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BEAR-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-BEAR-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BEAR-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-BEAR-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25-BEAR-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25-BEAR-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25-BEAR-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25-BEAR-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- cp Firmware/variants/1_75mm_MK2-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK2-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK2-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK2-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3-BMG-16-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3-BMG-16-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3-BMG-32-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3-BMG-32-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3S-BMG-16-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3S-BMG-16-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK3S-BMG-32-EINSy10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK3S-BMG-32-EINSy10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BMG-.9-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-BMG-.9-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BMG-.9-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-.9-BMG-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BMG-1.8-RAMBo10a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-BMG-1.8-RAMBo10a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
- cp Firmware/variants/1_75mm_MK25S-BMG-1.8-RAMBo13a-E3Dv6full.h Firmware/Configuration_prusa.h | ||
- bash -x build.sh || { echo "1_75mm_MK25S-1.8-BMG-RAMBo13a-E3Dv6full variant failed" && false; } | ||
- rm Firmware/Configuration_prusa.h | ||
when: | ||
event: | ||
- push | ||
- tag | ||
- pull_request | ||
- name: build | ||
image: vertigo235/cmake | ||
environment: | ||
BUILD_TYPE: GOLD | ||
commands: | ||
- chmod +x PF-build.sh | ||
- chmod +x lang/config.sh | ||
- chmod +x lang/fw-clean.sh | ||
- chmod +x lang/lang-clean.sh | ||
- bash -x PF-build.sh 1_75mm_MK3S-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3S-BEAR-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3-BEAR-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BEAR-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BEAR-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25-BEAR-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25-BEAR-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3-BMG-16-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3-BMG-32-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3S-BMG-16-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK3S-BMG-32-EINSy10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BMG-.9-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BMG-.9-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BMG-1.8-RAMBo10a-E3Dv6full.h ALL $BUILD_TYPE | ||
- bash -x PF-build.sh 1_75mm_MK25S-BMG-1.8-RAMBo13a-E3Dv6full.h ALL $BUILD_TYPE | ||
- cd $CI_WORKSPACE | ||
- mkdir out | ||
- cd $DRONE_WORKSPACE_BASE/Hex-files | ||
- mv `find -name "*.zip"` $CI_WORKSPACE/out | ||
- mv `find -name "*.hex"` $CI_WORKSPACE/out | ||
when: | ||
event: | ||
- tag | ||
- name: publish | ||
image: plugins/github-release | ||
settings: | ||
api_key: | ||
from_secret: github-token | ||
prerelease: true | ||
draft: true | ||
checksum: md5 | ||
files: | ||
- out/*.* | ||
when: | ||
event: | ||
- tag |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode | ||
.settings | ||
.project | ||
.cproject | ||
|
Oops, something went wrong.