Browse Source

Update configurations to use RAMPS 1.4

Scott Lahteine 8 years ago
parent
commit
cf792fd8d8

+ 5
- 5
.travis.yml View File

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

+ 1
- 1
Marlin/Configuration.h View File

70
 // The following define selects which electronics board you have.
70
 // The following define selects which electronics board you have.
71
 // Please choose the name from boards.h that matches your setup
71
 // Please choose the name from boards.h that matches your setup
72
 #ifndef MOTHERBOARD
72
 #ifndef MOTHERBOARD
73
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
73
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
74
 #endif
74
 #endif
75
 
75
 
76
 // Optional custom name for your RepStrap or other custom machine
76
 // Optional custom name for your RepStrap or other custom machine

+ 1
- 1
Marlin/example_configurations/SCARA/Configuration.h View File

95
 // The following define selects which electronics board you have.
95
 // The following define selects which electronics board you have.
96
 // Please choose the name from boards.h that matches your setup
96
 // Please choose the name from boards.h that matches your setup
97
 #ifndef MOTHERBOARD
97
 #ifndef MOTHERBOARD
98
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
98
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
99
 #endif
99
 #endif
100
 
100
 
101
 // Optional custom name for your RepStrap or other custom machine
101
 // Optional custom name for your RepStrap or other custom machine

+ 1
- 1
Marlin/example_configurations/WITBOX/Configuration.h View File

70
 // The following define selects which electronics board you have.
70
 // The following define selects which electronics board you have.
71
 // Please choose the name from boards.h that matches your setup
71
 // Please choose the name from boards.h that matches your setup
72
 #ifndef MOTHERBOARD
72
 #ifndef MOTHERBOARD
73
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
73
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
74
 #endif
74
 #endif
75
 
75
 
76
 // Optional custom name for your RepStrap or other custom machine
76
 // Optional custom name for your RepStrap or other custom machine

+ 1
- 1
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

70
 // The following define selects which electronics board you have.
70
 // The following define selects which electronics board you have.
71
 // Please choose the name from boards.h that matches your setup
71
 // Please choose the name from boards.h that matches your setup
72
 #ifndef MOTHERBOARD
72
 #ifndef MOTHERBOARD
73
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
73
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
74
 #endif
74
 #endif
75
 
75
 
76
 // Optional custom name for your RepStrap or other custom machine
76
 // Optional custom name for your RepStrap or other custom machine

+ 1
- 1
Marlin/example_configurations/delta/generic/Configuration.h View File

70
 // The following define selects which electronics board you have.
70
 // The following define selects which electronics board you have.
71
 // Please choose the name from boards.h that matches your setup
71
 // Please choose the name from boards.h that matches your setup
72
 #ifndef MOTHERBOARD
72
 #ifndef MOTHERBOARD
73
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
73
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
74
 #endif
74
 #endif
75
 
75
 
76
 // Optional custom name for your RepStrap or other custom machine
76
 // Optional custom name for your RepStrap or other custom machine

+ 1
- 1
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

70
 // The following define selects which electronics board you have.
70
 // The following define selects which electronics board you have.
71
 // Please choose the name from boards.h that matches your setup
71
 // Please choose the name from boards.h that matches your setup
72
 #ifndef MOTHERBOARD
72
 #ifndef MOTHERBOARD
73
-  #define MOTHERBOARD BOARD_RAMPS_13_EFB
73
+  #define MOTHERBOARD BOARD_RAMPS_14_EFB
74
 #endif
74
 #endif
75
 
75
 
76
 // Optional custom name for your RepStrap or other custom machine
76
 // Optional custom name for your RepStrap or other custom machine

Loading…
Cancel
Save