Using TMC2208 in standalone mode, I've inverted the stepper direction to match Anycubics pin layout. M110 memory watcher was removed due to redundancy and - ironically - to save memory.
		
			
				
	
	
		
			10 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			230 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
restore_configs
 | 
						|
 | 
						|
cp Marlin/example_configurations/"$@"/Configuration* Marlin/
 | 
						|
 | 
						|
if [ -f "Marlin/example_configurations/$@/_Bootscreen.h" ]; then
 | 
						|
  cp "Marlin/example_configurations/$@/_Bootscreen.h" Marlin/
 | 
						|
fi
 |