|
@@ -79,9 +79,9 @@
|
79
|
79
|
* Warnings for old configurations
|
80
|
80
|
*/
|
81
|
81
|
#ifndef MOTHERBOARD
|
82
|
|
- #error "MOTHERBOARD is required. Please update your configuration."
|
|
82
|
+ #error "MOTHERBOARD is required."
|
83
|
83
|
#elif !defined(X_BED_SIZE) || !defined(Y_BED_SIZE)
|
84
|
|
- #error "X_BED_SIZE and Y_BED_SIZE are now required! Please update your configuration."
|
|
84
|
+ #error "X_BED_SIZE and Y_BED_SIZE are now required!"
|
85
|
85
|
#elif WATCH_TEMP_PERIOD > 500
|
86
|
86
|
#error "WATCH_TEMP_PERIOD now uses seconds instead of milliseconds."
|
87
|
87
|
#elif DISABLED(THERMAL_PROTECTION_HOTENDS) && (defined(WATCH_TEMP_PERIOD) || defined(THERMAL_PROTECTION_PERIOD))
|
|
@@ -93,41 +93,41 @@
|
93
|
93
|
#elif defined(X_HOME_RETRACT_MM)
|
94
|
94
|
#error "[XYZ]_HOME_RETRACT_MM settings have been renamed [XYZ]_HOME_BUMP_MM."
|
95
|
95
|
#elif defined(SDCARDDETECTINVERTED)
|
96
|
|
- #error "SDCARDDETECTINVERTED is now SD_DETECT_STATE (HIGH). Please update your configuration."
|
|
96
|
+ #error "SDCARDDETECTINVERTED is now SD_DETECT_STATE (HIGH)."
|
97
|
97
|
#elif defined(SD_DETECT_INVERTED)
|
98
|
|
- #error "SD_DETECT_INVERTED is now SD_DETECT_STATE (HIGH). Please update your configuration."
|
|
98
|
+ #error "SD_DETECT_INVERTED is now SD_DETECT_STATE (HIGH)."
|
99
|
99
|
#elif defined(BTENABLED)
|
100
|
|
- #error "BTENABLED is now BLUETOOTH. Please update your configuration."
|
|
100
|
+ #error "BTENABLED is now BLUETOOTH."
|
101
|
101
|
#elif defined(CUSTOM_MENDEL_NAME)
|
102
|
|
- #error "CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME. Please update your configuration."
|
|
102
|
+ #error "CUSTOM_MENDEL_NAME is now CUSTOM_MACHINE_NAME."
|
103
|
103
|
#elif defined(HAS_AUTOMATIC_VERSIONING)
|
104
|
|
- #error "HAS_AUTOMATIC_VERSIONING is now CUSTOM_VERSION_FILE. Please update your configuration."
|
|
104
|
+ #error "HAS_AUTOMATIC_VERSIONING is now CUSTOM_VERSION_FILE."
|
105
|
105
|
#elif defined(USE_AUTOMATIC_VERSIONING)
|
106
|
|
- #error "USE_AUTOMATIC_VERSIONING is now CUSTOM_VERSION_FILE. Please update your configuration."
|
|
106
|
+ #error "USE_AUTOMATIC_VERSIONING is now CUSTOM_VERSION_FILE."
|
107
|
107
|
#elif defined(SDSLOW)
|
108
|
108
|
#error "SDSLOW deprecated. Set SPI_SPEED to SPI_HALF_SPEED instead."
|
109
|
109
|
#elif defined(SDEXTRASLOW)
|
110
|
110
|
#error "SDEXTRASLOW deprecated. Set SPI_SPEED to SPI_QUARTER_SPEED instead."
|
111
|
111
|
#elif defined(FILAMENT_SENSOR)
|
112
|
|
- #error "FILAMENT_SENSOR is now FILAMENT_WIDTH_SENSOR. Please update your configuration."
|
|
112
|
+ #error "FILAMENT_SENSOR is now FILAMENT_WIDTH_SENSOR."
|
113
|
113
|
#elif defined(ENDSTOPPULLUP_FIL_RUNOUT)
|
114
|
|
- #error "ENDSTOPPULLUP_FIL_RUNOUT is now FIL_RUNOUT_PULL. Please update your configuration."
|
|
114
|
+ #error "ENDSTOPPULLUP_FIL_RUNOUT is now FIL_RUNOUT_PULL."
|
115
|
115
|
#elif defined(DISABLE_MAX_ENDSTOPS) || defined(DISABLE_MIN_ENDSTOPS)
|
116
|
116
|
#error "DISABLE_MAX_ENDSTOPS and DISABLE_MIN_ENDSTOPS deprecated. Use individual USE_*_PLUG options instead."
|
117
|
117
|
#elif defined(LANGUAGE_INCLUDE)
|
118
|
|
- #error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE. Please update your configuration."
|
|
118
|
+ #error "LANGUAGE_INCLUDE has been replaced by LCD_LANGUAGE."
|
119
|
119
|
#elif defined(EXTRUDER_OFFSET_X) || defined(EXTRUDER_OFFSET_Y)
|
120
|
120
|
#error "EXTRUDER_OFFSET_[XY] is deprecated. Use HOTEND_OFFSET_[XY] instead."
|
121
|
121
|
#elif defined(PID_PARAMS_PER_EXTRUDER)
|
122
|
122
|
#error "PID_PARAMS_PER_EXTRUDER is deprecated. Use PID_PARAMS_PER_HOTEND instead."
|
123
|
123
|
#elif defined(EXTRUDER_WATTS) || defined(BED_WATTS)
|
124
|
|
- #error "EXTRUDER_WATTS and BED_WATTS are deprecated. Remove them from your configuration."
|
|
124
|
+ #error "EXTRUDER_WATTS and BED_WATTS are deprecated and should be removed."
|
125
|
125
|
#elif defined(SERVO_ENDSTOP_ANGLES)
|
126
|
126
|
#error "SERVO_ENDSTOP_ANGLES is deprecated. Use Z_SERVO_ANGLES instead."
|
127
|
127
|
#elif defined(X_ENDSTOP_SERVO_NR) || defined(Y_ENDSTOP_SERVO_NR)
|
128
|
128
|
#error "X_ENDSTOP_SERVO_NR and Y_ENDSTOP_SERVO_NR are deprecated and should be removed."
|
129
|
129
|
#elif defined(Z_ENDSTOP_SERVO_NR)
|
130
|
|
- #error "Z_ENDSTOP_SERVO_NR is now Z_PROBE_SERVO_NR. Please update your configuration."
|
|
130
|
+ #error "Z_ENDSTOP_SERVO_NR is now Z_PROBE_SERVO_NR."
|
131
|
131
|
#elif defined(DEFAULT_XYJERK)
|
132
|
132
|
#error "DEFAULT_XYJERK is deprecated. Use DEFAULT_XJERK and DEFAULT_YJERK instead."
|
133
|
133
|
#elif defined(XY_TRAVEL_SPEED)
|
|
@@ -135,57 +135,57 @@
|
135
|
135
|
#elif defined(PROBE_SERVO_DEACTIVATION_DELAY)
|
136
|
136
|
#error "PROBE_SERVO_DEACTIVATION_DELAY is deprecated. Use DEACTIVATE_SERVOS_AFTER_MOVE instead."
|
137
|
137
|
#elif defined(SERVO_DEACTIVATION_DELAY)
|
138
|
|
- #error "SERVO_DEACTIVATION_DELAY is deprecated. Use SERVO_DELAY instead."
|
|
138
|
+ #error "SERVO_DEACTIVATION_DELAY is now SERVO_DELAY."
|
139
|
139
|
#elif ENABLED(FILAMENTCHANGEENABLE)
|
140
|
|
- #error "FILAMENTCHANGEENABLE is now ADVANCED_PAUSE_FEATURE. Please update your configuration."
|
|
140
|
+ #error "FILAMENTCHANGEENABLE is now ADVANCED_PAUSE_FEATURE."
|
141
|
141
|
#elif ENABLED(FILAMENT_CHANGE_FEATURE)
|
142
|
|
- #error "FILAMENT_CHANGE_FEATURE is now ADVANCED_PAUSE_FEATURE. Please update your configuration."
|
|
142
|
+ #error "FILAMENT_CHANGE_FEATURE is now ADVANCED_PAUSE_FEATURE."
|
143
|
143
|
#elif defined(FILAMENT_CHANGE_X_POS) || defined(FILAMENT_CHANGE_Y_POS)
|
144
|
|
- #error "FILAMENT_CHANGE_[XY]_POS is now set with NOZZLE_PARK_POINT. Please update your configuration."
|
|
144
|
+ #error "FILAMENT_CHANGE_[XY]_POS is now set with NOZZLE_PARK_POINT."
|
145
|
145
|
#elif defined(FILAMENT_CHANGE_Z_ADD)
|
146
|
|
- #error "FILAMENT_CHANGE_Z_ADD is now set with NOZZLE_PARK_POINT. Please update your configuration."
|
|
146
|
+ #error "FILAMENT_CHANGE_Z_ADD is now set with NOZZLE_PARK_POINT."
|
147
|
147
|
#elif defined(FILAMENT_CHANGE_XY_FEEDRATE)
|
148
|
|
- #error "FILAMENT_CHANGE_XY_FEEDRATE is now NOZZLE_PARK_XY_FEEDRATE. Please update your configuration."
|
|
148
|
+ #error "FILAMENT_CHANGE_XY_FEEDRATE is now NOZZLE_PARK_XY_FEEDRATE."
|
149
|
149
|
#elif defined(FILAMENT_CHANGE_Z_FEEDRATE)
|
150
|
|
- #error "FILAMENT_CHANGE_Z_FEEDRATE is now NOZZLE_PARK_Z_FEEDRATE. Please update your configuration."
|
|
150
|
+ #error "FILAMENT_CHANGE_Z_FEEDRATE is now NOZZLE_PARK_Z_FEEDRATE."
|
151
|
151
|
#elif defined(PAUSE_PARK_X_POS) || defined(PAUSE_PARK_Y_POS)
|
152
|
|
- #error "PAUSE_PARK_[XY]_POS is now set with NOZZLE_PARK_POINT. Please update your configuration."
|
|
152
|
+ #error "PAUSE_PARK_[XY]_POS is now set with NOZZLE_PARK_POINT."
|
153
|
153
|
#elif defined(PAUSE_PARK_Z_ADD)
|
154
|
|
- #error "PAUSE_PARK_Z_ADD is now set with NOZZLE_PARK_POINT. Please update your configuration."
|
|
154
|
+ #error "PAUSE_PARK_Z_ADD is now set with NOZZLE_PARK_POINT."
|
155
|
155
|
#elif defined(PAUSE_PARK_XY_FEEDRATE)
|
156
|
|
- #error "PAUSE_PARK_XY_FEEDRATE is now NOZZLE_PARK_XY_FEEDRATE. Please update your configuration."
|
|
156
|
+ #error "PAUSE_PARK_XY_FEEDRATE is now NOZZLE_PARK_XY_FEEDRATE."
|
157
|
157
|
#elif defined(PAUSE_PARK_Z_FEEDRATE)
|
158
|
|
- #error "PAUSE_PARK_Z_FEEDRATE is now NOZZLE_PARK_Z_FEEDRATE. Please update your configuration."
|
|
158
|
+ #error "PAUSE_PARK_Z_FEEDRATE is now NOZZLE_PARK_Z_FEEDRATE."
|
159
|
159
|
#elif defined(FILAMENT_CHANGE_RETRACT_FEEDRATE)
|
160
|
|
- #error "FILAMENT_CHANGE_RETRACT_FEEDRATE is now PAUSE_PARK_RETRACT_FEEDRATE. Please update your configuration."
|
|
160
|
+ #error "FILAMENT_CHANGE_RETRACT_FEEDRATE is now PAUSE_PARK_RETRACT_FEEDRATE."
|
161
|
161
|
#elif defined(FILAMENT_CHANGE_RETRACT_LENGTH)
|
162
|
|
- #error "FILAMENT_CHANGE_RETRACT_LENGTH is now PAUSE_PARK_RETRACT_LENGTH. Please update your configuration."
|
|
162
|
+ #error "FILAMENT_CHANGE_RETRACT_LENGTH is now PAUSE_PARK_RETRACT_LENGTH."
|
163
|
163
|
#elif defined(FILAMENT_CHANGE_EXTRUDE_FEEDRATE)
|
164
|
|
- #error "FILAMENT_CHANGE_EXTRUDE_FEEDRATE is now ADVANCED_PAUSE_PURGE_FEEDRATE. Please update your configuration."
|
|
164
|
+ #error "FILAMENT_CHANGE_EXTRUDE_FEEDRATE is now ADVANCED_PAUSE_PURGE_FEEDRATE."
|
165
|
165
|
#elif defined(ADVANCED_PAUSE_EXTRUDE_FEEDRATE)
|
166
|
|
- #error "ADVANCED_PAUSE_EXTRUDE_FEEDRATE is now ADVANCED_PAUSE_PURGE_FEEDRATE. Please update your configuration."
|
|
166
|
+ #error "ADVANCED_PAUSE_EXTRUDE_FEEDRATE is now ADVANCED_PAUSE_PURGE_FEEDRATE."
|
167
|
167
|
#elif defined(FILAMENT_CHANGE_EXTRUDE_LENGTH)
|
168
|
|
- #error "FILAMENT_CHANGE_EXTRUDE_LENGTH is now ADVANCED_PAUSE_PURGE_LENGTH. Please update your configuration."
|
|
168
|
+ #error "FILAMENT_CHANGE_EXTRUDE_LENGTH is now ADVANCED_PAUSE_PURGE_LENGTH."
|
169
|
169
|
#elif defined(ADVANCED_PAUSE_EXTRUDE_LENGTH)
|
170
|
|
- #error "ADVANCED_PAUSE_EXTRUDE_LENGTH is now ADVANCED_PAUSE_PURGE_LENGTH. Please update your configuration."
|
|
170
|
+ #error "ADVANCED_PAUSE_EXTRUDE_LENGTH is now ADVANCED_PAUSE_PURGE_LENGTH."
|
171
|
171
|
#elif defined(FILAMENT_CHANGE_NOZZLE_TIMEOUT)
|
172
|
|
- #error "FILAMENT_CHANGE_NOZZLE_TIMEOUT is now PAUSE_PARK_NOZZLE_TIMEOUT. Please update your configuration."
|
|
172
|
+ #error "FILAMENT_CHANGE_NOZZLE_TIMEOUT is now PAUSE_PARK_NOZZLE_TIMEOUT."
|
173
|
173
|
#elif defined(FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS)
|
174
|
|
- #error "FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS is now FILAMENT_CHANGE_ALERT_BEEPS. Please update your configuration."
|
|
174
|
+ #error "FILAMENT_CHANGE_NUMBER_OF_ALERT_BEEPS is now FILAMENT_CHANGE_ALERT_BEEPS."
|
175
|
175
|
#elif defined(FILAMENT_CHANGE_NO_STEPPER_TIMEOUT)
|
176
|
|
- #error "FILAMENT_CHANGE_NO_STEPPER_TIMEOUT is now PAUSE_PARK_NO_STEPPER_TIMEOUT. Please update your configuration."
|
|
176
|
+ #error "FILAMENT_CHANGE_NO_STEPPER_TIMEOUT is now PAUSE_PARK_NO_STEPPER_TIMEOUT."
|
177
|
177
|
#elif defined(PLA_PREHEAT_HOTEND_TEMP)
|
178
|
|
- #error "PLA_PREHEAT_HOTEND_TEMP is now PREHEAT_1_TEMP_HOTEND. Please update your configuration."
|
|
178
|
+ #error "PLA_PREHEAT_HOTEND_TEMP is now PREHEAT_1_TEMP_HOTEND."
|
179
|
179
|
#elif defined(PLA_PREHEAT_HPB_TEMP)
|
180
|
|
- #error "PLA_PREHEAT_HPB_TEMP is now PREHEAT_1_TEMP_BED. Please update your configuration."
|
|
180
|
+ #error "PLA_PREHEAT_HPB_TEMP is now PREHEAT_1_TEMP_BED."
|
181
|
181
|
#elif defined(PLA_PREHEAT_FAN_SPEED)
|
182
|
|
- #error "PLA_PREHEAT_FAN_SPEED is now PREHEAT_1_FAN_SPEED. Please update your configuration."
|
|
182
|
+ #error "PLA_PREHEAT_FAN_SPEED is now PREHEAT_1_FAN_SPEED."
|
183
|
183
|
#elif defined(ABS_PREHEAT_HOTEND_TEMP)
|
184
|
|
- #error "ABS_PREHEAT_HOTEND_TEMP is now PREHEAT_2_TEMP_HOTEND. Please update your configuration."
|
|
184
|
+ #error "ABS_PREHEAT_HOTEND_TEMP is now PREHEAT_2_TEMP_HOTEND."
|
185
|
185
|
#elif defined(ABS_PREHEAT_HPB_TEMP)
|
186
|
|
- #error "ABS_PREHEAT_HPB_TEMP is now PREHEAT_2_TEMP_BED. Please update your configuration."
|
|
186
|
+ #error "ABS_PREHEAT_HPB_TEMP is now PREHEAT_2_TEMP_BED."
|
187
|
187
|
#elif defined(ABS_PREHEAT_FAN_SPEED)
|
188
|
|
- #error "ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED. Please update your configuration."
|
|
188
|
+ #error "ABS_PREHEAT_FAN_SPEED is now PREHEAT_2_FAN_SPEED."
|
189
|
189
|
#elif defined(ENDSTOPS_ONLY_FOR_HOMING)
|
190
|
190
|
#error "ENDSTOPS_ONLY_FOR_HOMING is deprecated. Use (disable) ENDSTOPS_ALWAYS_ON_DEFAULT instead."
|
191
|
191
|
#elif defined(HOMING_FEEDRATE)
|
|
@@ -193,111 +193,111 @@
|
193
|
193
|
#elif defined(MANUAL_HOME_POSITIONS)
|
194
|
194
|
#error "MANUAL_HOME_POSITIONS is deprecated. Set MANUAL_[XYZ]_HOME_POS as-needed instead."
|
195
|
195
|
#elif defined(PID_ADD_EXTRUSION_RATE)
|
196
|
|
- #error "PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default. Are you sure you want to use this option? Please update your configuration."
|
|
196
|
+ #error "PID_ADD_EXTRUSION_RATE is now PID_EXTRUSION_SCALING and is DISABLED by default."
|
197
|
197
|
#elif defined(Z_RAISE_BEFORE_HOMING)
|
198
|
|
- #error "Z_RAISE_BEFORE_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
|
|
198
|
+ #error "Z_RAISE_BEFORE_HOMING is now Z_HOMING_HEIGHT."
|
199
|
199
|
#elif defined(MIN_Z_HEIGHT_FOR_HOMING)
|
200
|
|
- #error "MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT. Please update your configuration."
|
|
200
|
+ #error "MIN_Z_HEIGHT_FOR_HOMING is now Z_HOMING_HEIGHT."
|
201
|
201
|
#elif defined(Z_RAISE_BEFORE_PROBING) || defined(Z_RAISE_AFTER_PROBING)
|
202
|
202
|
#error "Z_RAISE_(BEFORE|AFTER)_PROBING are deprecated. Use Z_CLEARANCE_DEPLOY_PROBE and Z_AFTER_PROBING instead."
|
203
|
203
|
#elif defined(Z_RAISE_PROBE_DEPLOY_STOW) || defined(Z_RAISE_BETWEEN_PROBINGS)
|
204
|
|
- #error "Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_CLEARANCE_DEPLOY_PROBE and Z_CLEARANCE_BETWEEN_PROBES. Please update your configuration."
|
|
204
|
+ #error "Z_RAISE_PROBE_DEPLOY_STOW and Z_RAISE_BETWEEN_PROBINGS are now Z_CLEARANCE_DEPLOY_PROBE and Z_CLEARANCE_BETWEEN_PROBES."
|
205
|
205
|
#elif defined(Z_PROBE_DEPLOY_HEIGHT) || defined(Z_PROBE_TRAVEL_HEIGHT)
|
206
|
|
- #error "Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT are now Z_CLEARANCE_DEPLOY_PROBE and Z_CLEARANCE_BETWEEN_PROBES. Please update your configuration."
|
|
206
|
+ #error "Z_PROBE_DEPLOY_HEIGHT and Z_PROBE_TRAVEL_HEIGHT are now Z_CLEARANCE_DEPLOY_PROBE and Z_CLEARANCE_BETWEEN_PROBES."
|
207
|
207
|
#elif defined(MANUAL_BED_LEVELING)
|
208
|
|
- #error "MANUAL_BED_LEVELING is now LCD_BED_LEVELING. Please update your configuration."
|
|
208
|
+ #error "MANUAL_BED_LEVELING is now LCD_BED_LEVELING."
|
209
|
209
|
#elif defined(MESH_HOME_SEARCH_Z)
|
210
|
|
- #error "MESH_HOME_SEARCH_Z is now LCD_PROBE_Z_RANGE. Please update your configuration."
|
|
210
|
+ #error "MESH_HOME_SEARCH_Z is now LCD_PROBE_Z_RANGE."
|
211
|
211
|
#elif defined(MANUAL_PROBE_Z_RANGE)
|
212
|
|
- #error "MANUAL_PROBE_Z_RANGE is now LCD_PROBE_Z_RANGE. Please update your configuration."
|
|
212
|
+ #error "MANUAL_PROBE_Z_RANGE is now LCD_PROBE_Z_RANGE."
|
213
|
213
|
#elif !defined(MIN_STEPS_PER_SEGMENT)
|
214
|
|
- #error Please replace "const int dropsegments" with "#define MIN_STEPS_PER_SEGMENT" (and increase by 1) in Configuration_adv.h.
|
|
214
|
+ #error "Please replace 'const int dropsegments' with '#define MIN_STEPS_PER_SEGMENT' (and increase by 1)."
|
215
|
215
|
#elif MIN_STEPS_PER_SEGMENT <= 0
|
216
|
|
- #error "MIN_STEPS_PER_SEGMENT must be at least 1. Please update your Configuration_adv.h."
|
|
216
|
+ #error "MIN_STEPS_PER_SEGMENT must be at least 1."
|
217
|
217
|
#elif defined(PREVENT_DANGEROUS_EXTRUDE)
|
218
|
|
- #error "PREVENT_DANGEROUS_EXTRUDE is now PREVENT_COLD_EXTRUSION. Please update your configuration."
|
|
218
|
+ #error "PREVENT_DANGEROUS_EXTRUDE is now PREVENT_COLD_EXTRUSION."
|
219
|
219
|
#elif defined(SCARA)
|
220
|
|
- #error "SCARA is now MORGAN_SCARA. Please update your configuration."
|
|
220
|
+ #error "SCARA is now MORGAN_SCARA."
|
221
|
221
|
#elif defined(ENABLE_AUTO_BED_LEVELING)
|
222
|
222
|
#error "ENABLE_AUTO_BED_LEVELING is deprecated. Specify AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_3POINT."
|
223
|
223
|
#elif defined(AUTO_BED_LEVELING_FEATURE)
|
224
|
224
|
#error "AUTO_BED_LEVELING_FEATURE is deprecated. Specify AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR, or AUTO_BED_LEVELING_3POINT."
|
225
|
225
|
#elif defined(ABL_GRID_POINTS)
|
226
|
|
- #error "ABL_GRID_POINTS is now GRID_MAX_POINTS_X and GRID_MAX_POINTS_Y. Please update your configuration."
|
|
226
|
+ #error "ABL_GRID_POINTS is now GRID_MAX_POINTS_X and GRID_MAX_POINTS_Y."
|
227
|
227
|
#elif defined(ABL_GRID_POINTS_X) || defined(ABL_GRID_POINTS_Y)
|
228
|
|
- #error "ABL_GRID_POINTS_[XY] is now GRID_MAX_POINTS_[XY]. Please update your configuration."
|
|
228
|
+ #error "ABL_GRID_POINTS_[XY] is now GRID_MAX_POINTS_[XY]."
|
229
|
229
|
#elif defined(ABL_GRID_MAX_POINTS_X) || defined(ABL_GRID_MAX_POINTS_Y)
|
230
|
|
- #error "ABL_GRID_MAX_POINTS_[XY] is now GRID_MAX_POINTS_[XY]. Please update your configuration."
|
|
230
|
+ #error "ABL_GRID_MAX_POINTS_[XY] is now GRID_MAX_POINTS_[XY]."
|
231
|
231
|
#elif defined(MESH_NUM_X_POINTS) || defined(MESH_NUM_Y_POINTS)
|
232
|
|
- #error "MESH_NUM_[XY]_POINTS is now GRID_MAX_POINTS_[XY]. Please update your configuration."
|
|
232
|
+ #error "MESH_NUM_[XY]_POINTS is now GRID_MAX_POINTS_[XY]."
|
233
|
233
|
#elif defined(UBL_MESH_NUM_X_POINTS) || defined(UBL_MESH_NUM_Y_POINTS)
|
234
|
|
- #error "UBL_MESH_NUM_[XY]_POINTS is now GRID_MAX_POINTS_[XY]. Please update your configuration."
|
|
234
|
+ #error "UBL_MESH_NUM_[XY]_POINTS is now GRID_MAX_POINTS_[XY]."
|
235
|
235
|
#elif defined(UBL_G26_MESH_VALIDATION)
|
236
|
|
- #error "UBL_G26_MESH_VALIDATION is now G26_MESH_VALIDATION. Please update your configuration."
|
|
236
|
+ #error "UBL_G26_MESH_VALIDATION is now G26_MESH_VALIDATION."
|
237
|
237
|
#elif defined(UBL_MESH_EDIT_ENABLED)
|
238
|
|
- #error "UBL_MESH_EDIT_ENABLED is now G26_MESH_VALIDATION. Please update your configuration."
|
|
238
|
+ #error "UBL_MESH_EDIT_ENABLED is now G26_MESH_VALIDATION."
|
239
|
239
|
#elif defined(UBL_MESH_EDITING)
|
240
|
|
- #error "UBL_MESH_EDITING is now G26_MESH_VALIDATION. Please update your configuration."
|
|
240
|
+ #error "UBL_MESH_EDITING is now G26_MESH_VALIDATION."
|
241
|
241
|
#elif defined(BLTOUCH_HEATERS_OFF)
|
242
|
|
- #error "BLTOUCH_HEATERS_OFF is now PROBING_HEATERS_OFF. Please update your configuration."
|
|
242
|
+ #error "BLTOUCH_HEATERS_OFF is now PROBING_HEATERS_OFF."
|
243
|
243
|
#elif defined(BLTOUCH_V3)
|
244
|
|
- #error "BLTOUCH_V3 is obsolete. Please update your configuration."
|
|
244
|
+ #error "BLTOUCH_V3 is obsolete."
|
245
|
245
|
#elif defined(BLTOUCH_FORCE_OPEN_DRAIN_MODE)
|
246
|
|
- #error "BLTOUCH_FORCE_OPEN_DRAIN_MODE is obsolete. Please update your configuration."
|
|
246
|
+ #error "BLTOUCH_FORCE_OPEN_DRAIN_MODE is obsolete."
|
247
|
247
|
#elif defined(BEEPER)
|
248
|
|
- #error "BEEPER is now BEEPER_PIN. Please update your pins definitions."
|
|
248
|
+ #error "BEEPER is now BEEPER_PIN."
|
249
|
249
|
#elif defined(SDCARDDETECT)
|
250
|
|
- #error "SDCARDDETECT is now SD_DETECT_PIN. Please update your pins definitions."
|
|
250
|
+ #error "SDCARDDETECT is now SD_DETECT_PIN."
|
251
|
251
|
#elif defined(STAT_LED_RED) || defined(STAT_LED_BLUE)
|
252
|
|
- #error "STAT_LED_RED/STAT_LED_BLUE are now STAT_LED_RED_PIN/STAT_LED_BLUE_PIN. Please update your pins definitions."
|
|
252
|
+ #error "STAT_LED_RED/STAT_LED_BLUE are now STAT_LED_RED_PIN/STAT_LED_BLUE_PIN."
|
253
|
253
|
#elif defined(LCD_PIN_BL)
|
254
|
|
- #error "LCD_PIN_BL is now LCD_BACKLIGHT_PIN. Please update your pins definitions."
|
|
254
|
+ #error "LCD_PIN_BL is now LCD_BACKLIGHT_PIN."
|
255
|
255
|
#elif defined(LCD_PIN_RESET)
|
256
|
|
- #error "LCD_PIN_RESET is now LCD_RESET_PIN. Please update your pins definitions."
|
|
256
|
+ #error "LCD_PIN_RESET is now LCD_RESET_PIN."
|
257
|
257
|
#elif defined(EXTRUDER_0_AUTO_FAN_PIN) || defined(EXTRUDER_1_AUTO_FAN_PIN) || defined(EXTRUDER_2_AUTO_FAN_PIN) || defined(EXTRUDER_3_AUTO_FAN_PIN)
|
258
|
|
- #error "EXTRUDER_[0123]_AUTO_FAN_PIN is now E[0123]_AUTO_FAN_PIN. Please update your Configuration_adv.h."
|
|
258
|
+ #error "EXTRUDER_[0123]_AUTO_FAN_PIN is now E[0123]_AUTO_FAN_PIN."
|
259
|
259
|
#elif defined(PID_FAN_SCALING) && !HAS_FAN
|
260
|
260
|
#error "PID_FAN_SCALING needs at least one fan enabled."
|
261
|
261
|
#elif defined(min_software_endstops) || defined(max_software_endstops)
|
262
|
|
- #error "(min|max)_software_endstops are now (MIN|MAX)_SOFTWARE_ENDSTOPS. Please update your configuration."
|
|
262
|
+ #error "(min|max)_software_endstops are now (MIN|MAX)_SOFTWARE_ENDSTOPS."
|
263
|
263
|
#elif ENABLED(Z_PROBE_SLED) && defined(SLED_PIN)
|
264
|
264
|
#error "Replace SLED_PIN with SOL1_PIN (applies to both Z_PROBE_SLED and SOLENOID_PROBE)."
|
265
|
265
|
#elif defined(CONTROLLERFAN_PIN)
|
266
|
|
- #error "CONTROLLERFAN_PIN is now CONTROLLER_FAN_PIN, enabled with USE_CONTROLLER_FAN. Please update your Configuration_adv.h."
|
|
266
|
+ #error "CONTROLLERFAN_PIN is now CONTROLLER_FAN_PIN, enabled with USE_CONTROLLER_FAN."
|
267
|
267
|
#elif defined(CONTROLLERFAN_SPEED)
|
268
|
|
- #error "CONTROLLERFAN_SPEED is now CONTROLLERFAN_SPEED_ACTIVE. Please update your Configuration_adv.h."
|
|
268
|
+ #error "CONTROLLERFAN_SPEED is now CONTROLLERFAN_SPEED_ACTIVE."
|
269
|
269
|
#elif defined(CONTROLLERFAN_SECS)
|
270
|
|
- #error "CONTROLLERFAN_SECS is now CONTROLLERFAN_IDLE_TIME. Please update your Configuration_adv.h."
|
|
270
|
+ #error "CONTROLLERFAN_SECS is now CONTROLLERFAN_IDLE_TIME."
|
271
|
271
|
#elif defined(MIN_RETRACT)
|
272
|
|
- #error "MIN_RETRACT is now MIN_AUTORETRACT and MAX_AUTORETRACT. Please update your Configuration_adv.h."
|
|
272
|
+ #error "MIN_RETRACT is now MIN_AUTORETRACT and MAX_AUTORETRACT."
|
273
|
273
|
#elif defined(ADVANCE)
|
274
|
|
- #error "ADVANCE was removed in Marlin 1.1.6. Please use LIN_ADVANCE."
|
|
274
|
+ #error "ADVANCE is now LIN_ADVANCE."
|
275
|
275
|
#elif defined(LIN_ADVANCE_E_D_RATIO)
|
276
|
|
- #error "LIN_ADVANCE (1.5) no longer uses LIN_ADVANCE_E_D_RATIO. Check your configuration."
|
|
276
|
+ #error "LIN_ADVANCE (1.5) no longer uses LIN_ADVANCE_E_D_RATIO."
|
277
|
277
|
#elif defined(NEOPIXEL_RGBW_LED)
|
278
|
|
- #error "NEOPIXEL_RGBW_LED is now NEOPIXEL_LED. Please update your configuration."
|
|
278
|
+ #error "NEOPIXEL_RGBW_LED is now NEOPIXEL_LED."
|
279
|
279
|
#elif ENABLED(DELTA) && defined(DELTA_PROBEABLE_RADIUS)
|
280
|
280
|
#error "Remove DELTA_PROBEABLE_RADIUS and use PROBING_MARGIN to inset the probe area instead."
|
281
|
281
|
#elif ENABLED(DELTA) && defined(DELTA_CALIBRATION_RADIUS)
|
282
|
282
|
#error "Remove DELTA_CALIBRATION_RADIUS and use PROBING_MARGIN to inset the probe area instead."
|
283
|
283
|
#elif defined(UBL_MESH_INSET)
|
284
|
|
- #error "UBL_MESH_INSET is now just MESH_INSET. Please update your configuration."
|
|
284
|
+ #error "UBL_MESH_INSET is now just MESH_INSET."
|
285
|
285
|
#elif defined(UBL_MESH_MIN_X) || defined(UBL_MESH_MIN_Y) || defined(UBL_MESH_MAX_X) || defined(UBL_MESH_MAX_Y)
|
286
|
|
- #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]. Please update your configuration."
|
|
286
|
+ #error "UBL_MESH_(MIN|MAX)_[XY] is now just MESH_(MIN|MAX)_[XY]."
|
287
|
287
|
#elif defined(ABL_PROBE_PT_1_X) || defined(ABL_PROBE_PT_1_Y) || defined(ABL_PROBE_PT_2_X) || defined(ABL_PROBE_PT_2_Y) || defined(ABL_PROBE_PT_3_X) || defined(ABL_PROBE_PT_3_Y)
|
288
|
|
- #error "ABL_PROBE_PT_[123]_[XY] is no longer required. Please remove it from Configuration.h."
|
|
288
|
+ #error "ABL_PROBE_PT_[123]_[XY] is no longer required. Please remove it."
|
289
|
289
|
#elif defined(UBL_PROBE_PT_1_X) || defined(UBL_PROBE_PT_1_Y) || defined(UBL_PROBE_PT_2_X) || defined(UBL_PROBE_PT_2_Y) || defined(UBL_PROBE_PT_3_X) || defined(UBL_PROBE_PT_3_Y)
|
290
|
|
- #error "UBL_PROBE_PT_[123]_[XY] is no longer required. Please remove it from Configuration.h."
|
|
290
|
+ #error "UBL_PROBE_PT_[123]_[XY] is no longer required. Please remove it."
|
291
|
291
|
#elif defined(MIN_PROBE_EDGE)
|
292
|
|
- #error "MIN_PROBE_EDGE is now called PROBING_MARGIN. Please update your configuration."
|
|
292
|
+ #error "MIN_PROBE_EDGE is now called PROBING_MARGIN."
|
293
|
293
|
#elif defined(MIN_PROBE_EDGE_LEFT)
|
294
|
|
- #error "MIN_PROBE_EDGE_LEFT is now called PROBING_MARGIN_LEFT. Please update your configuration."
|
|
294
|
+ #error "MIN_PROBE_EDGE_LEFT is now called PROBING_MARGIN_LEFT."
|
295
|
295
|
#elif defined(MIN_PROBE_EDGE_RIGHT)
|
296
|
|
- #error "MIN_PROBE_EDGE_RIGHT is now called PROBING_MARGIN_RIGHT. Please update your configuration."
|
|
296
|
+ #error "MIN_PROBE_EDGE_RIGHT is now called PROBING_MARGIN_RIGHT."
|
297
|
297
|
#elif defined(MIN_PROBE_EDGE_FRONT)
|
298
|
|
- #error "MIN_PROBE_EDGE_FRONT is now called PROBING_MARGIN_FRONT. Please update your configuration."
|
|
298
|
+ #error "MIN_PROBE_EDGE_FRONT is now called PROBING_MARGIN_FRONT."
|
299
|
299
|
#elif defined(MIN_PROBE_EDGE_BACK)
|
300
|
|
- #error "MIN_PROBE_EDGE_BACK is now called PROBING_MARGIN_BACK. Please update your configuration."
|
|
300
|
+ #error "MIN_PROBE_EDGE_BACK is now called PROBING_MARGIN_BACK."
|
301
|
301
|
#elif defined(LEFT_PROBE_BED_POSITION)
|
302
|
302
|
#error "LEFT_PROBE_BED_POSITION is obsolete. Set a margin with PROBING_MARGIN or PROBING_MARGIN_LEFT instead."
|
303
|
303
|
#elif defined(RIGHT_PROBE_BED_POSITION)
|
|
@@ -307,243 +307,229 @@
|
307
|
307
|
#elif defined(BACK_PROBE_BED_POSITION)
|
308
|
308
|
#error "BACK_PROBE_BED_POSITION is obsolete. Set a margin with PROBING_MARGIN or PROBING_MARGIN_BACK instead."
|
309
|
309
|
#elif defined(ENABLE_MESH_EDIT_GFX_OVERLAY)
|
310
|
|
- #error "ENABLE_MESH_EDIT_GFX_OVERLAY is now MESH_EDIT_GFX_OVERLAY. Please update your configuration."
|
|
310
|
+ #error "ENABLE_MESH_EDIT_GFX_OVERLAY is now MESH_EDIT_GFX_OVERLAY."
|
311
|
311
|
#elif defined(BABYSTEP_ZPROBE_GFX_REVERSE)
|
312
|
|
- #error "BABYSTEP_ZPROBE_GFX_REVERSE is now set by OVERLAY_GFX_REVERSE. Please update your configurations."
|
|
312
|
+ #error "BABYSTEP_ZPROBE_GFX_REVERSE is now set by OVERLAY_GFX_REVERSE."
|
313
|
313
|
#elif defined(UBL_GRANULAR_SEGMENTATION_FOR_CARTESIAN)
|
314
|
|
- #error "UBL_GRANULAR_SEGMENTATION_FOR_CARTESIAN is now SEGMENT_LEVELED_MOVES. Please update your configuration."
|
|
314
|
+ #error "UBL_GRANULAR_SEGMENTATION_FOR_CARTESIAN is now SEGMENT_LEVELED_MOVES."
|
315
|
315
|
#elif HAS_PID_HEATING && (defined(K1) || !defined(PID_K1))
|
316
|
|
- #error "K1 is now PID_K1. Please update your configuration."
|
|
316
|
+ #error "K1 is now PID_K1."
|
317
|
317
|
#elif defined(PROBE_DOUBLE_TOUCH)
|
318
|
|
- #error "PROBE_DOUBLE_TOUCH is now MULTIPLE_PROBING. Please update your configuration."
|
|
318
|
+ #error "PROBE_DOUBLE_TOUCH is now MULTIPLE_PROBING."
|
319
|
319
|
#elif defined(ANET_KEYPAD_LCD)
|
320
|
|
- #error "ANET_KEYPAD_LCD is now ZONESTAR_LCD. Please update your configuration."
|
|
320
|
+ #error "ANET_KEYPAD_LCD is now ZONESTAR_LCD."
|
321
|
321
|
#elif defined(LCD_I2C_SAINSMART_YWROBOT)
|
322
|
|
- #error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004). Please update your configuration."
|
|
322
|
+ #error "LCD_I2C_SAINSMART_YWROBOT is now LCD_SAINSMART_I2C_(1602|2004)."
|
323
|
323
|
#elif defined(MEASURED_LOWER_LIMIT) || defined(MEASURED_UPPER_LIMIT)
|
324
|
|
- #error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN. Please update your configuration."
|
|
324
|
+ #error "MEASURED_(UPPER|LOWER)_LIMIT is now FILWIDTH_ERROR_MARGIN."
|
325
|
325
|
#elif defined(HAVE_TMCDRIVER)
|
326
|
|
- #error "HAVE_TMCDRIVER is now [AXIS]_DRIVER_TYPE TMC26X. Please update your Configuration.h."
|
|
326
|
+ #error "HAVE_TMCDRIVER is now [AXIS]_DRIVER_TYPE TMC26X."
|
327
|
327
|
#elif defined(STEALTHCHOP)
|
328
|
|
- #error "STEALTHCHOP is now STEALTHCHOP_(XY|Z|E). Please update your Configuration_adv.h."
|
|
328
|
+ #error "STEALTHCHOP is now STEALTHCHOP_(XY|Z|E)."
|
329
|
329
|
#elif defined(HAVE_TMC26X)
|
330
|
|
- #error "HAVE_TMC26X is now [AXIS]_DRIVER_TYPE TMC26X. Please update your Configuration.h."
|
|
330
|
+ #error "HAVE_TMC26X is now [AXIS]_DRIVER_TYPE TMC26X."
|
331
|
331
|
#elif defined(HAVE_TMC2130)
|
332
|
|
- #error "HAVE_TMC2130 is now [AXIS]_DRIVER_TYPE TMC2130. Please update your Configuration.h."
|
|
332
|
+ #error "HAVE_TMC2130 is now [AXIS]_DRIVER_TYPE TMC2130."
|
333
|
333
|
#elif defined(HAVE_TMC2208)
|
334
|
|
- #error "HAVE_TMC2208 is now [AXIS]_DRIVER_TYPE TMC2208. Please update your Configuration.h."
|
|
334
|
+ #error "HAVE_TMC2208 is now [AXIS]_DRIVER_TYPE TMC2208."
|
335
|
335
|
#elif defined(HAVE_L6470DRIVER)
|
336
|
|
- #error "HAVE_L6470DRIVER is now [AXIS]_DRIVER_TYPE L6470. Please update your Configuration.h."
|
|
336
|
+ #error "HAVE_L6470DRIVER is now [AXIS]_DRIVER_TYPE L6470."
|
337
|
337
|
#elif defined(X_IS_TMC) || defined(X2_IS_TMC) || defined(Y_IS_TMC) || defined(Y2_IS_TMC) || defined(Z_IS_TMC) || defined(Z2_IS_TMC) || defined(Z3_IS_TMC) \
|
338
|
338
|
|| defined(E0_IS_TMC) || defined(E1_IS_TMC) || defined(E2_IS_TMC) || defined(E3_IS_TMC) || defined(E4_IS_TMC) || defined(E5_IS_TMC) || defined(E6_IS_TMC) || defined(E7_IS_TMC)
|
339
|
|
- #error "[AXIS]_IS_TMC is now [AXIS]_DRIVER_TYPE TMC26X. Please update your Configuration.h."
|
|
339
|
+ #error "[AXIS]_IS_TMC is now [AXIS]_DRIVER_TYPE TMC26X."
|
340
|
340
|
#elif defined(X_IS_TMC26X) || defined(X2_IS_TMC26X) || defined(Y_IS_TMC26X) || defined(Y2_IS_TMC26X) || defined(Z_IS_TMC26X) || defined(Z2_IS_TMC26X) || defined(Z3_IS_TMC26X) \
|
341
|
341
|
|| defined(E0_IS_TMC26X) || defined(E1_IS_TMC26X) || defined(E2_IS_TMC26X) || defined(E3_IS_TMC26X) || defined(E4_IS_TMC26X) || defined(E5_IS_TMC26X) || defined(E6_IS_TMC26X) || defined(E7_IS_TMC26X)
|
342
|
|
- #error "[AXIS]_IS_TMC26X is now [AXIS]_DRIVER_TYPE TMC26X. Please update your Configuration.h."
|
|
342
|
+ #error "[AXIS]_IS_TMC26X is now [AXIS]_DRIVER_TYPE TMC26X."
|
343
|
343
|
#elif defined(X_IS_TMC2130) || defined(X2_IS_TMC2130) || defined(Y_IS_TMC2130) || defined(Y2_IS_TMC2130) || defined(Z_IS_TMC2130) || defined(Z2_IS_TMC2130) || defined(Z3_IS_TMC2130) \
|
344
|
344
|
|| defined(E0_IS_TMC2130) || defined(E1_IS_TMC2130) || defined(E2_IS_TMC2130) || defined(E3_IS_TMC2130) || defined(E4_IS_TMC2130) || defined(E5_IS_TMC2130) || defined(E6_IS_TMC2130) || defined(E7_IS_TMC2130)
|
345
|
|
- #error "[AXIS]_IS_TMC2130 is now [AXIS]_DRIVER_TYPE TMC2130. Please update your Configuration.h."
|
|
345
|
+ #error "[AXIS]_IS_TMC2130 is now [AXIS]_DRIVER_TYPE TMC2130."
|
346
|
346
|
#elif defined(X_IS_TMC2208) || defined(X2_IS_TMC2208) || defined(Y_IS_TMC2208) || defined(Y2_IS_TMC2208) || defined(Z_IS_TMC2208) || defined(Z2_IS_TMC2208) || defined(Z3_IS_TMC2208) \
|
347
|
347
|
|| defined(E0_IS_TMC2208) || defined(E1_IS_TMC2208) || defined(E2_IS_TMC2208) || defined(E3_IS_TMC2208) || defined(E4_IS_TMC2208) || defined(E5_IS_TMC2208) || defined(E6_IS_TMC2208) || defined(E7_IS_TMC2208)
|
348
|
|
- #error "[AXIS]_IS_TMC2208 is now [AXIS]_DRIVER_TYPE TMC2208. Please update your Configuration.h."
|
|
348
|
+ #error "[AXIS]_IS_TMC2208 is now [AXIS]_DRIVER_TYPE TMC2208."
|
349
|
349
|
#elif defined(X_IS_L6470) || defined(X2_IS_L6470) || defined(Y_IS_L6470) || defined(Y2_IS_L6470) || defined(Z_IS_L6470) || defined(Z2_IS_L6470) || defined(Z3_IS_L6470) \
|
350
|
350
|
|| defined(E0_IS_L6470) || defined(E1_IS_L6470) || defined(E2_IS_L6470) || defined(E3_IS_L6470) || defined(E4_IS_L6470) || defined(E5_IS_L6470) || defined(E6_IS_L6470) || defined(E7_IS_L6470)
|
351
|
|
- #error "[AXIS]_IS_L6470 is now [AXIS]_DRIVER_TYPE L6470. Please update your Configuration.h."
|
|
351
|
+ #error "[AXIS]_IS_L6470 is now [AXIS]_DRIVER_TYPE L6470."
|
352
|
352
|
#elif defined(AUTOMATIC_CURRENT_CONTROL)
|
353
|
|
- #error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS. Please update your configuration."
|
|
353
|
+ #error "AUTOMATIC_CURRENT_CONTROL is now MONITOR_DRIVER_STATUS."
|
354
|
354
|
#elif defined(FILAMENT_CHANGE_LOAD_LENGTH)
|
355
|
|
- #error "FILAMENT_CHANGE_LOAD_LENGTH is now FILAMENT_CHANGE_FAST_LOAD_LENGTH. Please update your configuration."
|
|
355
|
+ #error "FILAMENT_CHANGE_LOAD_LENGTH is now FILAMENT_CHANGE_FAST_LOAD_LENGTH."
|
356
|
356
|
#elif defined(LEVEL_CORNERS_INSET)
|
357
|
|
- #error "LEVEL_CORNERS_INSET is now LEVEL_CORNERS_INSET_LFRB . Please update your Configuration.h."
|
|
357
|
+ #error "LEVEL_CORNERS_INSET is now LEVEL_CORNERS_INSET_LFRB."
|
358
|
358
|
#elif ENABLED(LEVEL_BED_CORNERS) && !defined(LEVEL_CORNERS_INSET_LFRB)
|
359
|
|
- #error "LEVEL_BED_CORNERS requires LEVEL_CORNERS_INSET_LFRB values. Please update your Configuration.h."
|
|
359
|
+ #error "LEVEL_BED_CORNERS requires LEVEL_CORNERS_INSET_LFRB values."
|
360
|
360
|
#elif defined(BEZIER_JERK_CONTROL)
|
361
|
|
- #error "BEZIER_JERK_CONTROL is now S_CURVE_ACCELERATION. Please update your configuration."
|
|
361
|
+ #error "BEZIER_JERK_CONTROL is now S_CURVE_ACCELERATION."
|
362
|
362
|
#elif HAS_JUNCTION_DEVIATION && defined(JUNCTION_DEVIATION_FACTOR)
|
363
|
|
- #error "JUNCTION_DEVIATION_FACTOR is now JUNCTION_DEVIATION_MM. Please update your configuration."
|
|
363
|
+ #error "JUNCTION_DEVIATION_FACTOR is now JUNCTION_DEVIATION_MM."
|
364
|
364
|
#elif defined(JUNCTION_ACCELERATION_FACTOR)
|
365
|
365
|
#error "JUNCTION_ACCELERATION_FACTOR is obsolete. Delete it from Configuration_adv.h."
|
366
|
366
|
#elif defined(JUNCTION_ACCELERATION)
|
367
|
367
|
#error "JUNCTION_ACCELERATION is obsolete. Delete it from Configuration_adv.h."
|
368
|
368
|
#elif defined(MAX7219_DEBUG_STEPPER_HEAD)
|
369
|
|
- #error "MAX7219_DEBUG_STEPPER_HEAD is now MAX7219_DEBUG_PLANNER_HEAD. Please update your configuration."
|
|
369
|
+ #error "MAX7219_DEBUG_STEPPER_HEAD is now MAX7219_DEBUG_PLANNER_HEAD."
|
370
|
370
|
#elif defined(MAX7219_DEBUG_STEPPER_TAIL)
|
371
|
|
- #error "MAX7219_DEBUG_STEPPER_TAIL is now MAX7219_DEBUG_PLANNER_TAIL. Please update your configuration."
|
|
371
|
+ #error "MAX7219_DEBUG_STEPPER_TAIL is now MAX7219_DEBUG_PLANNER_TAIL."
|
372
|
372
|
#elif defined(MAX7219_DEBUG_STEPPER_QUEUE)
|
373
|
|
- #error "MAX7219_DEBUG_STEPPER_QUEUE is now MAX7219_DEBUG_PLANNER_QUEUE. Please update your configuration."
|
|
373
|
+ #error "MAX7219_DEBUG_STEPPER_QUEUE is now MAX7219_DEBUG_PLANNER_QUEUE."
|
374
|
374
|
#elif defined(ENDSTOP_NOISE_FILTER)
|
375
|
|
- #error "ENDSTOP_NOISE_FILTER is now ENDSTOP_NOISE_THRESHOLD [2-7]. Please update your configuration."
|
|
375
|
+ #error "ENDSTOP_NOISE_FILTER is now ENDSTOP_NOISE_THRESHOLD [2-7]."
|
376
|
376
|
#elif defined(RETRACT_ZLIFT)
|
377
|
|
- #error "RETRACT_ZLIFT is now RETRACT_ZRAISE. Please update your Configuration_adv.h."
|
|
377
|
+ #error "RETRACT_ZLIFT is now RETRACT_ZRAISE."
|
378
|
378
|
#elif defined(TOOLCHANGE_PARK_ZLIFT) || defined(TOOLCHANGE_UNPARK_ZLIFT)
|
379
|
|
- #error "TOOLCHANGE_PARK_ZLIFT and TOOLCHANGE_UNPARK_ZLIFT are now TOOLCHANGE_ZRAISE. Please update your configuration."
|
|
379
|
+ #error "TOOLCHANGE_PARK_ZLIFT and TOOLCHANGE_UNPARK_ZLIFT are now TOOLCHANGE_ZRAISE."
|
380
|
380
|
#elif defined(SINGLENOZZLE_TOOLCHANGE_ZRAISE)
|
381
|
|
- #error "SINGLENOZZLE_TOOLCHANGE_ZRAISE is now TOOLCHANGE_ZRAISE. Please update your configuration."
|
|
381
|
+ #error "SINGLENOZZLE_TOOLCHANGE_ZRAISE is now TOOLCHANGE_ZRAISE."
|
382
|
382
|
#elif defined(SINGLENOZZLE_SWAP_LENGTH)
|
383
|
|
- #error "SINGLENOZZLE_SWAP_LENGTH is now TOOLCHANGE_FIL_SWAP_LENGTH. Please update your configuration."
|
|
383
|
+ #error "SINGLENOZZLE_SWAP_LENGTH is now TOOLCHANGE_FIL_SWAP_LENGTH."
|
384
|
384
|
#elif defined(SINGLENOZZLE_SWAP_RETRACT_SPEED)
|
385
|
|
- #error "SINGLENOZZLE_SWAP_RETRACT_SPEED is now TOOLCHANGE_FIL_SWAP_RETRACT_SPEED. Please update your configuration."
|
|
385
|
+ #error "SINGLENOZZLE_SWAP_RETRACT_SPEED is now TOOLCHANGE_FIL_SWAP_RETRACT_SPEED."
|
386
|
386
|
#elif defined(SINGLENOZZLE_SWAP_PRIME_SPEED)
|
387
|
|
- #error "SINGLENOZZLE_SWAP_PRIME_SPEED is now TOOLCHANGE_FIL_SWAP_PRIME_SPEED. Please update your configuration."
|
|
387
|
+ #error "SINGLENOZZLE_SWAP_PRIME_SPEED is now TOOLCHANGE_FIL_SWAP_PRIME_SPEED."
|
388
|
388
|
#elif defined(SINGLENOZZLE_SWAP_PARK)
|
389
|
|
- #error "SINGLENOZZLE_SWAP_PARK is now TOOLCHANGE_PARK. Please update your configuration."
|
|
389
|
+ #error "SINGLENOZZLE_SWAP_PARK is now TOOLCHANGE_PARK."
|
390
|
390
|
#elif defined(SINGLENOZZLE_TOOLCHANGE_XY)
|
391
|
|
- #error "SINGLENOZZLE_TOOLCHANGE_XY is now TOOLCHANGE_PARK_XY. Please update your configuration."
|
|
391
|
+ #error "SINGLENOZZLE_TOOLCHANGE_XY is now TOOLCHANGE_PARK_XY."
|
392
|
392
|
#elif defined(SINGLENOZZLE_PARK_XY_FEEDRATE)
|
393
|
|
- #error "SINGLENOZZLE_PARK_XY_FEEDRATE is now TOOLCHANGE_PARK_XY_FEEDRATE. Please update your configuration."
|
|
393
|
+ #error "SINGLENOZZLE_PARK_XY_FEEDRATE is now TOOLCHANGE_PARK_XY_FEEDRATE."
|
394
|
394
|
#elif defined(PARKING_EXTRUDER_SECURITY_RAISE)
|
395
|
|
- #error "PARKING_EXTRUDER_SECURITY_RAISE is now TOOLCHANGE_ZRAISE. Please update your configuration."
|
|
395
|
+ #error "PARKING_EXTRUDER_SECURITY_RAISE is now TOOLCHANGE_ZRAISE."
|
396
|
396
|
#elif defined(SWITCHING_TOOLHEAD_SECURITY_RAISE)
|
397
|
|
- #error "SWITCHING_TOOLHEAD_SECURITY_RAISE is now TOOLCHANGE_ZRAISE. Please update your configuration."
|
|
397
|
+ #error "SWITCHING_TOOLHEAD_SECURITY_RAISE is now TOOLCHANGE_ZRAISE."
|
398
|
398
|
#elif defined(G0_FEEDRATE) && G0_FEEDRATE == 0
|
399
|
|
- #error "G0_FEEDRATE is now used to set the G0 feedrate. Please update your configuration."
|
|
399
|
+ #error "G0_FEEDRATE is now used to set the G0 feedrate."
|
400
|
400
|
#elif defined(MBL_Z_STEP)
|
401
|
|
- #error "MBL_Z_STEP is now MESH_EDIT_Z_STEP. Please update your configuration."
|
|
401
|
+ #error "MBL_Z_STEP is now MESH_EDIT_Z_STEP."
|
402
|
402
|
#elif defined(CHDK)
|
403
|
|
- #error "CHDK is now CHDK_PIN. Please update your Configuration_adv.h."
|
404
|
|
-#elif defined(MAX6675_SS)
|
405
|
|
- #error "MAX6675_SS is now MAX6675_SS_PIN. Please update your configuration and/or pins."
|
406
|
|
-#elif defined(MAX6675_SS2)
|
407
|
|
- #error "MAX6675_SS2 is now MAX6675_SS2_PIN. Please update your configuration and/or pins."
|
|
403
|
+ #error "CHDK is now CHDK_PIN."
|
|
404
|
+#elif defined(MAX6675_SS) || defined(MAX6675_SS2)
|
|
405
|
+ #error "MAX6675_SS / MAX6675_SS2 is now MAX6675_SS_PIN / MAX6675_SS2_PIN."
|
408
|
406
|
#elif defined(MAX31865_SENSOR_OHMS)
|
409
|
|
- #error "MAX31865_SENSOR_OHMS is now MAX31865_SENSOR_OHMS_0. Please update your configuration."
|
|
407
|
+ #error "MAX31865_SENSOR_OHMS is now MAX31865_SENSOR_OHMS_0."
|
410
|
408
|
#elif defined(MAX31865_CALIBRATION_OHMS)
|
411
|
|
- #error "MAX31865_CALIBRATION_OHMS is now MAX31865_CALIBRATION_OHMS_0. Please update your configuration."
|
|
409
|
+ #error "MAX31865_CALIBRATION_OHMS is now MAX31865_CALIBRATION_OHMS_0."
|
412
|
410
|
#elif defined(SPINDLE_LASER_ENABLE)
|
413
|
|
- #error "SPINDLE_LASER_ENABLE is now SPINDLE_FEATURE or LASER_FEATURE. Please update your Configuration_adv.h."
|
|
411
|
+ #error "SPINDLE_LASER_ENABLE is now SPINDLE_FEATURE or LASER_FEATURE."
|
414
|
412
|
#elif defined(SPINDLE_LASER_ENABLE_PIN)
|
415
|
|
- #error "SPINDLE_LASER_ENABLE_PIN is now SPINDLE_LASER_ENA_PIN. Please update your Configuration_adv.h and/or pins."
|
|
413
|
+ #error "SPINDLE_LASER_ENABLE_PIN is now SPINDLE_LASER_ENA_PIN."
|
416
|
414
|
#elif defined(SPINDLE_DIR_CHANGE)
|
417
|
|
- #error "SPINDLE_DIR_CHANGE is now SPINDLE_CHANGE_DIR. Please update your Configuration_adv.h."
|
|
415
|
+ #error "SPINDLE_DIR_CHANGE is now SPINDLE_CHANGE_DIR."
|
418
|
416
|
#elif defined(SPINDLE_STOP_ON_DIR_CHANGE)
|
419
|
|
- #error "SPINDLE_STOP_ON_DIR_CHANGE is now SPINDLE_CHANGE_DIR_STOP. Please update your Configuration_adv.h."
|
|
417
|
+ #error "SPINDLE_STOP_ON_DIR_CHANGE is now SPINDLE_CHANGE_DIR_STOP."
|
420
|
418
|
#elif defined(SPINDLE_LASER_ACTIVE_HIGH)
|
421
|
|
- #error "SPINDLE_LASER_ACTIVE_HIGH is now SPINDLE_LASER_ACTIVE_STATE. Please update your Configuration_adv.h."
|
|
419
|
+ #error "SPINDLE_LASER_ACTIVE_HIGH is now SPINDLE_LASER_ACTIVE_STATE."
|
422
|
420
|
#elif defined(SPINDLE_LASER_ENABLE_INVERT)
|
423
|
|
- #error "SPINDLE_LASER_ENABLE_INVERT is now SPINDLE_LASER_ACTIVE_STATE. Please update your Configuration_adv.h."
|
|
421
|
+ #error "SPINDLE_LASER_ENABLE_INVERT is now SPINDLE_LASER_ACTIVE_STATE."
|
424
|
422
|
#elif defined(CUTTER_POWER_DISPLAY)
|
425
|
|
- #error "CUTTER_POWER_DISPLAY is now CUTTER_POWER_UNIT. Please update your Configuration_adv.h."
|
|
423
|
+ #error "CUTTER_POWER_DISPLAY is now CUTTER_POWER_UNIT."
|
426
|
424
|
#elif defined(CHAMBER_HEATER_PIN)
|
427
|
|
- #error "CHAMBER_HEATER_PIN is now HEATER_CHAMBER_PIN. Please update your configuration and/or pins."
|
|
425
|
+ #error "CHAMBER_HEATER_PIN is now HEATER_CHAMBER_PIN."
|
428
|
426
|
#elif defined(TMC_Z_CALIBRATION)
|
429
|
|
- #error "TMC_Z_CALIBRATION has been deprecated in favor of MECHANICAL_GANTRY_CALIBRATION. Please update your configuration."
|
|
427
|
+ #error "TMC_Z_CALIBRATION has been deprecated in favor of MECHANICAL_GANTRY_CALIBRATION."
|
430
|
428
|
#elif defined(Z_MIN_PROBE_ENDSTOP)
|
431
|
|
- #error "Z_MIN_PROBE_ENDSTOP is no longer required. Please remove it from Configuration.h."
|
|
429
|
+ #error "Z_MIN_PROBE_ENDSTOP is no longer required. Please remove it."
|
432
|
430
|
#elif defined(DUAL_NOZZLE_DUPLICATION_MODE)
|
433
|
|
- #error "DUAL_NOZZLE_DUPLICATION_MODE is now MULTI_NOZZLE_DUPLICATION. Please update your configuration."
|
|
431
|
+ #error "DUAL_NOZZLE_DUPLICATION_MODE is now MULTI_NOZZLE_DUPLICATION."
|
434
|
432
|
#elif defined(MENU_ITEM_CASE_LIGHT)
|
435
|
|
- #error "MENU_ITEM_CASE_LIGHT is now CASE_LIGHT_MENU. Please update your configuration."
|
|
433
|
+ #error "MENU_ITEM_CASE_LIGHT is now CASE_LIGHT_MENU."
|
436
|
434
|
#elif defined(ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED)
|
437
|
|
- #error "ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED is now SD_ABORT_ON_ENDSTOP_HIT. Please update your Configuration_adv.h."
|
|
435
|
+ #error "ABORT_ON_ENDSTOP_HIT_FEATURE_ENABLED is now SD_ABORT_ON_ENDSTOP_HIT."
|
438
|
436
|
#elif defined(LPC_SD_LCD) || defined(LPC_SD_ONBOARD) || defined(LPC_SD_CUSTOM_CABLE)
|
439
|
|
- #error "LPC_SD_(LCD|ONBOARD|CUSTOM_CABLE) are now SDCARD_CONNECTION. Please update your Configuration_adv.h."
|
|
437
|
+ #error "LPC_SD_(LCD|ONBOARD|CUSTOM_CABLE) are now SDCARD_CONNECTION."
|
440
|
438
|
#elif defined(USB_SD_DISABLED)
|
441
|
|
- #error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE. Please update your Configuration_adv.h."
|
|
439
|
+ #error "USB_SD_DISABLED is now NO_SD_HOST_DRIVE."
|
442
|
440
|
#elif defined(USB_SD_ONBOARD)
|
443
|
441
|
#error "USB_SD_ONBOARD is obsolete. Disable NO_SD_HOST_DRIVE instead."
|
444
|
442
|
#elif defined(PSU_ACTIVE_HIGH)
|
445
|
|
- #error "PSU_ACTIVE_HIGH is now PSU_ACTIVE_STATE. Please update your configuration."
|
|
443
|
+ #error "PSU_ACTIVE_HIGH is now PSU_ACTIVE_STATE."
|
446
|
444
|
#elif POWER_SUPPLY == 1
|
447
|
445
|
#error "Replace POWER_SUPPLY 1 by enabling PSU_CONTROL and setting PSU_ACTIVE_STATE to 'LOW'."
|
448
|
446
|
#elif POWER_SUPPLY == 2
|
449
|
447
|
#error "Replace POWER_SUPPLY 2 by enabling PSU_CONTROL and setting PSU_ACTIVE_STATE to 'HIGH'."
|
450
|
448
|
#elif defined(POWER_SUPPLY)
|
451
|
|
- #error "POWER_SUPPLY is now obsolete. Please remove it from Configuration.h."
|
|
449
|
+ #error "POWER_SUPPLY is now obsolete. Please remove it."
|
452
|
450
|
#elif defined(MKS_ROBIN_TFT)
|
453
|
|
- #error "MKS_ROBIN_TFT is now FSMC_GRAPHICAL_TFT. Please update your configuration."
|
|
451
|
+ #error "MKS_ROBIN_TFT is now FSMC_GRAPHICAL_TFT."
|
454
|
452
|
#elif defined(SDPOWER)
|
455
|
|
- #error "SDPOWER is now SDPOWER_PIN. Please update your configuration and/or pins."
|
|
453
|
+ #error "SDPOWER is now SDPOWER_PIN."
|
456
|
454
|
#elif defined(STRING_SPLASH_LINE1) || defined(STRING_SPLASH_LINE2)
|
457
|
|
- #error "STRING_SPLASH_LINE[12] are now obsolete. Please remove them from Configuration.h."
|
|
455
|
+ #error "STRING_SPLASH_LINE[12] are now obsolete. Please remove them."
|
458
|
456
|
#elif defined(Z_PROBE_ALLEN_KEY_DEPLOY_1_X) || defined(Z_PROBE_ALLEN_KEY_STOW_1_X)
|
459
|
|
- #error "Z_PROBE_ALLEN_KEY_(DEPLOY|STOW) coordinates are now a single setting. Please update your configuration."
|
|
457
|
+ #error "Z_PROBE_ALLEN_KEY_(DEPLOY|STOW) coordinates are now a single setting."
|
460
|
458
|
#elif defined(X_PROBE_OFFSET_FROM_EXTRUDER) || defined(Y_PROBE_OFFSET_FROM_EXTRUDER) || defined(Z_PROBE_OFFSET_FROM_EXTRUDER)
|
461
|
|
- #error "[XYZ]_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET. Please update your configuration."
|
|
459
|
+ #error "[XYZ]_PROBE_OFFSET_FROM_EXTRUDER is now NOZZLE_TO_PROBE_OFFSET."
|
462
|
460
|
#elif defined(MIN_PROBE_X) || defined(MIN_PROBE_Y) || defined(MAX_PROBE_X) || defined(MAX_PROBE_Y)
|
463
|
|
- #error "(MIN|MAX)_PROBE_[XY] are now calculated at runtime. Please remove them from Configuration.h."
|
|
461
|
+ #error "(MIN|MAX)_PROBE_[XY] are now calculated at runtime. Please remove them."
|
464
|
462
|
#elif defined(Z_STEPPER_ALIGN_X) || defined(Z_STEPPER_ALIGN_X)
|
465
|
|
- #error "Z_STEPPER_ALIGN_X and Z_STEPPER_ALIGN_Y are now combined as Z_STEPPER_ALIGN_XY. Please update your Configuration_adv.h."
|
|
463
|
+ #error "Z_STEPPER_ALIGN_X and Z_STEPPER_ALIGN_Y are now combined as Z_STEPPER_ALIGN_XY."
|
466
|
464
|
#elif defined(JUNCTION_DEVIATION)
|
467
|
|
- #error "JUNCTION_DEVIATION is no longer required. (See CLASSIC_JERK). Please remove it from Configuration.h."
|
|
465
|
+ #error "JUNCTION_DEVIATION is no longer required. (See CLASSIC_JERK). Please remove it."
|
468
|
466
|
#elif defined(BABYSTEP_MULTIPLICATOR)
|
469
|
|
- #error "BABYSTEP_MULTIPLICATOR is now BABYSTEP_MULTIPLICATOR_[XY|Z]. Please update Configuration_adv.h."
|
|
467
|
+ #error "BABYSTEP_MULTIPLICATOR is now BABYSTEP_MULTIPLICATOR_[XY|Z]."
|
470
|
468
|
#elif defined(LULZBOT_TOUCH_UI)
|
471
|
|
- #error "LULZBOT_TOUCH_UI is now TOUCH_UI_FTDI_EVE. Please update your configuration."
|
|
469
|
+ #error "LULZBOT_TOUCH_UI is now TOUCH_UI_FTDI_EVE."
|
472
|
470
|
#elif defined(PS_DEFAULT_OFF)
|
473
|
|
- #error "PS_DEFAULT_OFF is now PSU_DEFAULT_OFF. Please update your configuration."
|
|
471
|
+ #error "PS_DEFAULT_OFF is now PSU_DEFAULT_OFF."
|
474
|
472
|
#elif defined(FILAMENT_UNLOAD_RETRACT_LENGTH)
|
475
|
|
- #error "FILAMENT_UNLOAD_RETRACT_LENGTH is now FILAMENT_UNLOAD_PURGE_RETRACT. Please update Configuration_adv.h."
|
|
473
|
+ #error "FILAMENT_UNLOAD_RETRACT_LENGTH is now FILAMENT_UNLOAD_PURGE_RETRACT."
|
476
|
474
|
#elif defined(FILAMENT_UNLOAD_DELAY)
|
477
|
|
- #error "FILAMENT_UNLOAD_DELAY is now FILAMENT_UNLOAD_PURGE_DELAY. Please update Configuration_adv.h."
|
|
475
|
+ #error "FILAMENT_UNLOAD_DELAY is now FILAMENT_UNLOAD_PURGE_DELAY."
|
478
|
476
|
#elif defined(HOME_USING_SPREADCYCLE)
|
479
|
|
- #error "HOME_USING_SPREADCYCLE is now obsolete. Please remove it from Configuration_adv.h."
|
|
477
|
+ #error "HOME_USING_SPREADCYCLE is now obsolete. Please remove it."
|
480
|
478
|
#elif defined(DGUS_LCD)
|
481
|
|
- #error "DGUS_LCD is now DGUS_LCD_UI_(ORIGIN|FYSETC|HIPRECY). Please update your configuration."
|
|
479
|
+ #error "DGUS_LCD is now DGUS_LCD_UI_(ORIGIN|FYSETC|HIPRECY)."
|
482
|
480
|
#elif defined(DGUS_SERIAL_PORT)
|
483
|
|
- #error "DGUS_SERIAL_PORT is now LCD_SERIAL_PORT. Please update your configuration."
|
|
481
|
+ #error "DGUS_SERIAL_PORT is now LCD_SERIAL_PORT."
|
484
|
482
|
#elif defined(DGUS_BAUDRATE)
|
485
|
|
- #error "DGUS_BAUDRATE is now LCD_BAUDRATE. Please update your configuration."
|
|
483
|
+ #error "DGUS_BAUDRATE is now LCD_BAUDRATE."
|
486
|
484
|
#elif defined(DGUS_STATS_RX_BUFFER_OVERRUNS)
|
487
|
|
- #error "DGUS_STATS_RX_BUFFER_OVERRUNS is now STATS_RX_BUFFER_OVERRUNS. Please update your configuration."
|
488
|
|
-#elif defined(DGUS_SERIAL_PORT)
|
489
|
|
- #error "DGUS_SERIAL_PORT is now LCD_SERIAL_PORT. Please update your configuration."
|
|
485
|
+ #error "DGUS_STATS_RX_BUFFER_OVERRUNS is now STATS_RX_BUFFER_OVERRUNS."
|
490
|
486
|
#elif defined(ANYCUBIC_LCD_SERIAL_PORT)
|
491
|
|
- #error "ANYCUBIC_LCD_SERIAL_PORT is now LCD_SERIAL_PORT. Please update your configuration."
|
|
487
|
+ #error "ANYCUBIC_LCD_SERIAL_PORT is now LCD_SERIAL_PORT."
|
492
|
488
|
#elif defined(INTERNAL_SERIAL_PORT)
|
493
|
|
- #error "INTERNAL_SERIAL_PORT is now MMU2_SERIAL_PORT. Please update your configuration."
|
494
|
|
-#elif defined(X_DUAL_ENDSTOPS_ADJUSTMENT)
|
495
|
|
- #error "X_DUAL_ENDSTOPS_ADJUSTMENT is now X2_ENDSTOP_ADJUSTMENT. Please update Configuration_adv.h."
|
496
|
|
-#elif defined(Y_DUAL_ENDSTOPS_ADJUSTMENT)
|
497
|
|
- #error "Y_DUAL_ENDSTOPS_ADJUSTMENT is now Y2_ENDSTOP_ADJUSTMENT. Please update Configuration_adv.h."
|
498
|
|
-#elif defined(Z_DUAL_ENDSTOPS_ADJUSTMENT)
|
499
|
|
- #error "Z_DUAL_ENDSTOPS_ADJUSTMENT is now Z2_ENDSTOP_ADJUSTMENT. Please update Configuration_adv.h."
|
|
489
|
+ #error "INTERNAL_SERIAL_PORT is now MMU2_SERIAL_PORT."
|
|
490
|
+#elif defined(X_DUAL_ENDSTOPS_ADJUSTMENT) || defined(Y_DUAL_ENDSTOPS_ADJUSTMENT) || defined(Z_DUAL_ENDSTOPS_ADJUSTMENT)
|
|
491
|
+ #error "[XYZ]_DUAL_ENDSTOPS_ADJUSTMENT is now [XYZ]2_ENDSTOP_ADJUSTMENT."
|
500
|
492
|
#elif defined(Z_TRIPLE_ENDSTOPS_ADJUSTMENT2) || defined(Z_TRIPLE_ENDSTOPS_ADJUSTMENT3)
|
501
|
|
- #error "Z_TRIPLE_ENDSTOPS_ADJUSTMENT[23] is now Z[23]_ENDSTOP_ADJUSTMENT. Please update Configuration_adv.h."
|
|
493
|
+ #error "Z_TRIPLE_ENDSTOPS_ADJUSTMENT[23] is now Z[23]_ENDSTOP_ADJUSTMENT."
|
502
|
494
|
#elif defined(Z_QUAD_ENDSTOPS_ADJUSTMENT2) || defined(Z_QUAD_ENDSTOPS_ADJUSTMENT3) || defined(Z_QUAD_ENDSTOPS_ADJUSTMENT4)
|
503
|
|
- #error "Z_QUAD_ENDSTOPS_ADJUSTMENT[234] is now Z[234]_ENDSTOP_ADJUSTMENT. Please update Configuration_adv.h."
|
|
495
|
+ #error "Z_QUAD_ENDSTOPS_ADJUSTMENT[234] is now Z[234]_ENDSTOP_ADJUSTMENT."
|
504
|
496
|
#elif defined(Z_DUAL_STEPPER_DRIVERS)
|
505
|
|
- #error "Z_DUAL_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 2. Please update Configuration_adv.h."
|
|
497
|
+ #error "Z_DUAL_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 2."
|
506
|
498
|
#elif defined(Z_TRIPLE_STEPPER_DRIVERS)
|
507
|
|
- #error "Z_TRIPLE_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 3. Please update Configuration_adv.h."
|
|
499
|
+ #error "Z_TRIPLE_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 3."
|
508
|
500
|
#elif defined(Z_QUAD_STEPPER_DRIVERS)
|
509
|
|
- #error "Z_QUAD_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 4. Please update Configuration_adv.h."
|
510
|
|
-#elif defined(Z_DUAL_ENDSTOPS)
|
511
|
|
- #error "Z_DUAL_ENDSTOPS is now Z_MULTI_ENDSTOPS. Please update Configuration_adv.h."
|
512
|
|
-#elif defined(Z_TRIPLE_ENDSTOPS)
|
513
|
|
- #error "Z_TRIPLE_ENDSTOPS is now Z_MULTI_ENDSTOPS. Please update Configuration_adv.h."
|
514
|
|
-#elif defined(Z_QUAD_ENDSTOPS)
|
515
|
|
- #error "Z_QUAD_ENDSTOPS is now Z_MULTI_ENDSTOPS. Please update Configuration_adv.h."
|
|
501
|
+ #error "Z_QUAD_STEPPER_DRIVERS is now NUM_Z_STEPPER_DRIVERS with a value of 4."
|
|
502
|
+#elif defined(Z_DUAL_ENDSTOPS) || defined(Z_TRIPLE_ENDSTOPS) || defined(Z_QUAD_ENDSTOPS)
|
|
503
|
+ #error "Z_(DUAL|TRIPLE|QUAD)_ENDSTOPS is now Z_MULTI_ENDSTOPS."
|
516
|
504
|
#elif defined(DUGS_UI_MOVE_DIS_OPTION)
|
517
|
|
- #error "DUGS_UI_MOVE_DIS_OPTION is spelled DGUS_UI_MOVE_DIS_OPTION. Please update Configuration_adv.h."
|
|
505
|
+ #error "DUGS_UI_MOVE_DIS_OPTION is spelled DGUS_UI_MOVE_DIS_OPTION."
|
518
|
506
|
#elif defined(ORIG_E0_AUTO_FAN_PIN) || defined(ORIG_E1_AUTO_FAN_PIN) || defined(ORIG_E2_AUTO_FAN_PIN) || defined(ORIG_E3_AUTO_FAN_PIN) || defined(ORIG_E4_AUTO_FAN_PIN) || defined(ORIG_E5_AUTO_FAN_PIN) || defined(ORIG_E6_AUTO_FAN_PIN) || defined(ORIG_E7_AUTO_FAN_PIN)
|
519
|
|
- #error "ORIG_Ex_AUTO_FAN_PIN is now just Ex_AUTO_FAN_PIN. Make sure your pins are up to date."
|
|
507
|
+ #error "ORIG_Ex_AUTO_FAN_PIN is now just Ex_AUTO_FAN_PIN."
|
520
|
508
|
#elif defined(ORIG_CHAMBER_AUTO_FAN_PIN)
|
521
|
|
- #error "ORIG_CHAMBER_AUTO_FAN_PIN is now just CHAMBER_AUTO_FAN_PIN. Make sure your pins are up to date."
|
|
509
|
+ #error "ORIG_CHAMBER_AUTO_FAN_PIN is now just CHAMBER_AUTO_FAN_PIN."
|
522
|
510
|
#elif defined(HOMING_BACKOFF_MM)
|
523
|
|
- #error "HOMING_BACKOFF_MM is now HOMING_BACKOFF_POST_MM. Please update Configuration_adv.h."
|
|
511
|
+ #error "HOMING_BACKOFF_MM is now HOMING_BACKOFF_POST_MM."
|
524
|
512
|
#elif defined(X_HOME_BUMP_MM) || defined(Y_HOME_BUMP_MM) || defined(Z_HOME_BUMP_MM)
|
525
|
|
- #error "[XYZ]_HOME_BUMP_MM is now HOMING_BUMP_MM. Please update Configuration_adv.h."
|
|
513
|
+ #error "[XYZ]_HOME_BUMP_MM is now HOMING_BUMP_MM."
|
526
|
514
|
#elif defined(DIGIPOT_I2C)
|
527
|
|
- #error "DIGIPOT_I2C is now DIGIPOT_MCP4451 (or DIGIPOT_MCP4018). Please update Configuration_adv.h."
|
|
515
|
+ #error "DIGIPOT_I2C is now DIGIPOT_MCP4451 (or DIGIPOT_MCP4018)."
|
528
|
516
|
#elif defined(TOUCH_BUTTONS)
|
529
|
|
- #error "TOUCH_BUTTONS is now TOUCH_SCREEN. Please update your Configuration.h."
|
530
|
|
-#elif defined(LCD_FULL_PIXEL_HEIGHT)
|
531
|
|
- #error "LCD_FULL_PIXEL_HEIGHT is deprecated and should be removed. Please update your Configuration.h."
|
532
|
|
-#elif defined(LCD_FULL_PIXEL_WIDTH)
|
533
|
|
- #error "LCD_FULL_PIXEL_WIDTH is deprecated and should be removed. Please update your Configuration.h."
|
|
517
|
+ #error "TOUCH_BUTTONS is now TOUCH_SCREEN."
|
|
518
|
+#elif defined(LCD_FULL_PIXEL_HEIGHT) || defined(LCD_FULL_PIXEL_WIDTH)
|
|
519
|
+ #error "LCD_FULL_PIXEL_(WIDTH|HEIGHT) is deprecated and should be removed."
|
534
|
520
|
#elif defined(FSMC_UPSCALE)
|
535
|
|
- #error "FSMC_UPSCALE is now GRAPHICAL_TFT_UPSCALE. Please update your Configuration.h."
|
|
521
|
+ #error "FSMC_UPSCALE is now GRAPHICAL_TFT_UPSCALE."
|
536
|
522
|
#elif defined(ANYCUBIC_TFT_MODEL)
|
537
|
|
- #error "ANYCUBIC_TFT_MODEL is now ANYCUBIC_LCD_I3MEGA. Please update your Configuration.h."
|
|
523
|
+ #error "ANYCUBIC_TFT_MODEL is now ANYCUBIC_LCD_I3MEGA."
|
538
|
524
|
#elif defined(EVENT_GCODE_SD_STOP)
|
539
|
|
- #error "EVENT_GCODE_SD_STOP is now EVENT_GCODE_SD_ABORT. Please update your Configuration.h."
|
|
525
|
+ #error "EVENT_GCODE_SD_STOP is now EVENT_GCODE_SD_ABORT."
|
540
|
526
|
#elif defined(GRAPHICAL_TFT_ROTATE_180)
|
541
|
|
- #error "GRAPHICAL_TFT_ROTATE_180 is now TFT_ROTATION set to TFT_ROTATE_180. Please update your Configuration.h."
|
|
527
|
+ #error "GRAPHICAL_TFT_ROTATE_180 is now TFT_ROTATION set to TFT_ROTATE_180."
|
542
|
528
|
#elif defined(FIL_RUNOUT_INVERTING)
|
543
|
529
|
#if FIL_RUNOUT_INVERTING
|
544
|
|
- #error "FIL_RUNOUT_INVERTING true is now FIL_RUNOUT_STATE HIGH. Please update your Configuration.h."
|
|
530
|
+ #error "FIL_RUNOUT_INVERTING true is now FIL_RUNOUT_STATE HIGH."
|
545
|
531
|
#else
|
546
|
|
- #error "FIL_RUNOUT_INVERTING false is now FIL_RUNOUT_STATE LOW. Please update your Configuration.h."
|
|
532
|
+ #error "FIL_RUNOUT_INVERTING false is now FIL_RUNOUT_STATE LOW."
|
547
|
533
|
#endif
|
548
|
534
|
#endif
|
549
|
535
|
|
|
@@ -552,11 +538,11 @@
|
552
|
538
|
*/
|
553
|
539
|
#if ENABLED(PROBE_TEMP_COMPENSATION)
|
554
|
540
|
#if defined(PTC_PARK_POS_X) || defined(PTC_PARK_POS_Y) || defined(PTC_PARK_POS_Z)
|
555
|
|
- #error "PTC_PARK_POS_[XYZ] is now PTC_PARK_POS (array). Please update Configuration_adv.h."
|
|
541
|
+ #error "PTC_PARK_POS_[XYZ] is now PTC_PARK_POS (array)."
|
556
|
542
|
#elif !defined(PTC_PARK_POS)
|
557
|
543
|
#error "PROBE_TEMP_COMPENSATION requires PTC_PARK_POS."
|
558
|
544
|
#elif defined(PTC_PROBE_POS_X) || defined(PTC_PROBE_POS_Y)
|
559
|
|
- #error "PTC_PROBE_POS_[XY] is now PTC_PROBE_POS (array). Please update Configuration_adv.h."
|
|
545
|
+ #error "PTC_PROBE_POS_[XY] is now PTC_PROBE_POS (array)."
|
560
|
546
|
#elif !defined(PTC_PROBE_POS)
|
561
|
547
|
#error "PROBE_TEMP_COMPENSATION requires PTC_PROBE_POS."
|
562
|
548
|
#endif
|
|
@@ -587,9 +573,13 @@
|
587
|
573
|
* Serial
|
588
|
574
|
*/
|
589
|
575
|
#ifndef SERIAL_PORT
|
590
|
|
- #error "SERIAL_PORT must be defined in Configuration.h"
|
|
576
|
+ #error "SERIAL_PORT must be defined."
|
591
|
577
|
#elif defined(SERIAL_PORT_2) && SERIAL_PORT_2 == SERIAL_PORT
|
592
|
|
- #error "SERIAL_PORT_2 cannot be the same as SERIAL_PORT. Please update your configuration."
|
|
578
|
+ #error "SERIAL_PORT_2 cannot be the same as SERIAL_PORT."
|
|
579
|
+#elif defined(LCD_SERIAL_PORT) && LCD_SERIAL_PORT == SERIAL_PORT
|
|
580
|
+ #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT."
|
|
581
|
+#elif defined(LCD_SERIAL_PORT) && LCD_SERIAL_PORT == SERIAL_PORT_2
|
|
582
|
+ #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT_2."
|
593
|
583
|
#endif
|
594
|
584
|
#if !(defined(__AVR__) && defined(USBCON))
|
595
|
585
|
#if ENABLED(SERIAL_XON_XOFF) && RX_BUFFER_SIZE < 1024
|
|
@@ -845,7 +835,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
845
|
835
|
#elif DISABLED(NOZZLE_PARK_FEATURE)
|
846
|
836
|
#error "ADVANCED_PAUSE_FEATURE requires NOZZLE_PARK_FEATURE."
|
847
|
837
|
#elif !defined(FILAMENT_UNLOAD_PURGE_FEEDRATE)
|
848
|
|
- #error "ADVANCED_PAUSE_FEATURE requires FILAMENT_UNLOAD_PURGE_FEEDRATE. Please add it to Configuration_adv.h."
|
|
838
|
+ #error "ADVANCED_PAUSE_FEATURE requires FILAMENT_UNLOAD_PURGE_FEEDRATE."
|
849
|
839
|
#elif ENABLED(EXTRUDER_RUNOUT_PREVENT)
|
850
|
840
|
#error "EXTRUDER_RUNOUT_PREVENT is incompatible with ADVANCED_PAUSE_FEATURE."
|
851
|
841
|
#elif ENABLED(PARK_HEAD_ON_PAUSE) && NONE(SDSUPPORT, IS_NEWPANEL, EMERGENCY_PARSER)
|
|
@@ -892,24 +882,24 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
892
|
882
|
|
893
|
883
|
#if ENABLED(TOOLCHANGE_FILAMENT_SWAP)
|
894
|
884
|
#ifndef TOOLCHANGE_FS_LENGTH
|
895
|
|
- #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_LENGTH. Please update your Configuration_adv.h."
|
|
885
|
+ #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_LENGTH."
|
896
|
886
|
#elif !defined(TOOLCHANGE_FS_RETRACT_SPEED)
|
897
|
|
- #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_RETRACT_SPEED. Please update your Configuration_adv.h."
|
|
887
|
+ #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_RETRACT_SPEED."
|
898
|
888
|
#elif !defined(TOOLCHANGE_FS_PRIME_SPEED)
|
899
|
|
- #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_PRIME_SPEED. Please update your Configuration_adv.h."
|
|
889
|
+ #error "TOOLCHANGE_FILAMENT_SWAP requires TOOLCHANGE_FS_PRIME_SPEED."
|
900
|
890
|
#endif
|
901
|
891
|
#endif
|
902
|
892
|
|
903
|
893
|
#if ENABLED(TOOLCHANGE_PARK)
|
904
|
894
|
#ifndef TOOLCHANGE_PARK_XY
|
905
|
|
- #error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY. Please update your Configuration."
|
|
895
|
+ #error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY."
|
906
|
896
|
#elif !defined(TOOLCHANGE_PARK_XY_FEEDRATE)
|
907
|
|
- #error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY_FEEDRATE. Please update your Configuration."
|
|
897
|
+ #error "TOOLCHANGE_PARK requires TOOLCHANGE_PARK_XY_FEEDRATE."
|
908
|
898
|
#endif
|
909
|
899
|
#endif
|
910
|
900
|
|
911
|
901
|
#ifndef TOOLCHANGE_ZRAISE
|
912
|
|
- #error "TOOLCHANGE_ZRAISE required for EXTRUDERS > 1. Please update your Configuration_adv.h."
|
|
902
|
+ #error "TOOLCHANGE_ZRAISE required for EXTRUDERS > 1."
|
913
|
903
|
#endif
|
914
|
904
|
|
915
|
905
|
#elif ENABLED(MK2_MULTIPLEXER)
|
|
@@ -922,7 +912,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
922
|
912
|
* Sanity checking for the Průša MK2 Multiplexer
|
923
|
913
|
*/
|
924
|
914
|
#ifdef SNMM
|
925
|
|
- #error "SNMM is now MK2_MULTIPLEXER. Please update your configuration."
|
|
915
|
+ #error "SNMM is now MK2_MULTIPLEXER."
|
926
|
916
|
#endif
|
927
|
917
|
|
928
|
918
|
/**
|
|
@@ -1221,7 +1211,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1221
|
1211
|
#if ENABLED(EXT_SOLENOID)
|
1222
|
1212
|
#error "SOLENOID_PROBE is incompatible with EXT_SOLENOID."
|
1223
|
1213
|
#elif !HAS_SOLENOID_1
|
1224
|
|
- #error "SOLENOID_PROBE requires SOL1_PIN. It can be added to your Configuration.h."
|
|
1214
|
+ #error "SOLENOID_PROBE requires SOL1_PIN."
|
1225
|
1215
|
#endif
|
1226
|
1216
|
#endif
|
1227
|
1217
|
|
|
@@ -1388,7 +1378,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
|
1388
|
1378
|
#if IS_SCARA
|
1389
|
1379
|
#error "AUTO_BED_LEVELING_UBL does not yet support SCARA printers."
|
1390
|
1380
|
#elif DISABLED(EEPROM_SETTINGS)
|
1391
|
|
- #error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS. Please update your configuration."
|
|
1381
|
+ #error "AUTO_BED_LEVELING_UBL requires EEPROM_SETTINGS."
|
1392
|
1382
|
#elif !WITHIN(GRID_MAX_POINTS_X, 3, 15) || !WITHIN(GRID_MAX_POINTS_Y, 3, 15)
|
1393
|
1383
|
#error "GRID_MAX_POINTS_[XY] must be a whole number between 3 and 15."
|
1394
|
1384
|
#elif !defined(RESTORE_LEVELING_AFTER_G28)
|
|
@@ -1777,22 +1767,22 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
1777
|
1767
|
#endif
|
1778
|
1768
|
|
1779
|
1769
|
#if TEMP_SENSOR_CHAMBER && !PIN_EXISTS(TEMP_CHAMBER)
|
1780
|
|
- #error "TEMP_SENSOR_CHAMBER requires TEMP_CHAMBER_PIN. Please add it to your configuration."
|
|
1770
|
+ #error "TEMP_SENSOR_CHAMBER requires TEMP_CHAMBER_PIN."
|
1781
|
1771
|
#endif
|
1782
|
1772
|
|
1783
|
1773
|
#if ENABLED(CHAMBER_FAN) && !(defined(CHAMBER_FAN_MODE) && WITHIN(CHAMBER_FAN_MODE, 0, 2))
|
1784
|
|
- #error "CHAMBER_FAN_MODE must be between 0 and 2. Please update your Configuration_adv.h."
|
|
1774
|
+ #error "CHAMBER_FAN_MODE must be between 0 and 2."
|
1785
|
1775
|
#endif
|
1786
|
1776
|
|
1787
|
1777
|
#if ENABLED(CHAMBER_VENT)
|
1788
|
1778
|
#ifndef CHAMBER_VENT_SERVO_NR
|
1789
|
|
- #error "CHAMBER_VENT_SERVO_NR is required for CHAMBER SERVO. Update your Configuration_adv.h."
|
|
1779
|
+ #error "CHAMBER_VENT_SERVO_NR is required for CHAMBER SERVO."
|
1790
|
1780
|
#elif !NUM_SERVOS
|
1791
|
1781
|
#error "NUM_SERVOS is required for a Heated Chamber vent servo (CHAMBER_VENT_SERVO_NR)."
|
1792
|
1782
|
#elif CHAMBER_VENT_SERVO_NR >= NUM_SERVOS
|
1793
|
1783
|
#error "CHAMBER_VENT_SERVO_NR must be smaller than NUM_SERVOS."
|
1794
|
1784
|
#elif HAS_Z_SERVO_PROBE && CHAMBER_VENT_SERVO_NR == Z_PROBE_SERVO_NR
|
1795
|
|
- #error "CHAMBER SERVO is already used by BLTOUCH. Please change."
|
|
1785
|
+ #error "CHAMBER SERVO is already used by BLTOUCH."
|
1796
|
1786
|
#elif CHAMBER_VENT_SERVO_NR == 0 && !PIN_EXISTS(SERVO0)
|
1797
|
1787
|
#error "SERVO0_PIN must be defined for your Heated Chamber vent servo."
|
1798
|
1788
|
#elif CHAMBER_VENT_SERVO_NR == 1 && !PIN_EXISTS(SERVO1)
|
|
@@ -1806,7 +1796,7 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
1806
|
1796
|
|
1807
|
1797
|
#if TEMP_SENSOR_PROBE
|
1808
|
1798
|
#if !PIN_EXISTS(TEMP_PROBE)
|
1809
|
|
- #error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN. Please add it to your configuration."
|
|
1799
|
+ #error "TEMP_SENSOR_PROBE requires TEMP_PROBE_PIN."
|
1810
|
1800
|
#elif !HAS_TEMP_ADC_PROBE
|
1811
|
1801
|
#error "TEMP_PROBE_PIN must be an ADC pin."
|
1812
|
1802
|
#elif !ENABLED(FIX_MOUNTED_PROBE)
|
|
@@ -1819,9 +1809,9 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
1819
|
1809
|
#endif
|
1820
|
1810
|
|
1821
|
1811
|
#if MAX6675_0_IS_MAX31865 && !(defined(MAX31865_SENSOR_OHMS_0) && defined(MAX31865_CALIBRATION_OHMS_0))
|
1822
|
|
- #error "MAX31865_SENSOR_OHMS_0 and MAX31865_CALIBRATION_OHMS_0 must be set in Configuration.h if TEMP_SENSOR_0 is MAX31865."
|
|
1812
|
+ #error "MAX31865_SENSOR_OHMS_0 and MAX31865_CALIBRATION_OHMS_0 must be set if TEMP_SENSOR_0 is MAX31865."
|
1823
|
1813
|
#elif MAX6675_1_IS_MAX31865 && !(defined(MAX31865_SENSOR_OHMS_1) && defined(MAX31865_CALIBRATION_OHMS_1))
|
1824
|
|
- #error "MAX31865_SENSOR_OHMS_1 and MAX31865_CALIBRATION_OHMS_1 must be set in Configuration.h if TEMP_SENSOR_1 is MAX31865."
|
|
1814
|
+ #error "MAX31865_SENSOR_OHMS_1 and MAX31865_CALIBRATION_OHMS_1 must be set if TEMP_SENSOR_1 is MAX31865."
|
1825
|
1815
|
#endif
|
1826
|
1816
|
|
1827
|
1817
|
/**
|
|
@@ -2328,17 +2318,17 @@ static_assert(hbm[Z_AXIS] >= 0, "HOMING_BUMP_MM.Z must be greater than or equal
|
2328
|
2318
|
*/
|
2329
|
2319
|
#ifdef LCD_SERIAL_PORT
|
2330
|
2320
|
#if LCD_SERIAL_PORT == SERIAL_PORT
|
2331
|
|
- #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT. Please update your configuration."
|
|
2321
|
+ #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT."
|
2332
|
2322
|
#elif defined(SERIAL_PORT_2) && LCD_SERIAL_PORT == SERIAL_PORT_2
|
2333
|
|
- #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT_2. Please update your configuration."
|
|
2323
|
+ #error "LCD_SERIAL_PORT cannot be the same as SERIAL_PORT_2."
|
2334
|
2324
|
#endif
|
2335
|
2325
|
#else
|
2336
|
2326
|
#if HAS_DGUS_LCD
|
2337
|
|
- #error "The DGUS LCD requires LCD_SERIAL_PORT to be defined in Configuration.h"
|
|
2327
|
+ #error "The DGUS LCD requires LCD_SERIAL_PORT to be defined."
|
2338
|
2328
|
#elif EITHER(ANYCUBIC_LCD_I3MEGA, ANYCUBIC_LCD_CHIRON)
|
2339
|
|
- #error "The ANYCUBIC LCD requires LCD_SERIAL_PORT to be defined in Configuration.h"
|
|
2329
|
+ #error "The ANYCUBIC LCD requires LCD_SERIAL_PORT to be defined."
|
2340
|
2330
|
#elif ENABLED(MALYAN_LCD)
|
2341
|
|
- #error "MALYAN_LCD requires LCD_SERIAL_PORT to be defined in Configuration.h"
|
|
2331
|
+ #error "MALYAN_LCD requires LCD_SERIAL_PORT to be defined."
|
2342
|
2332
|
#endif
|
2343
|
2333
|
#endif
|
2344
|
2334
|
|
|
@@ -2827,7 +2817,7 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
2827
|
2817
|
#endif
|
2828
|
2818
|
|
2829
|
2819
|
#if ENABLED(PRINTCOUNTER) && DISABLED(EEPROM_SETTINGS)
|
2830
|
|
- #error "PRINTCOUNTER requires EEPROM_SETTINGS. Please update your Configuration."
|
|
2820
|
+ #error "PRINTCOUNTER requires EEPROM_SETTINGS."
|
2831
|
2821
|
#endif
|
2832
|
2822
|
|
2833
|
2823
|
#if ENABLED(USB_FLASH_DRIVE_SUPPORT) && !PINS_EXIST(USB_CS, USB_INTR)
|
|
@@ -2972,11 +2962,11 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
2972
|
2962
|
#if (PIN_EXISTS(CHDK) + PIN_EXISTS(PHOTOGRAPH) + defined(PHOTO_SWITCH_POSITION)) > 1
|
2973
|
2963
|
#error "Please define only one of CHDK_PIN, PHOTOGRAPH_PIN, or PHOTO_SWITCH_POSITION."
|
2974
|
2964
|
#elif defined(PHOTO_SWITCH_POSITION) && !defined(PHOTO_POSITION)
|
2975
|
|
- #error "PHOTO_SWITCH_POSITION requires PHOTO_POSITION. Please update your Configuration_adv.h."
|
|
2965
|
+ #error "PHOTO_SWITCH_POSITION requires PHOTO_POSITION."
|
2976
|
2966
|
#elif PIN_EXISTS(CHDK) && defined(CHDK_DELAY)
|
2977
|
|
- #error "CHDK_DELAY has been replaced by PHOTO_SWITCH_MS. Please update your Configuration_adv.h."
|
|
2967
|
+ #error "CHDK_DELAY has been replaced by PHOTO_SWITCH_MS."
|
2978
|
2968
|
#elif PIN_EXISTS(CHDK) && !defined(PHOTO_SWITCH_MS)
|
2979
|
|
- #error "PHOTO_SWITCH_MS is required with CHDK_PIN. Please update your Configuration_adv.h."
|
|
2969
|
+ #error "PHOTO_SWITCH_MS is required with CHDK_PIN."
|
2980
|
2970
|
#elif defined(PHOTO_RETRACT_MM)
|
2981
|
2971
|
static_assert(PHOTO_RETRACT_MM + 0 >= 0, "PHOTO_RETRACT_MM must be >= 0.");
|
2982
|
2972
|
#endif
|
|
@@ -3038,16 +3028,16 @@ static_assert( _ARR_TEST(3,0) && _ARR_TEST(3,1) && _ARR_TEST(3,2)
|
3038
|
3028
|
|
3039
|
3029
|
#if HAS_CUTTER
|
3040
|
3030
|
#ifndef CUTTER_POWER_UNIT
|
3041
|
|
- #error "CUTTER_POWER_UNIT is required with a spindle or laser. Please update your Configuration_adv.h."
|
|
3031
|
+ #error "CUTTER_POWER_UNIT is required with a spindle or laser."
|
3042
|
3032
|
#elif !CUTTER_UNIT_IS(PWM255) && !CUTTER_UNIT_IS(PERCENT) && !CUTTER_UNIT_IS(RPM) && !CUTTER_UNIT_IS(SERVO)
|
3043
|
|
- #error "CUTTER_POWER_UNIT must be PWM255, PERCENT, RPM, or SERVO. Please update your Configuration_adv.h."
|
|
3033
|
+ #error "CUTTER_POWER_UNIT must be PWM255, PERCENT, RPM, or SERVO."
|
3044
|
3034
|
#endif
|
3045
|
3035
|
|
3046
|
3036
|
#if ENABLED(LASER_POWER_INLINE)
|
3047
|
3037
|
#if ENABLED(SPINDLE_CHANGE_DIR)
|
3048
|
3038
|
#error "SPINDLE_CHANGE_DIR and LASER_POWER_INLINE are incompatible."
|
3049
|
3039
|
#elif ENABLED(LASER_MOVE_G0_OFF) && DISABLED(LASER_MOVE_POWER)
|
3050
|
|
- #error "LASER_MOVE_G0_OFF requires LASER_MOVE_POWER. Please update your Configuration_adv.h."
|
|
3040
|
+ #error "LASER_MOVE_G0_OFF requires LASER_MOVE_POWER."
|
3051
|
3041
|
#endif
|
3052
|
3042
|
#if ENABLED(LASER_POWER_INLINE_TRAPEZOID)
|
3053
|
3043
|
#if DISABLED(SPINDLE_LASER_PWM)
|