|
1526 | 1526 | //#define MICROSTEP32 HIGH,LOW,HIGH |
1527 | 1527 |
|
1528 | 1528 | // Microstep settings (Requires a board with pins named X_MS1, X_MS2, etc.) |
1529 | | -#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] |
| 1529 | +#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // :[ 1, 2, 4, 8, 16 ] |
1530 | 1530 |
|
1531 | 1531 | /** |
1532 | 1532 | * @section stepper motor current |
|
2986 | 2986 | * Extra G-code to run while executing tool-change commands. Can be used to use an additional |
2987 | 2987 | * stepper motor (e.g., I axis in Configuration.h) to drive the tool-changer. |
2988 | 2988 | */ |
| 2989 | + //#define EVENT_GCODE_PARK_T0 "G28 A\nG1 A0" // Extra G-code to run before tool-change command (if T0 was active) |
| 2990 | + //#define EVENT_GCODE_PARK_T1 "G1 A10" // Extra G-code to run before tool-change command (if T1 was active) |
2989 | 2991 | //#define EVENT_GCODE_TOOLCHANGE_T0 "G28 A\nG1 A0" // Extra G-code to run while executing tool-change command T0 |
2990 | 2992 | //#define EVENT_GCODE_TOOLCHANGE_T1 "G1 A10" // Extra G-code to run while executing tool-change command T1 |
2991 | 2993 | //#define EVENT_GCODE_TOOLCHANGE_ALWAYS_RUN // Always execute above G-code sequences. Use with caution! |
|
3568 | 3570 | //#define MONITOR_DRIVER_STATUS |
3569 | 3571 |
|
3570 | 3572 | #if ENABLED(MONITOR_DRIVER_STATUS) |
3571 | | - #define CURRENT_STEP_DOWN 50 // [mA] |
| 3573 | + #define CURRENT_STEP_DOWN 50 // (mA) |
3572 | 3574 | #define REPORT_CURRENT_CHANGE |
3573 | 3575 | #define STOP_ON_ERROR |
3574 | 3576 | #endif |
|
3584 | 3586 | */ |
3585 | 3587 | //#define HYBRID_THRESHOLD |
3586 | 3588 |
|
3587 | | - #define X_HYBRID_THRESHOLD 100 // [mm/s] |
| 3589 | + #define X_HYBRID_THRESHOLD 100 // (mm/s) |
3588 | 3590 | #define X2_HYBRID_THRESHOLD 100 |
3589 | 3591 | #define Y_HYBRID_THRESHOLD 100 |
3590 | 3592 | #define Y2_HYBRID_THRESHOLD 100 |
|
3595 | 3597 | #define I_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s] |
3596 | 3598 | #define J_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s] |
3597 | 3599 | #define K_HYBRID_THRESHOLD 3 // [linear=mm/s, rotational=°/s] |
3598 | | - #define U_HYBRID_THRESHOLD 3 // [mm/s] |
| 3600 | + #define U_HYBRID_THRESHOLD 3 // (mm/s) |
3599 | 3601 | #define V_HYBRID_THRESHOLD 3 |
3600 | 3602 | #define W_HYBRID_THRESHOLD 3 |
3601 | 3603 | #define E0_HYBRID_THRESHOLD 30 |
|
4612 | 4614 |
|
4613 | 4615 | /** |
4614 | 4616 | * Native ESP32 board with WiFi or add-on ESP32 WiFi-101 module |
| 4617 | + * |
| 4618 | + * Enable one or the other. The two are separate implementations sharing no code, |
| 4619 | + * and each has its own extras below. |
| 4620 | + * |
| 4621 | + * WIFISUPPORT covers both an add-on WiFi module wired to the controller and |
| 4622 | + * Marlin's own WiFi on an ESP32 build. ESP3D_WIFISUPPORT is ESP32 only. |
4615 | 4623 | */ |
4616 | 4624 | //#define WIFISUPPORT // Marlin embedded WiFi management. Not needed for simple WiFi serial port. |
4617 | 4625 | //#define ESP3D_WIFISUPPORT // ESP3D Library WiFi management (https://github.com/luc-github/ESP3DLib) |
4618 | 4626 |
|
4619 | | -/** |
4620 | | - * Extras for an ESP32-based motherboard with WIFISUPPORT |
4621 | | - * These options don't apply to add-on WiFi modules based on ESP32 WiFi101. |
4622 | | - */ |
4623 | | -#if ANY(WIFISUPPORT, ESP3D_WIFISUPPORT) |
| 4627 | +#if ENABLED(WIFISUPPORT) |
| 4628 | + /** |
| 4629 | + * Marlin's own webserver and OTA, implemented in HAL/ESP32/wifi/ and built |
| 4630 | + * only for an ESP32 build of Marlin. With an add-on WiFi module the module |
| 4631 | + * runs its own firmware, so neither option has any effect there. |
| 4632 | + */ |
4624 | 4633 | //#define WEBSUPPORT // Start a webserver (which may include auto-discovery) using SPIFFS |
4625 | 4634 | //#define OTASUPPORT // Support over-the-air firmware updates |
4626 | | - //#define WIFI_CUSTOM_COMMAND // Accept feature config commands (e.g., WiFi ESP3D) from the host |
4627 | 4635 |
|
4628 | 4636 | /** |
4629 | | - * To set a default WiFi SSID / Password, create a file called Configuration_Secure.h with |
4630 | | - * the following defines, customized for your network. This specific file is excluded via |
4631 | | - * .gitignore to prevent it from accidentally leaking to the public. |
| 4637 | + * The network is set at compile time. To set a default WiFi SSID / Password, create a file |
| 4638 | + * called Configuration_Secure.h with the following defines, customized for your network. |
| 4639 | + * This specific file is excluded via .gitignore to prevent it from accidentally leaking |
| 4640 | + * to the public. |
4632 | 4641 | * |
4633 | 4642 | * #define WIFI_SSID "WiFi SSID" |
4634 | 4643 | * #define WIFI_PWD "WiFi Password" |
4635 | 4644 | */ |
4636 | 4645 | //#include "Configuration_Secure.h" // External file with WiFi SSID / Password |
| 4646 | + |
| 4647 | +#elif ENABLED(ESP3D_WIFISUPPORT) |
| 4648 | + /** |
| 4649 | + * ESP3D brings its own webserver and OTA, so WEBSUPPORT and OTASUPPORT don't apply here. |
| 4650 | + * The network is configured at runtime with '[ESP100]' / '[ESP101]' and stored on the ESP, |
| 4651 | + * so WIFI_SSID / WIFI_PWD don't apply either. |
| 4652 | + */ |
| 4653 | + //#define WIFI_CUSTOM_COMMAND // Accept ESP3D '[ESP...]' commands from the host |
4637 | 4654 | #endif |
4638 | 4655 |
|
4639 | 4656 | // @section multi-material |
|
0 commit comments