Comment out "manual" xflash update as MK404 can do it now
directly from the hex file.
This commit is contained in:
parent
2195116beb
commit
d8dd8e49e5
10
PF-build.sh
10
PF-build.sh
@ -1009,11 +1009,11 @@ if [ ! -z "$mk404_flag" ]; then
|
|||||||
cd ../MK404/master/build
|
cd ../MK404/master/build
|
||||||
|
|
||||||
# Copy language bin file for MK3 and MK3S to xflash
|
# Copy language bin file for MK3 and MK3S to xflash
|
||||||
if [ -f $SCRIPT_PATH/../$OUTPUT_FOLDER/FW$FW-Build$BUILD-$VARIANT-lang.bin ]; then
|
# if [ -f $SCRIPT_PATH/../$OUTPUT_FOLDER/FW$FW-Build$BUILD-$VARIANT-lang.bin ]; then
|
||||||
echo "Copy 'FW$FW-Build$BUILD-$VARIANT-lang.bin' to 'Prusa_${PRINTER}_xflash.bin'"
|
# echo "Copy 'FW$FW-Build$BUILD-$VARIANT-lang.bin' to 'Prusa_${PRINTER}_xflash.bin'"
|
||||||
dd if=/dev/zero bs=1 count=262145 | tr "\000" "\377" >Prusa_${PRINTER}_xflash.bin
|
# dd if=/dev/zero bs=1 count=262145 | tr "\000" "\377" >Prusa_${PRINTER}_xflash.bin
|
||||||
dd if=$SCRIPT_PATH/../$OUTPUT_FOLDER/FW$FW-Build$BUILD-$VARIANT-lang.bin of=Prusa_${PRINTER}_xflash.bin conv=notrunc
|
# dd if=$SCRIPT_PATH/../$OUTPUT_FOLDER/FW$FW-Build$BUILD-$VARIANT-lang.bin of=Prusa_${PRINTER}_xflash.bin conv=notrunc
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
#Decide which hex file to use EN_ONLY or Multi language
|
#Decide which hex file to use EN_ONLY or Multi language
|
||||||
if [ "$LANGUAGES" == "ALL" ]; then
|
if [ "$LANGUAGES" == "ALL" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user