|
47 | 47 | * 2 = config.ini - File format for PlatformIO preprocessing.
|
48 | 48 | * 3 = schema.json - The entire configuration schema. (13 = pattern groups)
|
49 | 49 | * 4 = schema.yml - The entire configuration schema.
|
| 50 | + * 5 = Config.h - Minimal configuration by popular demand. |
50 | 51 | */
|
51 |
| -//#define CONFIG_EXPORT 2 // :[1:'JSON', 2:'config.ini', 3:'schema.json', 4:'schema.yml'] |
| 52 | +//#define CONFIG_EXPORT 105 // :[1:'JSON', 2:'config.ini', 3:'schema.json', 4:'schema.yml', 5:'Config.h'] |
52 | 53 |
|
53 | 54 | //===========================================================================
|
54 | 55 | //============================= Thermal Settings ============================
|
|
303 | 304 | * If you get false positives for "Thermal Runaway", increase
|
304 | 305 | * THERMAL_PROTECTION_HYSTERESIS and/or THERMAL_PROTECTION_PERIOD
|
305 | 306 | */
|
306 |
| -#if ENABLED(THERMAL_PROTECTION_HOTENDS) |
| 307 | +#if ALL(HAS_HOTEND, THERMAL_PROTECTION_HOTENDS) |
307 | 308 | #define THERMAL_PROTECTION_PERIOD 40 // (seconds)
|
308 | 309 | #define THERMAL_PROTECTION_HYSTERESIS 4 // (°C)
|
309 | 310 |
|
|
334 | 335 | /**
|
335 | 336 | * Thermal Protection parameters for the bed are just as above for hotends.
|
336 | 337 | */
|
337 |
| -#if ENABLED(THERMAL_PROTECTION_BED) |
| 338 | +#if TEMP_SENSOR_BED && ENABLED(THERMAL_PROTECTION_BED) |
338 | 339 | #define THERMAL_PROTECTION_BED_PERIOD 20 // (seconds)
|
339 | 340 | #define THERMAL_PROTECTION_BED_HYSTERESIS 2 // (°C)
|
340 | 341 |
|
|
348 | 349 | /**
|
349 | 350 | * Thermal Protection parameters for the heated chamber.
|
350 | 351 | */
|
351 |
| -#if ENABLED(THERMAL_PROTECTION_CHAMBER) |
| 352 | +#if TEMP_SENSOR_CHAMBER && ENABLED(THERMAL_PROTECTION_CHAMBER) |
352 | 353 | #define THERMAL_PROTECTION_CHAMBER_PERIOD 20 // (seconds)
|
353 | 354 | #define THERMAL_PROTECTION_CHAMBER_HYSTERESIS 2 // (°C)
|
354 | 355 |
|
|
362 | 363 | /**
|
363 | 364 | * Thermal Protection parameters for the laser cooler.
|
364 | 365 | */
|
365 |
| -#if ENABLED(THERMAL_PROTECTION_COOLER) |
| 366 | +#if TEMP_SENSOR_COOLER && ENABLED(THERMAL_PROTECTION_COOLER) |
366 | 367 | #define THERMAL_PROTECTION_COOLER_PERIOD 10 // (seconds)
|
367 | 368 | #define THERMAL_PROTECTION_COOLER_HYSTERESIS 3 // (°C)
|
368 | 369 |
|
|
2969 | 2970 |
|
2970 | 2971 | #if AXIS_IS_TMC_CONFIG(X)
|
2971 | 2972 | #define X_CURRENT 800 // (mA) RMS current. Multiply by 1.414 for peak current.
|
2972 |
| - #define X_CURRENT_HOME X_CURRENT // (mA) RMS current for sensorless homing |
| 2973 | + #define X_CURRENT_HOME X_CURRENT // (mA) RMS current for homing. (Typically lower than *_CURRENT.) |
2973 | 2974 | #define X_MICROSTEPS 16 // 0..256
|
2974 | 2975 | #define X_RSENSE 0.11
|
2975 | 2976 | #define X_CHAIN_POS -1 // -1..0: Not chained. 1: MCU MOSI connected. 2: Next in chain, ...
|
|
3179 | 3180 | //#define E7_HOLD_MULTIPLIER 0.5
|
3180 | 3181 | #endif
|
3181 | 3182 |
|
| 3183 | + /** |
| 3184 | + * Use the homing current for all probing. (e.g., Current may be reduced to the |
| 3185 | + * point where a collision makes the motor skip instead of damaging the bed, |
| 3186 | + * though this is unlikely to save delicate probes from being damaged. |
| 3187 | + */ |
| 3188 | + //#define PROBING_USE_CURRENT_HOME |
| 3189 | + |
3182 | 3190 | // @section tmc/spi
|
3183 | 3191 |
|
3184 | 3192 | /**
|
|
0 commit comments