aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* stepper: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* simulator: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Wrap code to 80 columnsKevin O'Connor2019-02-272-6/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buttons: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* hd44780: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* st7920: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* thermistor: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* font8x14: Store font as strings instead of as bytearrayKevin O'Connor2019-02-273-258/+259
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* chelper: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pins: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* checkstack: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avrsim: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Wrap code to 80 columnsKevin O'Connor2019-02-271-7/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* toolhead: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* extruder: Wrap code to 80 columnsKevin O'Connor2019-02-271-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* msgproto: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* util: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* mathutil: Wrap code to 80 columnsKevin O'Connor2019-02-271-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Wrap code to 80 columnsKevin O'Connor2019-02-271-5/+10
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* clocksync: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* console: Wrap code to 80 columnsKevin O'Connor2019-02-271-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pins: Add support for pull down resistorsKevin O'Connor2019-02-276-20/+40
| | | | | | | Add initial support for selecting pull down resistors (for micro-controllers that support it). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_sensor: Add generic temperature sensor supportDouglas Hammond2019-02-263-6/+44
| | | | | Signed-off-by: Douglas Hammond <wizhippo@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_fan: Remove stats as it now supports gcode reportsDouglas Hammond2019-02-261-3/+0
| | | | Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
* heater: Support generic gcode_id registration for sensorsDouglas Hammond2019-02-264-11/+17
| | | | | | | | Support reading a "gcode_id" parameter from heater/sensor config sections. Signed-off-by: Douglas Hammond <wizhippo@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater_bed: Wrap lines to 80 columnsKevin O'Connor2019-02-261-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Use an event to handle restart request actionsKevin O'Connor2019-02-254-11/+17
| | | | | | | | Instead of directly turning off motors, heaters, and fans from gcode.py, raise a new event and allow the heater, fan, and toolhead to handle the event as needed. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: The set_temp() takes an extruder number not a heater idKevin O'Connor2019-02-251-7/+13
| | | | | | | | Commit cf6c5e6f did not fix the shared heater case - a set_temp() request takes the extruder id, not the heater id (nor the gcode sensor id). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Return heaters with a gcode_id from new get_gcode_sensors()Kevin O'Connor2019-02-252-9/+11
| | | | | | | | The gcode.py code should not peek into the heater classes to obtain the gcode_id. Instead, introduce a new get_gcode_sensors() so that the gcode.py code does not need to. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* heater: Rename add_sensor() to add_sensor_factory()Kevin O'Connor2019-02-254-12/+12
| | | | | Signed-off-by: Douglas Hammond <wizhippo@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: A set temperature request should use the heater name, not the gcode idKevin O'Connor2019-02-252-17/+8
| | | | | | | | When setting a temperature, lookup the heater via self.heaters.lookup_heater() and do not use the gcode ids. This fixes temperature setting when multiple extruders share the same heater. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Rename self.heater to self.heatersKevin O'Connor2019-02-251-14/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: simplify configurationArksine2019-02-253-31/+28
| | | | | | The 'bed_shape' option has been removed. The user will enter a 'bed_radius' if they have a round be, otherwise they should enter 'min_point' and 'max_point'. When the bed is round the user should supply a 'round_probe_count' option, otherwise just 'probe_count'. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: fix get_position()Arksine2019-02-251-3/+24
| | | | | | Fix a bug where the fade factor is calculated incorrectly when get_position() is called. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: refactor fade_targetArksine2019-02-251-7/+14
| | | | | | Offset the entire mesh by the fade target amount rather than offset each z lookup. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* probe: Set z min value in probe_accuracy to z_offset. (#1314)Rui Caridade2019-02-251-1/+1
| | | Signed-off-by: Rui Caridade <rui.mcbc@gmail.com>
* docs: Add a Manual_Probe.md documentKevin O'Connor2019-02-245-10/+346
| | | | | | | Add information on calibrating the bed on traditional printers with a Z endstop and bed screws. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_screws: Add a helper tool for leveling bed screwsKevin O'Connor2019-02-245-2/+267
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Default to using an external 32Khz crystalKevin O'Connor2019-02-241-2/+2
| | | | | | | Most samd boards have the crystal and it does improve the clock accuracy, so default to enabling it. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add support for reference clock selection to SAMD21Kevin O'Connor2019-02-222-27/+58
| | | | | | | | | Add support for using the internal clocks (with USB clock recovery mode if available) on the SAMD21. Don't use the internal clock if the external crystal is requested (instead use the PLL synced to the external 32Khz signal). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Update SAMD51 clock configurationKevin O'Connor2019-02-222-41/+64
| | | | | | | | | Add support for USB clock recovery mode if an external 32Khz crystal is not in use. If using an external crystal, then don't use the internal 48Mhz DFLL48Mhz clock (just use the PLLs synced to the external 32Khz signal). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Increase ADC frequency on SAMD51Kevin O'Connor2019-02-221-2/+2
| | | | | | | | The SAMD51 ADC is only clocked on rising edges (vs both rising and falling edges on the SAMD21) and it has a greater minimum frequency than the SAMD21. So, increase the ADC clock. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>