My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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