forked from mainsail-crew/MainsailOS
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Evil Azrael
committed
Aug 6, 2024
1 parent
6a9f365
commit bcb77da
Showing
8 changed files
with
103 additions
and
86 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
#!/usr/bin/env bash | ||
# Shebang for better file detection | ||
# shellcheck enable=require-variable-braces | ||
ARTILLERY_X4_MODEL="plus" | ||
BASE_ARCH="arm64" | ||
|
||
# Image source | ||
#DOWNLOAD_BASE_URL="https://evilazrael.net/tmp/armbian" | ||
#DOWNLOAD_URL_CHECKSUM="${DOWNLOAD_BASE_URL}/Armbian_24.5.0-trunk_Artilleryx4_bookworm_current_6.6.31.img.xz.sha" | ||
#DOWNLOAD_URL_IMAGE="${DOWNLOAD_BASE_URL}/Armbian_24.5.0-trunk_Artilleryx4_bookworm_current_6.6.31.img.xz" | ||
|
||
### JSON sniplet Setup | ||
### NOTE: Please see all config files for setup variables!!! | ||
# shellcheck disable=SC2034 | ||
JSON_PRETTY_SBC_NAME="Artillery3D X4 EMMC eazrael" | ||
# shellcheck disable=SC2034 | ||
JSON_SUPPORTED_SBC="artillery3d-x4-emmc-eazrael" | ||
|
||
KLIPPER_REPO_SHIP="https://github.com/eazrael/klipper.git" | ||
KLIPPER_REPO_BRANCH="artilleryx4" | ||
|
||
MODULES="base(dnsfix(pkgupgrade,udev_fix,armbian(armbian_net,mainsailos,klipper,is_req_preinstall,moonraker,mainsail,timelapse,crowsnest,sonar,kiauh,artilleryx4config,vocore,klipper_lcd)))" | ||
|
||
BASE_IMAGE_ENLARGEROOT=0 | ||
BASE_IMAGE_RESIZEROOT=0 | ||
|
||
# export Variables | ||
export ARTILLERY_X4_MODEL | ||
export BASE_ARCH | ||
export BASE_IMAGE_ENLARGEROOT | ||
export BASE_IMAGE_RESIZEROOT | ||
export DOWNLOAD_URL_CHECKSUM | ||
export DOWNLOAD_URL_IMAGE | ||
export KLIPPER_REPO_BRANCH | ||
export KLIPPER_REPO_SHIP | ||
export MAKEFLAGS | ||
export MODULES | ||
|
71 changes: 0 additions & 71 deletions
71
src/modules/artilleryx4config/filesystem/home/pi/printer_data/config/printer.cfg
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/usr/bin/env bash | ||
# Shebang for better file detection | ||
#### mainsail module config | ||
#### | ||
#### Based on work of: | ||
#### Raymond Himle and meteyou | ||
#### | ||
#### Written by Stephan Wendel aka KwadFan <[email protected]> | ||
#### Copyright 2021 - 2022 | ||
#### https://github.com/mainsail-crew/MainsailOS | ||
#### | ||
#### This File is distributed under GPLv3 | ||
#### | ||
|
||
[[ -n "${KLIPPERLCD_PKGS}" ]] || KLIPPERLCD_PKGS="python3-serial python3-requests" | ||
|
||
# Support for the stock display computer | ||
#[[ -n "$KLIPPERLCD_REPO_SHIP" ]] || KLIPPERLCD_REPO_SHIP="https://github.com/joakimtoe/KlipperLCD.git" | ||
#[[ -n "$KLIPPERLCD_REPO_BRANCH" ]] || KLIPPERLCD_REPO_BRANCH="master" | ||
|
||
export KLIPPERLCD_PKGS |
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,41 @@ | ||
#!/usr/bin/env bash | ||
#### artillery x4 config module | ||
#### | ||
#### Based on work of: | ||
#### Raymond Himle and meteyou | ||
#### | ||
#### Written by Stephan Wendel aka KwadFan <[email protected]> | ||
#### Copyright 2021 - 2022 | ||
#### https://github.com/mainsail-crew/MainsailOS | ||
#### | ||
#### This File is distributed under GPLv3 | ||
#### | ||
|
||
# shellcheck enable=require-variable-braces | ||
|
||
# Source error handling, leave this in place | ||
set -Ee | ||
|
||
# Set LC_ALL to prevent errors | ||
export LC_ALL=C | ||
|
||
# Source CustomPIOS common.sh | ||
# shellcheck disable=SC1091 | ||
source /common.sh | ||
install_cleanup_trap | ||
|
||
# echo_green "Install KlipperLCD" | ||
|
||
if [ -n "${KLIPPERLCD_PKGS}" ] ; then | ||
echo_green "Install additional requirements" | ||
# shellcheck disable=SC2086 | ||
check_install_pkgs ${KLIPPERLCD_PKGS} | ||
fi | ||
|
||
echo_green "Install KlipperLCD" | ||
pushd "/home/${BASE_USER}/klipper" &> /dev/null || exit 1 | ||
gitclone KLIPPERLCD_REPO klipperlcd | ||
# TODO: missing installation code | ||
popd &> /dev/null || exit 1 | ||
|
||
echo_green "Finished KlipperLCD installation" |
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