aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* spi_software: Implementation of software spiKevin O'Connor2019-02-136-18/+198
| | | | | Signed-off-by: Matt Janus <FragginRight@variabl.es> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Add support for hard pwm via PWM controllerKevin O'Connor2019-02-134-3/+106
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Fix typo in header guardKevin O'Connor2019-02-131-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note MCP4728 in Features.mdKevin O'Connor2019-02-121-2/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_stepper: Add an "extras" module for manually controlling a stepperKevin O'Connor2019-02-128-3/+201
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Add Bed_Level.md and Probe_Calibrate.md documentsKevin O'Connor2019-02-126-18/+301
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Use manual_probe helper when performing manual probesKevin O'Connor2019-02-122-27/+24
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Add PROBE_CALIBRATE commandKevin O'Connor2019-02-124-7/+78
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* manual_probe: Add a helper script for performing manual Z probingKevin O'Connor2019-02-123-0/+181
| | | | | | Add MANUAL_PROBE and Z_ENDSTOP_CALIBRATE commands. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note command dispatch benchmark needs desktop class machineKevin O'Connor2019-02-111-1/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Report the actual SAMD51 3 stepper rate in the Features benchmarkKevin O'Connor2019-02-111-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update duet2 benchmarksFlorian Heilmann2019-02-102-5/+8
| | | | Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* Revert "serialhdl: Enforce exclusive access on POSIX, this is default ↵Kevin O'Connor2019-02-101-2/+2
| | | | | | | | behavior on windows. (#1216)" This reverts commit fdbbda948419932be2bf93a932ae91ffc7f94e7f. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Fix typo in Protocol.md documentKevin O'Connor2019-02-101-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* serialhdl: Enforce exclusive access on POSIX, this is default behavior on ↵Daniel2019-02-101-2/+2
| | | | | windows. (#1216) Signed-off-by: Daniel Joyce <daniel.a.joyce@gmail.com>
* config: Azteeg X5 mini config (#1193)AxMod 3D Print2019-02-082-0/+96
| | | Signed-off-by: Ax Smith-Laffin <ax@darknetweb.co.uk>
* config: Use "ATC Semitec 104GT-2" for CR10 (and similar) heater bedsKevin O'Connor2019-02-083-3/+3
| | | | | | | Marlin examples use the "ATC Semitec 104GT-2" thermistor for the CR10, CR10S, and CR10mini. Reported by @dovcharov. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Enable ADC support for samd51 devices (#1204)Florian Heilmann2019-02-083-19/+100
| | | | | | * adc: Enable ADC support for samd51 devices Signed-off-by: Florian Heilmann <Florian.Heilmann@gmx.net>
* virtual_sdcard: Don't list files starting with a '.'Kevin O'Connor2019-02-081-1/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pause_resume: fixesArksine2019-02-081-12/+28
| | | | | | | | - When using absolute extrusion the gcode position e-axis position is now captured on PAUSE and restored in RESUME with a call to the G92 handler. - Add a get_status() function that returns a dictionary with an 'is_paused' key. - Do not allow consective calls to PAUSE or RESUME to exectue. Also do not allow a RESUME to executed without a previous PAUSE. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* gcode: add 'abs_extrude' to get_status() dictionaryArksine2019-02-081-0/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* config: Update generic-fysetc-f6.cfg display sectionKevin O'Connor2019-02-071-4/+7
| | | | | | Reported by @bruce356 and @nandinho84. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update generic-bigtreetech-skr-v1.1 (#1209)Tschipel2019-02-071-0/+9
| | | | | | Add "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays Signed-off-by: Mario Frost <waschbaerbauch75@ist-einmalig.de> Co-Authored-By: Jens <malgangda@users.noreply.github.com>
* docs: Update atsam benchmarksKevin O'Connor2019-02-072-9/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Configure the atsam sram matrix registerKevin O'Connor2019-02-071-0/+11
| | | | | | | | The sram matrix configuration is, bizarrely, configured with a slow default. It will typically add an extra wait state to every memory access. Set the matrix sram controller to improve the performance. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* debugcmds: Add support for reading/writing 32bit valuesKevin O'Connor2019-02-071-29/+25
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update benchmarksKevin O'Connor2019-02-062-37/+40
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f1: Convert code to use armcm_timerKevin O'Connor2019-02-064-123/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f1: Use internal functions for early USB gpio toggleKevin O'Connor2019-02-063-6/+24
| | | | | | | Avoid using the "low-level" library timing utilities. This is in preparation for using SysTick as part of the timer implementation. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Convert code to use armcm_timerKevin O'Connor2019-02-064-67/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Convert code to use armcm_timerKevin O'Connor2019-02-064-190/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Convert SAMD51 to use armcm_timerKevin O'Connor2019-02-063-75/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_timer: Add a generic timer mechanism for ARM CortexM3/M4 chipsKevin O'Connor2019-02-061-0/+136
| | | | | | | | | | | | The ARM CortexM3 (and later) chips almost always have a 32bit timer in the "Debug and Watch Trace" (DWT) unit which resides within the cpu core itself. This timer is generally faster to access than timers located on the chip's peripheral bus. When combined with the standard ARM SysTick timer it provides a (generally) portable mechanism to implement Klipper's software timer mechanism. It's generally also faster than using the vendor specific timers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Return to a default gcode speed of 25mm/sKevin O'Connor2019-02-041-1/+1
| | | | | | | | Commit f4d323ad changed the handling of the self.speed variable, and it inadvertently changed the default startup speed. Return to the default of 25mm/s. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Issue just a pin_up command on a normal raise probe attemptKevin O'Connor2019-02-041-1/+2
| | | | | | | | In the normal case, a regular pin_up command should be sufficient to raise the probe. (Should the regular pin_up fail, the code can issue a "reset" command during the retry.) Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Increase default pin_move_time from 200ms to 675msKevin O'Connor2019-02-042-4/+4
| | | | | | Use the same pin move time that Marlin uses. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_temperature: Fix order of initKevin O'Connor2019-02-041-3/+4
| | | | | | | | Commit c3efcd9c moved the config_spi setup to a build_config callback. It's also necessary to move the config_thermocouple to a build_config callback as well. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Clarify FAQ item on running multiple instances of klippyKevin O'Connor2019-02-031-1/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2130: Share config reading helpers with tmc2208.py codeKevin O'Connor2019-02-032-76/+57
| | | | | | | | Add helper function for reading current, microsteps, and stealthchop settings from the config file. Use these helpers in both the tmc2130 and tmc2208 modules. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Rename self.field_helper to self.fieldsKevin O'Connor2019-02-031-17/+16
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: move local set_field/get_field helpers to FieldHelper classKevin O'Connor2019-02-032-59/+61
| | | | | | | Move these helper functions to the FieldHelper class so that they can be used by other Trinamic drivers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Add helper for setting fields from the config fileKevin O'Connor2019-02-031-45/+42
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Use field definitions during driver initKevin O'Connor2019-02-032-26/+50
| | | | | | Reduce the amount of bit manipulations by using the FieldHelper class. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2208: Add register field formattersDmitry Frolov2019-02-032-7/+40
| | | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Signed-off-by: Dmitry Frolov <dmitry.frolov@gmail.com>
* tmc2130: Convert field helper into a classKevin O'Connor2019-02-032-21/+25
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bed_mesh: add support for round bedsArksine2019-02-022-39/+136
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bed_mesh: log when fade completes.Arksine2019-02-021-7/+12
| | | | | | - Also simplify the math for the mesh x and y multipliers. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* tmc2208: Decode register fields in DUMP_TMC (#1156)lorf2019-02-022-2/+189
| | | | | | | | | | | Report values of TMC2208 register fields in DUMP_TMC command to help in tuning and diagnostics. This also adds functions to refer to register fields by name for TMC drivers and register mappings for TMC2208. Signed-off-by: Kevin O'Connor <kevin@koconnor.net> Signed-off-by: Dmitry Frolov <dmitry.frolov@gmail.com>
* bltouch: Don't error on startup if the bltouch is in an error stateKevin O'Connor2019-01-311-1/+1
| | | | | | | | | Stopping the connect sequence can make it difficult to get the bltouch out of an error state. Allow the connect to proceed, ideally if the bltouch stays in an error state it will be detected during the first probe attempt. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bltouch: Retry reset/pin_up if the raise probe attempt failsKevin O'Connor2019-01-311-8/+20
| | | | | | | There's no harm in retrying the attempt if it appears to have failed for some reason. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>