aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* motan: Add an analyzer to integrate accelerometer inputKevin O'Connor2021-10-161-1/+60
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Add support for graphing stepper motor phase and microstep positionKevin O'Connor2021-10-161-0/+98
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* motan: Show data filename in graph titleKevin O'Connor2021-10-161-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* temperature_sensor: round reported temps to 2 decimal placesEric Callahan2021-10-151-3/+3
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* temperature_host: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* lm75: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* htu21d: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* heaters: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* ds18b20: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* bme280: round reported temps to 2 decimal placesEric Callahan2021-10-151-1/+1
| | | | Signed-off-by: Eric Callahan <arksine.code@gmail.com>
* docs: Update mkdocs-requirements.txtKevin O'Connor2021-10-151-1/+1
| | | | | | | | Update mkdocs to v1.2.3 to avoid a github "dependabot" warning for CVE-2021-40978. (The CVE doesn't impact the klipper3d.org site, but no harm in updating.) Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Update generic-printrboard.cfg to mention different Y endstop pin on ↵creyc2021-10-151-0/+2
| | | | | RevF hardware (#4732) Signed-off-by: Corey Schiller <gitcor@venemo.com>
* docs: Update BLTouch.md to prevent position_endstop error (#4731)Ilia Rebane2021-10-151-2/+2
| | | | | | Klipper with Fluid complains about `position_endstop` line if `endstop_pin: probe:z_virtual_endstop` used Signed-off-by: Ilia Rebane <Agilatosay@gmail.com>
* config: Fix typo in Octopus board (#4801)Arne Schwarck2021-10-131-1/+1
| | | | | As suggested in https://github.com/Klipper3d/klipper/pull/4792 Signed-off-by: Arne Schwarck <arneschwarck@gmail.com>
* adxl345: Renamed decode_samples and fixed/added checks on empty dataDmitry Butyugin2021-10-133-8/+37
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* config: Fix diag pins on Octopus board (#4792)Arne Schwarck2021-10-131-4/+4
| | | | | with reference from https://github.com/bigtreetech/BIGTREETECH-OCTOPUS-V1.0/blob/master/Hardware/BIGTREETECH%20Octopus.pdf Signed-off-by: Arne Schwarck <arneschwarck@gmail.com>
* stm32: Add a MACH_STM32F0x2 alias for F042 and F072 chipsKevin O'Connor2021-10-132-7/+11
| | | | | | | | The F042 and F072 chips are in the same series and the code should be nearly identical for these chips. Implement the alias and enable USB for the F072 chips. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rework HAVE_GPIO_HARD_PWM in KconfigKevin O'Connor2021-10-131-7/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Change stm32f0 OSPEEDR to "medium" speedKevin O'Connor2021-10-121-1/+1
| | | | | | | | | The previous OSPEEDR value of 0x2 was copied from the stm32f4.c code, but the stm32f0 interprets that value the same as 0x0 - which is "low" speed. Change the OSPEEDR value to "medium" speed so that it matches the configuration of stm32f1 chips. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add comments to configuration of OSPEEDR gpio speedKevin O'Connor2021-10-124-8/+15
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Rework #if pin definition clauses in hard_pwm.cKevin O'Connor2021-10-111-54/+50
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Adding Hardware PWM support for the STM32F4 processors (#4693)jrhelbert2021-10-112-1/+67
| | | | | This change has been expanded to include all STM32F4 processors, since they share a common TIMER mapping with some processors just not having all of the timers and pins. Signed-off-by: Jerome Helbert <jerome@helbert.net>
* config: Anycubic Vyper (#4740)Manuel Fichtner2021-10-113-1/+145
| | | | | | | | | | | This commit contains a configuration for the Anycubic Vyper printer from 2021. It uses a clone of the STM32F103 chip named GD32F103. There are 2 Mainboard versions out there v0.0.5 and v0.0.6, this config has been tested with the v0.0.6 only. It should probably work for v0.0.5 as well since there are no different changes in the Anycubic Marlin firmware. The LCD is not supported yet (might work, but didn't try yet). Signed-off-by: Marc Neuhaus <marc@neuhaus.nrw> Signed-off-by: Manuel Fichtner <manuel.fichtner@me.com>
* tmc: add current values to get_status() (#4696)Philipp Temminghoff2021-10-112-1/+6
| | | Signed-off-by: Philipp Temminghoff <philipptemminghoff@gmail.com>
* delta: Don't limit XY+Z moves to max_z_velocityKevin O'Connor2021-10-111-5/+3
| | | | | | | | | Scale the max_z_velocity limit by the amount of movement in the Z. This should improve bed_mesh and vase mode prints on delta printers. Reported by @hywelmartin and @dalegaard. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* button: Support half-stepping encodersRufo Sanchez2021-10-113-35/+96
| | | | | | | | | | | | | Adds support for half-stepping encoders (encoders that only emit two steps per detent, instead of four). Incorporates the feedback from @susisstrolch's PR: https://github.com/KevinOConnor/klipper/pull/4202 , which was itself built upon a previous PR from @nickbrennan01: https://github.com/KevinOConnor/klipper/pull/730 Uses the table from the Rotary Arduino library linked in buttons.py: https://github.com/brianlow/Rotary/blob/6b784cca67c5f1ce5e11d757a540fc4c0311efca/Rotary.cpp#L21-L40 Signed-off-by: Rufo Sanchez <rufo@rufosanchez.com>
* test: Add a configfile test with unicode charactersKevin O'Connor2021-10-091-0/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Use Python2's ConfigParser when running on Python2Kevin O'Connor2021-10-093-6/+8
| | | | | | | | | The backport of Python3's configparser causes issues when there is unicode characters in the config file. To avoid introducing new errors, go back to using the Python2 version of ConfigParser when running on Python2. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* console: Fix Python2 compatibilityKevin O'Connor2021-10-081-1/+1
| | | | | | Make sure to import util prior to reactor. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Workaround for non-ascii comments on Python2Kevin O'Connor2021-10-081-1/+2
| | | | | | | | Explicitly specify the comment_prefixes as regular Python2 strings - otherwise the configparser wont ignore non-ascii characters in comments. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Improve Python3 compatibilityKevin O'Connor2021-10-071-5/+6
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* ds18b20: Improve Python3 compatibilityKevin O'Connor2021-10-071-3/+4
| | | | | | Reported by @matthewlloyd. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* atsamd: Add i2c_read() implementationSimon Kühling2021-10-061-1/+43
| | | | Signed-off-by: Simon Kühling <mail@simonkuehling.de>
* adxl345: Expanded invalid adxl345 id messageDmitry Butyugin2021-10-061-2/+5
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* adxl345: Renamed debug commands to fix their parsing by KlipperDmitry Butyugin2021-10-062-12/+12
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* stm32: Add an MACH_STM32F4x5 alias for F405, F407, and F429 chipsKevin O'Connor2021-10-063-15/+18
| | | | | | | | | The F405, F407, and F429 chips are in the same series and almost all code definitions should apply to all chips in that series. Implement the alias and fix defintions in adc.c and Kconfig that were only applying to a subset of that series. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add hardware pwm for stm32h7D4SK2021-10-062-1/+49
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* stm32: Add initial support for stm32h7D4SK2021-10-067-2/+583
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armc_boot: Support cortex-m7 chipsD4SK2021-10-061-0/+5
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* armcm_irq: Support cortex-m7 chipsD4SK2021-10-061-1/+6
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Added cmsis libraries for stm32h7D4SK2021-10-0618-0/+357394
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Updated existing cmsis-core for stm32h7 supportD4SK2021-10-0611-260/+3366
| | | | | Signed-off-by: Konstantin Vogel <konstantin.vogel@gmx.net> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* configfile: Ignore trailing comments starting with a semicolonKevin O'Connor2021-10-061-1/+2
| | | | | | | | Newer versions of configparser no longer default to ignoring trailing comments that start with a semicolon. Add that setting explicitly to avoid breaking existing config files. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Use backport of a recent Python3 configparser on Python2Kevin O'Connor2021-10-042-7/+2
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Add a build import test toolKevin O'Connor2021-10-042-0/+27
| | | | | | | | Add a test case to verify that every optional module successfully loads on both Python2 and Python3. This is intended to catch syntax and module imports that are not compatible between Python versions. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* scripts: Update klippy build tests to verify on both Python2 and Python3Kevin O'Connor2021-10-042-5/+20
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* klippy: Add Python2 module wrappers and use Python3 module namingKevin O'Connor2021-10-046-8/+29
| | | | | | | Add wrappers for some common Python modules so that the code can run on both Python2 and Python3. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* webhooks: Convert to Python3 string encodingKevin O'Connor2021-10-041-15/+18
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* gcode: Convert to Python3 string encodingKevin O'Connor2021-10-011-2/+2
| | | | | | | | | | | The error checking is not complete in this change - the code should handle the case where an input string is not valid utf8. The code will continue to run on Python2 after this change, however the execution time on Python2 is measurably slower after making this change. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* buildcommands: Convert to Python3 string encodingKevin O'Connor2021-10-011-6/+7
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>