0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-01-18 15:39:31 +00:00

🧑‍💻 Bypass error in build_example

This commit is contained in:
Scott Lahteine 2023-06-05 20:39:14 -05:00
parent e116a99eda
commit a6b32a5a91

View file

@ -32,6 +32,9 @@ $SED -i~ -e "20,30{/#error/d}" Marlin/Configuration.h
rm Marlin/Configuration.h~ rm Marlin/Configuration.h~
unset IFS; set +f unset IFS; set +f
# Suppress fatal warnings
echo -e "\n#define NO_CONTROLLER_CUSTOM_WIRING_WARNING" >> Marlin/Configuration.h
echo "Building the firmware now..." echo "Building the firmware now..."
$HERE/mftest -s -a -n1 || { echo "Failed"; exit 1; } $HERE/mftest -s -a -n1 || { echo "Failed"; exit 1; }