Skip to content

Commit

Permalink
Scripts: fix fysetec spider 2.2 compile script
Browse files Browse the repository at this point in the history
  • Loading branch information
miklschmidt committed Jun 1, 2024
1 parent f6aa489 commit ac314d7
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions boards/fysetc-spider-22/compile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ if [ "$EUID" -ne 0 ]
then echo "ERROR: Please run as root"
exit
fi
<<<<<<<< HEAD:boards/fysetc-spider-22/compile.sh

cp -f /home/pi/printer_data/config/RatOS/boards/fysetc-spider-22/firmware.config /home/pi/klipper/.config
========
cp -f /home/pi/printer_data/config/RatOS/boards/btt-sb-2209-10-rp2040/firmware.config /home/pi/klipper/.config
>>>>>>>> 58371553e9472dd20465e3dbada6dd5427ca7016:boards/btt-sb-2209-10-rp2040/compile.sh
pushd /home/pi/klipper || exit
make olddefconfig
make clean
Expand All @@ -20,12 +15,7 @@ then
mkdir /home/pi/printer_data/config/firmware_binaries
chown pi:pi /home/pi/printer_data/config/firmware_binaries
fi
<<<<<<<< HEAD:boards/fysetc-spider-22/compile.sh
cp -f /home/pi/klipper/out/klipper.bin /home/pi/printer_data/config/firmware_binaries/firmware-fysetc-spider-22.bin
chown pi:pi /home/pi/printer_data/config/firmware_binaries/firmware-fysetc-spider-22.bin

========
cp -f /home/pi/klipper/out/klipper.bin /home/pi/printer_data/config/firmware_binaries/firmware-btt-sb-2209-10-rp.uf2
chown pi:pi /home/pi/printer_data/config/firmware_binaries/firmware-btt-sb-2209-10-rp.uf2
>>>>>>>> 58371553e9472dd20465e3dbada6dd5427ca7016:boards/btt-sb-2209-10-rp2040/compile.sh
popd || exit

0 comments on commit ac314d7

Please sign in to comment.