My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

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