|
|
|
|
38
|
# backup configuration.h
|
38
|
# backup configuration.h
|
39
|
- cp Marlin/Configuration.h Marlin/Configuration.h.backup
|
39
|
- cp Marlin/Configuration.h Marlin/Configuration.h.backup
|
40
|
- cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
|
40
|
- cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
|
|
|
41
|
+ # add sensor for bed
|
|
|
42
|
+ - sed -i 's/#define TEMP_SENSOR_BED 0/#define TEMP_SENSOR_BED 1/g' Marlin/Configuration.h
|
|
|
43
|
+ - rm -rf .build/
|
|
|
44
|
+ - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
41
|
# change extruder numbers from 1 to 2
|
45
|
# change extruder numbers from 1 to 2
|
42
|
- # commented out for the moment fails build but compiles fine in Arduino
|
|
|
43
|
- #- sed -i 's/#define EXTRUDERS 1/#define EXTRUDERS 2/g' Marlin/Configuration.h
|
|
|
44
|
- #- rm -rf .build/
|
|
|
45
|
- #- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
|
|
|
|
46
|
+ - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EFB/#define MOTHERBOARD BOARD_RAMPS_13_EEB/g' Marlin/Configuration.h
|
|
|
47
|
+ - sed -i 's/#define EXTRUDERS 1/#define EXTRUDERS 2/g' Marlin/Configuration.h
|
|
|
48
|
+ - sed -i 's/#define TEMP_SENSOR_1 0/#define TEMP_SENSOR_1 1/g' Marlin/Configuration.h
|
|
|
49
|
+ #- cat Marlin/Configuration.h
|
|
|
50
|
+ - rm -rf .build/
|
|
|
51
|
+ - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
46
|
# change extruder numbers from 2 to 3, needs to be a board with 3 extruders defined in pins.h
|
52
|
# change extruder numbers from 2 to 3, needs to be a board with 3 extruders defined in pins.h
|
47
|
- #- sed -i 's/#define MOTHERBOARD BOARD_ULTIMAKER/#define MOTHERBOARD BOARD_AZTEEG_X3_PRO/g' Marlin/Configuration.h
|
|
|
48
|
- #- sed -i 's/#define EXTRUDERS 2/#define EXTRUDERS 3/g' Marlin/Configuration.h
|
|
|
49
|
- #- rm -rf .build/
|
|
|
50
|
- #- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
|
|
|
|
53
|
+ - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EEB/#define MOTHERBOARD BOARD_RUMBA/g' Marlin/Configuration.h
|
|
|
54
|
+ - sed -i 's/#define EXTRUDERS 2/#define EXTRUDERS 3/g' Marlin/Configuration.h
|
|
|
55
|
+ - sed -i 's/#define TEMP_SENSOR_2 0/#define TEMP_SENSOR_2 1/g' Marlin/Configuration.h
|
|
|
56
|
+ - rm -rf .build/
|
|
|
57
|
+ - DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
51
|
# enable PIDTEMPBED
|
58
|
# enable PIDTEMPBED
|
52
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
|
59
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
|
53
|
- sed -i 's/\/\/#define PIDTEMPBED/#define PIDTEMPBED/g' Marlin/Configuration.h
|
60
|
- sed -i 's/\/\/#define PIDTEMPBED/#define PIDTEMPBED/g' Marlin/Configuration.h
|