My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

use_example_configs 658B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. IFS=: read -r PART1 PART2 <<< "$@"
  3. [ -n "${PART2}" ] && { REPO="$PART1" ; RDIR="$PART2" ; } \
  4. || { REPO=bugfix-2.0.x ; RDIR="$PART1" ; }
  5. EXAMPLES="https://raw.githubusercontent.com/MarlinFirmware/Configurations/$REPO/config/examples"
  6. restore_configs
  7. cd Marlin
  8. wget -q "$EXAMPLES/$RDIR/Configuration.h" -O wgot && mv wgot Configuration.h
  9. wget -q "$EXAMPLES/$RDIR/Configuration_adv.h" -O wgot && mv wgot Configuration_adv.h
  10. wget -q "$EXAMPLES/$RDIR/_Bootscreen.h" -O wgot && mv wgot _Bootscreen.h
  11. wget -q "$EXAMPLES/$RDIR/_Statusscreen.h" -O wgot && mv wgot _Statusscreen.h
  12. rm -f wgot
  13. cd - >/dev/null