|
|
@ -51,7 +51,7 @@
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Options only for EXTRUDERS == 1
|
|
|
|
* Options only for EXTRUDERS > 1
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if EXTRUDERS > 1
|
|
|
|
#if EXTRUDERS > 1
|
|
|
|
|
|
|
|
|
|
|
@ -281,15 +281,19 @@
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Test required HEATER defines
|
|
|
|
* Test required HEATER and TEMP_SENSOR defines
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if EXTRUDERS > 3
|
|
|
|
#if EXTRUDERS > 3
|
|
|
|
#if !HAS_HEATER_3
|
|
|
|
#if !HAS_HEATER_3
|
|
|
|
#error HEATER_3_PIN not defined for this board.
|
|
|
|
#error HEATER_3_PIN not defined for this board.
|
|
|
|
|
|
|
|
#elif TEMP_SENSOR_3 == 0
|
|
|
|
|
|
|
|
#error TEMP_SENSOR_3 is required with 4 EXTRUDERS.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#elif EXTRUDERS > 2
|
|
|
|
#elif EXTRUDERS > 2
|
|
|
|
#if !HAS_HEATER_2
|
|
|
|
#if !HAS_HEATER_2
|
|
|
|
#error HEATER_2_PIN not defined for this board.
|
|
|
|
#error HEATER_2_PIN not defined for this board.
|
|
|
|
|
|
|
|
#elif TEMP_SENSOR_2 == 0
|
|
|
|
|
|
|
|
#error TEMP_SENSOR_2 is required with 3 EXTRUDERS.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#elif EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
|
|
|
|
#elif EXTRUDERS > 1 || defined(HEATERS_PARALLEL)
|
|
|
|
#if !HAS_HEATER_1
|
|
|
|
#if !HAS_HEATER_1
|
|
|
@ -299,6 +303,12 @@
|
|
|
|
#if !HAS_HEATER_0
|
|
|
|
#if !HAS_HEATER_0
|
|
|
|
#error HEATER_0_PIN not defined for this board.
|
|
|
|
#error HEATER_0_PIN not defined for this board.
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) && TEMP_SENSOR_1 == 0
|
|
|
|
|
|
|
|
#error TEMP_SENSOR_1 is required with TEMP_SENSOR_1_AS_REDUNDANT.
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if TEMP_SENSOR_0 == 0
|
|
|
|
|
|
|
|
#error TEMP_SENSOR_0 is required.
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Warnings for old configurations
|
|
|
|
* Warnings for old configurations
|
|
|
|