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
		
	
	
		
			272 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			272 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
cp Marlin/Configuration.h.backup      Marlin/Configuration.h
 | 
						|
cp Marlin/Configuration_adv.h.backup  Marlin/Configuration_adv.h
 | 
						|
cp Marlin/pins_RAMPS.h.backup         Marlin/pins_RAMPS.h
 | 
						|
 | 
						|
if [ -f Marlin/_Bootscreen.h ]; then
 | 
						|
  rm Marlin/_Bootscreen.h
 | 
						|
fi
 |