aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* docs: fixed babystepping patch (#4526)shiftingtech2021-07-271-3/+5
| | | | | Just a quick cleanup to where I flubbed the Z_OFFSET_APPLY_ENDSTOP and Z_OFFSET_APPLY_PROBE documentation Signed-off-by: Ben Eastep <shifting@shifting.ca>
* Revert "README: Fix links to www.klipper3d.org"Kevin O'Connor2021-07-271-3/+3
| | | | | | This reverts commit baad3f281d8d69aae45ec3d14f8b9fdb7b3f2d00. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Revert "workflows: Point to https://www.klipper3d.org/Contact"Kevin O'Connor2021-07-273-4/+4
| | | | | | This reverts commit d14015111e30a8a58cbd9c97a2af4446048a15b7. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Set use_directory_urls to FalseKevin O'Connor2021-07-271-0/+1
| | | | | | | Restore old link behavior - each document file will have a single html file ending in the ".html" suffix. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* workflows: Point to https://www.klipper3d.org/ContactKevin O'Connor2021-07-273-4/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Move mkdocs.yml to docs/_klipper3dKevin O'Connor2021-07-272-2/+5
| | | | | | Reported by @damlobster . Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* README: Fix links to www.klipper3d.orgKevin O'Connor2021-07-271-3/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Add comments to files in this directoryKevin O'Connor2021-07-274-0/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* check_whitespace: Also check txt, css, html, yaml, and yml files for errorsKevin O'Connor2021-07-271-1/+4
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* _klipper3d: Add trailing newline to extra.cssKevin O'Connor2021-07-271-1/+1
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: Use hash marks for header linesKevin O'Connor2021-07-279-104/+67
| | | | | | Consistently use leading hash marks (#) to note section headers. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* docs: make mkdocs_hooks.transform more robustDamien Martin2021-07-271-10/+23
| | | | | | | - Keeps the markdown inside the code blocks as is - Logs the modified lines (mkdocs serve —verbose) Signed-off-by: Damien Martin <damlobster@gmail.com>
* docs: Setup mkdocs with mkdocs-material themeDamien2021-07-2711-165/+189
| | | | | | This changes the framework used to generate the klipper3d site. Signed-off-by: Damien Martin <damlobster@gmail.com>
* docs : make modifications to all md files to make them compatible with mkdocsDamien2021-07-2744-536/+565
| | | | | | | | all markdown files must have a single H1 heading at the top. Signed-off-by: Damien Martin <damlobster@gmail.com> Update CNAME
* menu: fix crash when opening SDCard menu while printingKamil Trzcinski2021-07-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | This fixes the bug introduced by https://github.com/KevinOConnor/klipper/commit/f1091a484bfbf2cc5676e3a6fcd595172f123f67. The problem is that condition was returning string which could not be converted to boolean. We solve that by showing `Start Printing` when `is_active`. ``` ERROR:root:Unhandled exception during run Traceback (most recent call last): ... File "/opt/klipper/klippy/extras/display/menu.py", line 117, in eval_enable return bool(ast.literal_eval(self._enable_tpl.render(context))) File "/usr/lib/python2.7/ast.py", line 49, in literal_eval node_or_string = parse(node_or_string, mode='eval') File "/usr/lib/python2.7/ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) File "<unknown>", line 1 /opt/octoprint/uploads/wait_print.gcode ``` Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
* docs: Note to enable SPI in RPi_microcontroller.md (#4503)strayr2021-07-251-0/+4
| | | | | whilst this line is in Measuring_Resonances.md, users following this guide for other reasons have no cause reason to read that and don't have an explanation for what they didn't know they didn't do. Signed-off-by: Rowland Straylight <rowlandstraylight@gmail.com>
* probe: add ability to save babystepping (#4404)shiftingtech2021-07-253-5/+49
| | | | | | | | Created two new extended gcodes: Z_OFFSET_APPLY_ENDSTOP, and Z_OFFSET_APPLY_PROBE. These use the z gcode offset to revise the probe offset, or z endstop position allowing users to make a frequently used babystepping value permanent without manual config editing. Signed-off-by: Ben Eastep <shifting@shifting.ca>
* tmc_uart: Increase default UART rate to 40000 on 32bit MCUsKevin O'Connor2021-07-231-2/+7
| | | | | | | | A higher UART baud rate will allow for faster transfers and may result in more stable operation in general. Increase the baud to 40000 on 32bit MCUs and leave the baud at 9000 baud for 8bit AVR MCUs. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* tmc2209: Set SENDDELAY=2 to avoid uart rx/tx errorsKevin O'Connor2021-07-231-0/+3
| | | | | | | | | | It looks like the tmc2209 chips have increased uart errors with the default SENDDELAY of zero. Increasing the SENDDELAY to two seems to work around this issue. Reported by @ReXT3D. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* spi_flash: Support firmware dictionary validationJustin Schuh2021-07-202-13/+52
| | | | | | | | | | | Updates firmware validation to use a dictionary if provided (or found when updating from the default out/ directory). Validation without a dictionary still checks the following (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Signed-off-by: Justin Schuh <code@justinschuh.com>
* spi_flash: Make SD updates more tolerant of flaky boardsJustin Schuh2021-07-202-22/+55
| | | | | | | | | | Validation passes if either of the following succeeds (in order): 1. Active firmware's raw dictionary changed after update 2. Checksum of firmware.cur matches expected Additionally, deletes firmware.bin if found after update succeeds. Signed-off-by: Justin Schuh <code@justinschuh.com>
* config: Update printer-flsun-q5-2020.cfg (#4488)Daniel Da Cunha2021-07-201-1/+1
| | | | | The MKS Robin Nano v1.2 expects the firmware file to be called `Robin.nano.bin`. Signed-off-by: Daniel Da Cunha <github@ddc.im>
* config: Fix M300 beeper example. (#4480)s-holst2021-07-201-4/+2
| | | | | | | | The M300 example macro now sets the PWM cycle time to generate the requested frequency. 'scale' did not have the desired effect. Duty cycle is now fixed at 0.5. All S parameter values less than 1 generate a 1Hz 'tone' to avoid division-by-zero. Signed-off-by: Stefan Holst <mail@s-holst.de>
* controller_fan: Minor updatesKevin O'Connor2021-07-203-6/+12
| | | | | | | | | | Document change in behavior of the controller_fan module. Lookup heater objects in connect() event handler. Return list of stepper names from stepper_enable.get_steppers(). Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* controller_fan: Add "stepper" config option (#4447)Sophie Hirn2021-07-203-7/+25
| | | | | | Allows contoller_fan sections to monitor only certain steppers instead of all of them, similar to how heaters are currently handled. Signed-off-by: Sophie Hirn <sophie.hirn@wyvernscale.com>
* config: New printer profile for Eryone ER20 and minor update for Eryone ↵Demetrius Apostolopoulos2021-07-153-1/+188
| | | | | | | Thinker Series (#4491) This config was a community effort and was author and tested by sihawken, 3D.Subzwari & dapostol73. Signed-off-by: Demetrius Apostolopoulos <dapostol73@hotmail.com>
* stm32: Add 16KiB bootloader option for STM32F103 (#4493)Simon Hawkenson2021-07-151-1/+1
| | | | | The Eryone ER-20 is a STM32F103 based 3D printer which ships with a 16KiB bootloader. Their official version of Marlin starts at 0x08004000. Signed-off-by: Simon Hawkenson <simon@hawkenson.ca>
* rp2040: implement SPILasse Dalegaard2021-07-154-0/+121
| | | | | | | This implements SPI for the rp2040 target. All output groupings of both SPI blocks are available for use. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* docs: Add hardware RPi PWM documentation (#4418)Martin2021-07-151-0/+36
| | | Signed-off-by: Martin van Es <martin@mrvanes.com>
* mcu: Set reqclock on trsync_start commandsKevin O'Connor2021-07-091-2/+3
| | | | | | | | Set the reqclock on trsync commands to ensure those commands do not cause 32-bit timer rollover errors. Otherwise, it may result in "Timer too close" errors. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: hardware PWM supportLasse Dalegaard2021-07-094-0/+111
| | | | | | | | | | This implements hardware PWM support for the rp2040. The maximum value(100% duty) is set to 255 to match the other controllers. Cycle time is clamped automatically, and uses the full 8.4 fractional range of the rp2040 PWM block. This allows a maximum PWM frequency of 490kHz and a minimum frequency of 1915 Hz. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* stm32: Allow STM32F401 boards to use STM32 HID Bootloader (#4461)Henky Prayoga2021-07-091-2/+2
| | | Signed-off-by: Henky Prayoga <henky.prayoga@callysta-engineering.com>
* config: Fix typo in generic-bigtreetech-octopus.cfgKevin O'Connor2021-07-091-1/+1
| | | | | | Reported by @a7hybnj2. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* config: Create config for BigTreeTech Octopus (#4441)charlespick2021-07-092-0/+295
| | | | | | | Information and some lines verbatim were sourced from the official BigTreeTech Octopus GitHub repository to make this configuration as well as existing configurations in the same folder as this one Signed-off-by: Charles Pickering <charles.pickering@live.com>
* docs: Updated docs for custom AXIS in TEST_RESONANCESDmitry Butyugin2021-07-082-2/+35
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* resonance_tester: Arbitrary AXIS in TEST_RESONANCES commandDmitry Butyugin2021-07-081-29/+61
| | | | Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
* docs: added an apt update to measuring_resonance (#4417)shiftingtech2021-07-081-1/+2
| | | Signed-off-by: Ben Eastep <shifting@shifting.ca>
* rp2040: Add _ramfunc macro to internal.h and use in bootrom.c and chipid.cKevin O'Connor2021-07-043-9/+13
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: add chipid supportLasse Dalegaard2021-07-045-4/+171
| | | | | | | | | | The rp2040 doesn't have a chip ID, but the flash chip connected does. We can get this ID by asking the flash chip directly, but doing so requires disengaging the XIP layer, performing the interrogation of the flash chip, and then re-enabling the XIP layer. This gives us a 64-bit unique ID that we can use as our USB serial number. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* rp2040: support usb_request_bootloaderLasse Dalegaard2021-07-044-2/+30
| | | | | Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com> Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: remove unused linker optionLasse Dalegaard2021-07-041-1/+1
| | | | | | | | | In binutils 2.36 and above the -nostartfiles option is no longer ignored. -nostartfiles is actually a gcc option, and so isn't supported by ld. Earlier versions of binutils however had less error checking, and thus just ignored the option. Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
* docs: Add rp2040 benchmark results to Benchmarks.mdKevin O'Connor2021-07-041-0/+27
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Initial USB supportKevin O'Connor2021-07-044-1/+241
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add initial adc supportKevin O'Connor2021-07-046-2/+109
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* rp2040: Add initial support for the rp2040 mcuKevin O'Connor2021-07-0411-0/+642
| | | | | | | Support the rp2040 (as tested on a Raspberry Pi Pico board). This adds basic uart, timer, gpio, and watchdog support. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Changes to rp2040 build files to work in Klipper build systemKevin O'Connor2021-07-044-3/+35
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lib: Add rp2040 build filesKevin O'Connor2021-07-0488-0/+58874
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* lcd_st7920: Check CONFIG_MACH_AVR for slow mcusKevin O'Connor2021-07-042-4/+4
| | | | | | | Use CONFIG_MACH_AVR instead of CONFIG_CLOCK_FREQ to check for slow mcus. Some fast MCUs do not export a high clock frequency. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* Makefile: Allow CONFIG_HAVE_GPIO_BITBANGING when not CONFIG_HAVE_GPIO_SPIKevin O'Connor2021-07-041-2/+3
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
* usb_cdc: Add comments on debugging USB connections via UARTKevin O'Connor2021-07-041-0/+9
| | | | Signed-off-by: Kevin O'Connor <kevin@koconnor.net>