|
@@ -49,20 +49,20 @@ script:
|
49
|
49
|
# backup configuration.h
|
50
|
50
|
- cp Marlin/Configuration.h Marlin/Configuration.h.backup
|
51
|
51
|
- cp Marlin/Configuration_adv.h Marlin/Configuration_adv.h.backup
|
52
|
|
- - cp Marlin/pins_RAMPS_13.h Marlin/pins_RAMPS_13.h.backup
|
|
52
|
+ - cp Marlin/pins_RAMPS_14.h Marlin/pins_RAMPS_14.h.backup
|
53
|
53
|
# add sensor for bed
|
54
|
54
|
- sed -i 's/#define TEMP_SENSOR_BED 0/#define TEMP_SENSOR_BED 1/g' Marlin/Configuration.h
|
55
|
55
|
- rm -rf .build/
|
56
|
56
|
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
57
|
57
|
# change extruder numbers from 1 to 2
|
58
|
|
- - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EFB/#define MOTHERBOARD BOARD_RAMPS_13_EEB/g' Marlin/Configuration.h
|
|
58
|
+ - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_14_EFB/#define MOTHERBOARD BOARD_RAMPS_14_EEB/g' Marlin/Configuration.h
|
59
|
59
|
- sed -i 's/#define EXTRUDERS 1/#define EXTRUDERS 2/g' Marlin/Configuration.h
|
60
|
60
|
- sed -i 's/#define TEMP_SENSOR_1 0/#define TEMP_SENSOR_1 1/g' Marlin/Configuration.h
|
61
|
61
|
#- cat Marlin/Configuration.h
|
62
|
62
|
- rm -rf .build/
|
63
|
63
|
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
64
|
64
|
# change extruder numbers from 2 to 3, needs to be a board with 3 extruders defined in pins.h
|
65
|
|
- - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_13_EEB/#define MOTHERBOARD BOARD_RUMBA/g' Marlin/Configuration.h
|
|
65
|
+ - sed -i 's/#define MOTHERBOARD BOARD_RAMPS_14_EEB/#define MOTHERBOARD BOARD_RUMBA/g' Marlin/Configuration.h
|
66
|
66
|
- sed -i 's/#define EXTRUDERS 2/#define EXTRUDERS 3/g' Marlin/Configuration.h
|
67
|
67
|
- sed -i 's/#define TEMP_SENSOR_2 0/#define TEMP_SENSOR_2 1/g' Marlin/Configuration.h
|
68
|
68
|
- rm -rf .build/
|
|
@@ -175,13 +175,13 @@ script:
|
175
|
175
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
|
176
|
176
|
- sed -i 's/\/\/#define Z_DUAL_STEPPER_DRIVERS/#define Z_DUAL_STEPPER_DRIVERS/g' Marlin/Configuration_adv.h
|
177
|
177
|
- sed -i 's/\ \ \/\/\ \#define Z_DUAL_ENDSTOPS/#define Z_DUAL_ENDSTOPS/g' Marlin/Configuration_adv.h
|
178
|
|
- - sed -i 's/#define X_MAX_PIN 2/#define X_MAX_PIN -1/g' Marlin/pins_RAMPS_13.h
|
|
178
|
+ - sed -i 's/#define X_MAX_PIN 2/#define X_MAX_PIN -1/g' Marlin/pins_RAMPS_14.h
|
179
|
179
|
- sed -i 's/\ \ \ \ \#define Z2_MAX_PIN 36/#define Z2_MAX_PIN 2/g' Marlin/Configuration_adv.h
|
180
|
180
|
- rm -rf .build/
|
181
|
181
|
- DISPLAY=:1.0 ~/bin/arduino --verify --board marlin:avr:mega Marlin/Marlin.ino
|
182
|
182
|
- cp Marlin/Configuration.h.backup Marlin/Configuration.h
|
183
|
183
|
- cp Marlin/Configuration_adv.h.backup Marlin/Configuration_adv.h
|
184
|
|
- - cp Marlin/pins_RAMPS_13.h.backup Marlin/pins_RAMPS_13.h
|
|
184
|
+ - cp Marlin/pins_RAMPS_14.h.backup Marlin/pins_RAMPS_14.h
|
185
|
185
|
######## Example Configurations ##############
|
186
|
186
|
# Delta Config (generic)
|
187
|
187
|
- cp Marlin/example_configurations/delta/generic/Configuration* Marlin/
|