📝 Update some comments

Co-Authored-By: Andrew <18502096+classicrocker883@users.noreply.github.com>
This commit is contained in:
Scott Lahteine 2025-03-17 16:11:24 -05:00
parent 1938f12e3b
commit 0b0a097917
760 changed files with 23176 additions and 18994 deletions

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2936,13 +2936,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3588,22 +3590,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3613,9 +3619,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2989,13 +2989,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3657,24 +3659,28 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#ifdef MAPLE_STM32F1 #ifdef MAPLE_STM32F1
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
#endif #endif
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3684,9 +3690,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1428,24 +1428,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2652,19 +2652,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 8 #define BUFSIZE 8
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3939,7 +3943,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3986,7 +3990,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2990,13 +2990,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3658,24 +3660,28 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#ifdef MAPLE_STM32F1 #ifdef MAPLE_STM32F1
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
#endif #endif
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3685,9 +3691,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2643,19 +2643,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 8 #define BUFSIZE 8
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3930,7 +3934,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3977,7 +3981,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
#define PWM_MOTOR_CURRENT { 1200, 1200, 1250 } // Values in milliamps #define PWM_MOTOR_CURRENT { 1200, 1200, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 128 #define TX_BUFFER_SIZE 128
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3931,7 +3935,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3978,7 +3982,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3564,22 +3566,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3589,9 +3595,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3564,22 +3566,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3589,9 +3595,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -3000,13 +3000,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3657,22 +3659,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3682,9 +3688,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2913,13 +2913,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3567,22 +3569,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3592,9 +3598,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2912,13 +2912,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3567,22 +3569,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3592,9 +3598,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3565,22 +3567,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3590,9 +3596,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2912,13 +2912,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3564,22 +3566,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3589,9 +3595,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2912,13 +2912,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3564,22 +3566,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3589,9 +3595,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2922,13 +2922,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3570,22 +3572,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3595,9 +3601,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2922,13 +2922,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3570,22 +3572,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3595,9 +3601,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2922,13 +2922,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3570,22 +3572,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3595,9 +3601,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2922,13 +2922,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3570,22 +3572,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3595,9 +3601,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2917,13 +2917,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3565,22 +3567,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3590,9 +3596,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2917,13 +2917,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3565,22 +3567,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3590,9 +3596,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2917,13 +2917,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3565,22 +3567,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3590,9 +3596,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2914,13 +2914,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3566,22 +3568,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3591,9 +3597,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 1 #define SOFT_PWM_SCALE 1
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
#define M114_DETAIL // Use 'M114` for details to check planner calculations #define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2970,13 +2970,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3626,22 +3628,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3651,9 +3657,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 128 #define MAX_CMD_SIZE 128
#define BUFSIZE 8 #define BUFSIZE 8
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 4 #define TX_BUFFER_SIZE 4
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 256 #define RX_BUFFER_SIZE 256
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2929,13 +2929,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3582,22 +3584,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3607,9 +3613,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 128 #define MAX_CMD_SIZE 128
#define BUFSIZE 8 #define BUFSIZE 8
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 4 #define TX_BUFFER_SIZE 4
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 256 #define RX_BUFFER_SIZE 256
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2911,13 +2911,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3563,22 +3565,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3588,9 +3594,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1424,24 +1424,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2647,19 +2647,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3934,7 +3938,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3981,7 +3985,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 128 #define RX_BUFFER_SIZE 128
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 2 #define SOFT_PWM_SCALE 2
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
#define SOFT_PWM_DITHER #define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 128 #define RX_BUFFER_SIZE 128
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2926,13 +2926,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3578,22 +3580,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3603,9 +3609,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 2 #define SOFT_PWM_SCALE 2
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
#define SOFT_PWM_DITHER #define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 128 #define RX_BUFFER_SIZE 128
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
#define TEMP_STAT_LEDS #define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2910,13 +2910,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3562,22 +3564,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3587,9 +3593,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2909,13 +2909,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3561,22 +3563,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3586,9 +3592,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3929,7 +3933,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3976,7 +3980,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2908,13 +2908,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3560,22 +3562,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3585,9 +3591,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2639,19 +2639,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 4 #define BUFSIZE 4
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3926,7 +3930,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3973,7 +3977,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2914,13 +2914,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3567,22 +3569,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
#define NUM_M106_FANS 1 #define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3592,9 +3598,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 32 #define BUFSIZE 32
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3930,7 +3934,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
#define M114_DETAIL // Use 'M114` for details to check planner calculations #define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3977,7 +3981,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2914,13 +2914,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3567,22 +3569,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
#define NUM_M106_FANS 1 #define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3592,9 +3598,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2642,19 +2642,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 32 #define BUFSIZE 32
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3930,7 +3934,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
#define M114_DETAIL // Use 'M114` for details to check planner calculations #define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3977,7 +3981,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2936,13 +2936,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3588,22 +3590,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
//#define FAN_SOFT_PWM //#define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3613,9 +3619,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1419,24 +1419,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2644,19 +2644,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 32 #define BUFSIZE 32
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3932,7 +3936,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
#define M114_DETAIL // Use 'M114` for details to check planner calculations #define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3979,7 +3983,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2944,13 +2944,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3597,22 +3599,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
//#define NUM_M106_FANS 1 //#define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 0 #define SOFT_PWM_SCALE 0
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3622,9 +3628,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1420,24 +1420,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2644,19 +2644,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 32 #define BUFSIZE 32
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 0 #define TX_BUFFER_SIZE 0
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
#define RX_BUFFER_SIZE 1024 #define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3931,7 +3935,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3978,7 +3982,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

View file

@ -2925,13 +2925,15 @@
// //
//#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602 //#define MAKEBOARD_MINI_2_LINE_DISPLAY_1602
// /**
// ANET and Tronxy 20x4 Controller * ANET and Tronxy 20x4 Controller
// * LCD2004 display with 5 analog buttons.
//#define ZONESTAR_LCD // Requires ADC_KEYPAD_PIN to be assigned to an analog pin. *
// This LCD is known to be susceptible to electrical interference * NOTE: Requires ADC_KEYPAD_PIN to be assigned to an analog pin.
// which scrambles the display. Pressing any button clears it up. * This LCD is known to be susceptible to electrical interference which
// This is a LCD2004 display with 5 analog buttons. * scrambles the display. Press any button to clear it up.
*/
//#define ZONESTAR_LCD
// //
// Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD. // Generic 16x2, 16x4, 20x2, or 20x4 character-based LCD.
@ -3577,22 +3579,26 @@
// :[1,2,3,4,5,6,7,8] // :[1,2,3,4,5,6,7,8]
#define NUM_M106_FANS 1 #define NUM_M106_FANS 1
// Use software PWM to drive the fan, as for the heaters. This uses a very low frequency /**
// which is not as annoying as with the hardware PWM. On the other hand, if this frequency * Use software PWM to drive the fan, as for the heaters. This uses a very low frequency
// is too low, you should also increment SOFT_PWM_SCALE. * which is not as annoying as with the hardware PWM. On the other hand, if this frequency
* is too low, you should also increment SOFT_PWM_SCALE.
*/
#define FAN_SOFT_PWM #define FAN_SOFT_PWM
// Incrementing this by 1 will double the software PWM frequency, /**
// affecting heaters, and the fan if FAN_SOFT_PWM is enabled. * Incrementing this by 1 will double the software PWM frequency, affecting heaters, and
// However, control resolution will be halved for each increment; * the fan if FAN_SOFT_PWM is enabled. However, control resolution will be halved for each
// at zero value, there are 128 effective control positions. * increment; at zero value, there are 128 effective control positions.
// :[0,1,2,3,4,5,6,7] * :[0,1,2,3,4,5,6,7]
*/
#define SOFT_PWM_SCALE 1 #define SOFT_PWM_SCALE 1
// If SOFT_PWM_SCALE is set to a value higher than 0, dithering can /**
// be used to mitigate the associated resolution loss. If enabled, * If SOFT_PWM_SCALE is set to a value higher than 0, dithering can be used to mitigate the
// some of the PWM cycles are stretched so on average the desired * associated resolution loss. If enabled, some of the PWM cycles are stretched so on average
// duty cycle is attained. * the desired duty cycle is attained.
*/
//#define SOFT_PWM_DITHER //#define SOFT_PWM_DITHER
// @section extras // @section extras
@ -3602,9 +3608,11 @@
// @section lights // @section lights
// Temperature status LEDs that display the hotend and bed temperature. /**
// If all hotends, bed temperature, and target temperature are under 54C * Temperature status LEDs that display the hotend and bed temperature.
// then the BLUE led is on. Otherwise the RED led is on. (1C hysteresis) * If all hotends, bed temperature, and target temperature are under 54C
* the BLUE led is on. Otherwise the RED led is on. (1C hysteresis)
*/
//#define TEMP_STAT_LEDS //#define TEMP_STAT_LEDS
// Support for BlinkM/CyzRgb // Support for BlinkM/CyzRgb

View file

@ -1420,24 +1420,24 @@
#define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16] #define MICROSTEP_MODES { 16, 16, 16, 16, 16, 16 } // [1,2,4,8,16]
/** /**
* @section stepper motor current * @section stepper motor current
* *
* Some boards have a means of setting the stepper motor current via firmware. * Some boards have a means of setting the stepper motor current via firmware.
* *
* The power on motor currents are set by: * The power on motor currents are set by:
* PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2 * PWM_MOTOR_CURRENT - used by MINIRAMBO & ULTIMAIN_2
* known compatible chips: A4982 * known compatible chips: A4982
* DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H * DIGIPOT_MOTOR_CURRENT - used by BQ_ZUM_MEGA_3D, RAMBO & SCOOVO_X9H
* known compatible chips: AD5206 * known compatible chips: AD5206
* DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2 * DAC_MOTOR_CURRENT_DEFAULT - used by PRINTRBOARD_REVF & RIGIDBOARD_V2
* known compatible chips: MCP4728 * known compatible chips: MCP4728
* DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE * DIGIPOT_I2C_MOTOR_CURRENTS - used by 5DPRINT, AZTEEG_X3_PRO, AZTEEG_X5_MINI_WIFI, MIGHTYBOARD_REVE
* known compatible chips: MCP4451, MCP4018 * known compatible chips: MCP4451, MCP4018
* *
* Motor currents can also be set by M907 - M910 and by the LCD. * Motor currents can also be set by M907 - M910 and by the LCD.
* M907 - applies to all. * M907 - applies to all.
* M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H * M908 - BQ_ZUM_MEGA_3D, RAMBO, PRINTRBOARD_REVF, RIGIDBOARD_V2 & SCOOVO_X9H
* M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2 * M909, M910 & LCD - only PRINTRBOARD_REVF & RIGIDBOARD_V2
*/ */
//#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps //#define PWM_MOTOR_CURRENT { 1300, 1300, 1250 } // Values in milliamps
//#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A) //#define DIGIPOT_MOTOR_CURRENT { 135,135,135,135,135 } // Values 0-255 (RAMBO 135 = ~0.75A, 185 = ~1A)
@ -2643,19 +2643,23 @@
#define MAX_CMD_SIZE 96 #define MAX_CMD_SIZE 96
#define BUFSIZE 32 #define BUFSIZE 32
// Transmission to Host Buffer Size /**
// To save 386 bytes of flash (and TX_BUFFER_SIZE+3 bytes of RAM) set to 0. * Host Transmit Buffer Size
// To buffer a simple "ok" you need 4 bytes. * - Costs 386 bytes of flash and TX_BUFFER_SIZE+3 bytes of SRAM (if not 0).
// For ADVANCED_OK (M105) you need 32 bytes. * - 4 bytes required to buffer a simple "ok".
// For debug-echo: 128 bytes for the optimal speed. * - 32 bytes for ADVANCED_OK (M105).
// Other output doesn't need to be that speedy. * - 128 bytes for the optimal speed of 'debug-echo:'
// :[0, 2, 4, 8, 16, 32, 64, 128, 256] * - Other output doesn't need to be that speedy.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256]
*/
#define TX_BUFFER_SIZE 32 #define TX_BUFFER_SIZE 32
// Host Receive Buffer Size /**
// Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough. * Host Receive Buffer Size
// To use flow control, set this buffer size to at least 1024 bytes. * Without XON/XOFF flow control (see SERIAL_XON_XOFF below) 32 bytes should be enough.
// :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048] * To use flow control, set this buffer size to at least 1024 bytes.
* :[0, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048]
*/
//#define RX_BUFFER_SIZE 1024 //#define RX_BUFFER_SIZE 1024
#if RX_BUFFER_SIZE >= 1024 #if RX_BUFFER_SIZE >= 1024
@ -3930,7 +3934,7 @@
/** /**
* Extra options for the M114 "Current Position" report * Extra options for the M114 "Current Position" report
*/ */
//#define M114_DETAIL // Use 'M114` for details to check planner calculations //#define M114_DETAIL // Use 'M114 D' for details to check planner calculations
//#define M114_REALTIME // Real current position based on forward kinematics //#define M114_REALTIME // Real current position based on forward kinematics
//#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed. //#define M114_LEGACY // M114 used to synchronize on every call. Enable if needed.
@ -3977,7 +3981,6 @@
* Spend 28 bytes of SRAM to optimize the G-code parser * Spend 28 bytes of SRAM to optimize the G-code parser
*/ */
#define FASTER_GCODE_PARSER #define FASTER_GCODE_PARSER
#if ENABLED(FASTER_GCODE_PARSER) #if ENABLED(FASTER_GCODE_PARSER)
//#define GCODE_QUOTED_STRINGS // Support for quoted string parameters //#define GCODE_QUOTED_STRINGS // Support for quoted string parameters
#endif #endif

Some files were not shown because too many files have changed in this diff Show more