|
1419 | 1419 | #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
|
1420 | 1420 |
|
1421 | 1421 | /**
|
1422 |
| - * @section stepper motor current |
| 1422 | + * @section stepper motor current |
1423 | 1423 | *
|
1424 |
| - * Some boards have a means of setting the stepper motor current via firmware. |
| 1424 | + * Some boards have a means of setting the stepper motor current via firmware. |
1425 | 1425 | *
|
1426 |
| - * The power on motor currents are set by: |
1427 |
| - * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 |
1428 |
| - * known compatible chips: A4982 |
1429 |
| - * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H |
1430 |
| - * known compatible chips: AD5206 |
1431 |
| - * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 |
1432 |
| - * known compatible chips: MCP4728 |
1433 |
| - * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE |
1434 |
| - * known compatible chips: MCP4451, MCP4018 |
| 1426 | + * The power on motor currents are set by: |
| 1427 | + * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 |
| 1428 | + * known compatible chips: A4982 |
| 1429 | + * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H |
| 1430 | + * known compatible chips: AD5206 |
| 1431 | + * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 |
| 1432 | + * known compatible chips: MCP4728 |
| 1433 | + * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE |
| 1434 | + * known compatible chips: MCP4451, MCP4018 |
1435 | 1435 | *
|
1436 |
| - * Motor currents can also be set by M907 - M910 and by the LCD. |
1437 |
| - * M907 - applies to all. |
1438 |
| - * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H |
1439 |
| - * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 |
| 1436 | + * Motor currents can also be set by M907 - M910 and by the LCD. |
| 1437 | + * M907 - applies to all. |
| 1438 | + * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H |
| 1439 | + * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 |
1440 | 1440 | */
|
1441 | 1441 | //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
|
1442 | 1442 | //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
|
|
1619 | 1619 | //#define SOUND_MENU_ITEM // Add a mute option to the LCD menu
|
1620 | 1620 | #define SOUND_ON_DEFAULT // Buzzer/speaker default enabled state
|
1621 | 1621 |
|
| 1622 | + #if ENABLED(U8GLIB_SSD1309) |
| 1623 | + //#define LCD_DOUBLE_BUFFER // Optimize display updates. Costs ~1K of SRAM. |
| 1624 | + #endif |
| 1625 | + |
1622 | 1626 | #if HAS_WIRED_LCD
|
1623 | 1627 | //#define DOUBLE_LCD_FRAMERATE // Not recommended for slow boards.
|
1624 | 1628 | #endif
|
|
2634 | 2638 | #define MAX_CMD_SIZE 96
|
2635 | 2639 | #define BUFSIZE 4
|
2636 | 2640 |
|
2637 |
| -// Transmission to Host Buffer Size |
2638 |
| -// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. |
2639 |
| -// To buffer a simple "ok" you need 4 bytes. |
2640 |
| -// For ADVANCED_OK (M105) you need 32 bytes. |
2641 |
| -// For debug-echo: 128 bytes for the optimal speed. |
2642 |
| -// Other output doesn't need to be that speedy. |
2643 |
| -// :[0, 2, 4, 8, 16, 32, 64, 128, 256] |
| 2641 | +/** |
| 2642 | + * Host Transmit Buffer Size |
| 2643 | + * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0). |
| 2644 | + * - 4 bytes required to buffer a simple "ok". |
| 2645 | + * - 32 bytes for ADVANCED_OK (M105). |
| 2646 | + * - 128 bytes for the optimal speed of 'debug-echo:' |
| 2647 | + * - Other output doesn't need to be that speedy. |
| 2648 | + * :[0, 2, 4, 8, 16, 32, 64, 128, 256] |
| 2649 | + */ |
2644 | 2650 | #define TX_BUFFER_SIZE 0
|
2645 | 2651 |
|
2646 |
| -// Host Receive Buffer Size |
2647 |
| -// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. |
2648 |
| -// To use flow control, set this buffer size to at least 1024 bytes. |
2649 |
| -// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] |
| 2652 | +/** |
| 2653 | + * Host Receive Buffer Size |
| 2654 | + * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. |
| 2655 | + * To use flow control, set this buffer size to at least 1024 bytes. |
| 2656 | + * :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] |
| 2657 | + */ |
2650 | 2658 | //#define RX_BUFFER_SIZE 1024
|
2651 | 2659 |
|
2652 | 2660 | #if RX_BUFFER_SIZE >= 1024
|
|
3913 | 3921 | /**
|
3914 | 3922 | * Extra options for the M114 "Current Position" report
|
3915 | 3923 | */
|
3916 |
| -//#define M114_DETAIL // Use 'M114` for details to check planner calculations |
| 3924 | +//#define M114_DETAIL // Use 'M114 D' for details to check planner calculations |
3917 | 3925 | //#define M114_REALTIME // Real current position based on forward kinematics
|
3918 | 3926 | //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
|
3919 | 3927 |
|
|
3960 | 3968 | * Spend 28 bytes of SRAM to optimize the G-code parser
|
3961 | 3969 | */
|
3962 | 3970 | #define FASTER_GCODE_PARSER
|
3963 |
| - |
3964 | 3971 | #if ENABLED(FASTER_GCODE_PARSER)
|
3965 | 3972 | //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
|
3966 | 3973 | #endif
|
|
0 commit comments