aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* klippy-requirements: Update Jinja2 versionKevin O'Connor2019-04-141-1/+1
| | | | | | | | There's a security bulletin for Jinja2 v2.10 (CVE-2019-10906). This wont impact Klipper, but best to upgrade the package requirements to avoid getting security alerts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* menu: initial support for analog buttons (#977)Janar Sööt2019-04-143-16/+204
| | | Signed-off-by: Janar Sööt <janar.soot@gmail.com>
* bus: Don't reserve any pins if BUS_PINS_x is not definedKevin O'Connor2019-04-071-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: refactor usbserial to use udelay helper.Matt Baker2019-04-061-3/+1
| | | | Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* lpc176x: force minimum usb disconnect timeMatt Baker2019-04-063-0/+19
| | | | | | | Fixes GitHub Issue #1499. Resolves USB hang by forcing a minimum USB disconnection time at boot. Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
* docs: Update Installation.md to point to list of supported ARM mcusKevin O'Connor2019-04-061-3/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update generic-bigtreetech-skr-v1.3.cfg with e0/e1 defsKevin O'Connor2019-04-061-1/+9
| | | | | | | Use the HE0 for the extruder0 heater and add comments describing the nominal extruder1 pins. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* replicape: add support for Linux hardware PWM (#1443)Janne Grunau2019-04-062-16/+49
| | | | | | | | | | | | | The servo pins (P9_14/P9_16) are muxed to the SOCs hardware PWM unit driven by a 13MHz GP timer. They have to be driven by the linux host mcu. This commits adds hardware PWM support using the linux sysfs user space interface. The servo pins can be specified as "replicape:servo0" and "replicape:servo1". Removes the "servo0_enable", "servo1_enable" configuration parameters. Fixes #1105. Signed-off-by: Janne Grunau <janne-3d@jannau.net>
* config: Minor change to generic-bigtreetech-skr-v1.3.cfgKevin O'Connor2019-04-051-1/+0
| | | | | | Interpolate is enabled by default. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Generic board BIGTREETECH SKR V.1.3 configAleksander Sobolewski2019-04-052-0/+157
| | | | | Signed-off-by: Aleksander Sobolewski <aleks.sobolewski@outlook.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update generic-bigtreetech-skr-v1.1.cfg - make flash should now workKevin O'Connor2019-04-051-5/+0
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: add support for Linux hardware PWMJanne Grunau2019-04-056-4/+110
| | | | | | | | | | The replicape servo pins (P9_14/P9_16) are muxed to the SOCs hardware PWM unit driven by a 13MHz GP timer. They have to be driven by the linux host mcu. This commits adds hardware PWM support using the linux sysfs user space interface. Signed-off-by: Janne Grunau <janne-3d@jannau.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pwmcmds: allow 16-bit resolutionJanne Grunau2019-04-051-1/+1
| | | | | Signed-off-by: Janne Grunau <janne-3d@jannau.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update BLTouch.md to refer to Probe_Calibrate.md for offset configKevin O'Connor2019-04-051-77/+12
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor wording changes to BLTouch.mdKevin O'Connor2019-04-051-27/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* BLTouch: Use G90 in the BLTouch.md homing_override exampleKevin O'Connor2019-04-051-0/+1
| | | | | | Reported by @sgtnoodle. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Wrap BLTouch.md to 80 columns.Kevin O'Connor2019-04-051-95/+126
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note the python software dependency update in Config_Changes.mdKevin O'Connor2019-04-051-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Report the underlying error on an internal error during connectKevin O'Connor2019-04-041-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* homing_override: Use gcode_macro style templates on gcodeKevin O'Connor2019-04-041-2/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* probe: Use gcode_macro style templates on activate/deactivate_gcodeKevin O'Connor2019-04-041-8/+14
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode_macro: Evaluate macros using Jinja2 template engineKevin O'Connor2019-04-042-14/+80
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update klippy-requirements.txt to latest version of packagesKevin O'Connor2019-04-041-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Minor whitespace changes to sercom.cKevin O'Connor2019-04-041-3/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Note the use of bus enumerations in Config_Changes.mdKevin O'Connor2019-04-042-4/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* linux: Convert SPI to use enumerationsKevin O'Connor2019-04-042-2/+11
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-044-7/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-049-32/+37
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsam: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-045-12/+45
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Use enumerations for buses and reserve pinsKevin O'Connor2019-04-044-7/+33
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bus: Support bus enumerations and add support for reserved pinsKevin O'Connor2019-04-045-23/+87
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* bus: Change bus parameter in config_spi/config_i2cKevin O'Connor2019-04-043-6/+6
| | | | | | Be explicit when using an spi_bus vs i2c_bus in the parameter name. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* sx1509: Convert code to use generic i2c bus supportKevin O'Connor2019-04-044-25/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* uc1701: make contrast configurableArksine2019-04-022-1/+5
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Note that graphstats.py can produce different types of graphsKevin O'Connor2019-04-011-0/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Add a new klippy-requirements.txt file for virtualenv installsKevin O'Connor2019-04-015-4/+11
| | | | | | | | Place all of the host software python requirements into a config file. This makes it easier to update the python requirements without having to update several installation scripts. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Minor wording change in MCU_Commands.mdKevin O'Connor2019-04-011-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Update Protocol documentation with enumerationsKevin O'Connor2019-04-012-28/+38
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* avr: Add enumerations for the atmega168/328 analog only pinsKevin O'Connor2019-03-311-0/+5
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f1: Fix ADC (#1474)smark-2019-03-311-1/+1
| | | | | The sampling time of the ADC was too slow (239 ADC clock cycles), causing the reading of the next ADC channel to have cross talk as per issue #1261. Sampling time updated to 41 ADC clock cycles. Signed-off-by: Marco D'Alessio <marco@wrecklab.com>
* pru: The TMR_CNT is cleared by writing all onesKevin O'Connor2019-03-311-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* pru: Avoid using a timer wake time of exactly zeroKevin O'Connor2019-03-311-0/+2
| | | | | | | | It appears the PRU timer will not trigger on a match of exactly zero. If the next timer happened to be set to exactly zero, it could cause software timers to get stuck and result in "move queue empty" errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* logextract: Add mcu annotation on send/receive shutdown reportsKevin O'Connor2019-03-311-5/+8
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lpc176x: Explicitly disconnect USB on a bootloader requestKevin O'Connor2019-03-311-1/+7
| | | | | | | | | It appears some host machines may not recognize that the USB device has disconnected upon start of bootloader mode. Explicitly disable USB and add a 5ms delay to help signal the host of the upcoming change. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* force_move: Avoid divide by zero in move time calculationKevin O'Connor2019-03-311-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* corexy: Fix minimum halt velocityKevin O'Connor2019-03-301-2/+3
| | | | | | | | | Due to the corexy kinematics, the individual steppers may have a velocity of sqrt(2) times faster than the cartesian velocity _and_ can have an acceleration of sqrt(2) times faster. Make sure to calculate in the higher acceleration. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32f0: Wrong port definition for GPIOF (#1463)Eugene Krashtan2019-03-291-1/+1
| | | Signed-off-by: Eugene Krashtan <eug.krashtan@gmail.com>
* docs: STM32F0 benchmarks (#1462)Eugene Krashtan2019-03-291-0/+17
| | | Signed-off-by: Eugene Krashtan <eug.krashtan@gmail.com>
* temperature_fan: Fix. Temperature fan min speed should be used (#1405)Douglas Hammond2019-03-283-15/+27
| | | Signed-off-by: Douglas Hammond <wizhippo@gmail.com>
* stm32f0: minor i2c bugfix (#1461)Eugene Krashtan2019-03-281-1/+1
| | | Signed-off-by: Eugene Krashtan <eug.krashtan@gmail.com>