Commit Graph

4748 Commits

Author SHA1 Message Date
Kevin O'Connor c43f62bdd6 lib: Update lib/README with latest canboot changes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-03 14:53:18 -04:00
Eric Callahan b829a89069 flash_can: add usb support
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:51:01 -04:00
Eric Callahan 39535b15ba stm32: use TME bits to find the canbus tx mailbox
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:51:01 -04:00
Eric Callahan 3c7eea7336 stm32: call "try_request_canboot" for bootloader requests
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:51:01 -04:00
Eric Callahan 129091d811 canbus: use "try_request_canboot" method
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:51:01 -04:00
Eric Callahan 8b1e3c3fb2 armcm_reset: support canboot detection
When CanBoot is detected set its bypass signature when a
reset is requested.

Add a "try_request_canboot()" method that may be called
from from USB and Canbus bootloader requests.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:51:01 -04:00
Kevin O'Connor 04eb72dcd5 virtual_sdcard: Fix merge error
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-03 14:23:56 -04:00
Frank Tackitt 638cd4d781 docs: add exclude_object documentation
Also include sample macros to add M486 compatibility.

Signed-off-by: Franklyn Tackitt <git@frank.af>
Co-authored-by: Troy Jacobson <troy.d.jacobson@gmail.com>
2022-06-03 14:12:04 -04:00
Frank Tackitt 89c59b035e exclude_objects: initial implementation
Adding Klipper functionality to support cancelling objects while
printing.

This module keeps track of motion in and out of objects and adjusts
movements as needed.  It also tracks object status and provides that to
clients.

The Klipper module is relatively simple, and only provides one piece of
the workflow. Moonraker already supports processing uploaded files to
insert the required gcode markers for cancelling objects, using
https://github.com/kageurufu/cancelobject-preprocessor. This library is
also available as an executable for use in slicers, and pip
installations also include the script as a callable.

Mainsail has integrated support, and code changes for Fluidd are
available. Support in other interfaces is planned, and we've spoken to
several other developers about integrating frontend support in their
projects.

Signed-off-by: Troy Jacobson <troy.d.jacobson@gmail.com>
Co-authored-by: Franklyn Tackitt <git@frank.af>
Co-authored-by: Eric Callahan <arksine.code@gmail.com>
2022-06-03 14:12:04 -04:00
Troy Jacobson 04952db1e8 tuning_tower: add is_active() method
Signed-off-by: Troy Jacobson <troy.d.jacobson@gmail.com>
Co-authored-by: Franklyn Tackitt <git@frank.af>
2022-06-03 14:12:04 -04:00
Troy Jacobson 2e04be4451 virtual_sdcard: Add reset_file event
Signed-off-by: Troy Jacobson <troy.d.jacobson@gmail.com>
Co-authored-by: Franklyn Tackitt <git@frank.af>
2022-06-03 14:12:04 -04:00
Kevin O'Connor df39465534 config: Rename sample-huvud-v0.61.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-03 11:43:34 -04:00
Charles Pickering 79d6b37ac9 config: Huvud KlipperToolhead config
Pin information and basic flashing instructions for the Huvud CAN bus toolhead board. V0.61

Signed-off-by: Charles Pickering <me@charlespick.xyz>
2022-06-03 11:43:09 -04:00
Kevin O'Connor 742df16a51 config: Update ender3 s1 configs to use gear_ratio
The gearing mechanism is 42:12.  Reported by @filipenobrerc.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-03 11:33:39 -04:00
Kevin O'Connor 06a31222d3 COPYING: Update GPLv3 license to latest text (uses https instead of http)
The latest text of the GNU GPLv3 license updates the web references to
https (instead of the older http).  Update to that latest text.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-03 11:28:44 -04:00
Pedro Lamas c16eab212e virtual_sdcard: Adds on_error_gcode
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-06-03 11:26:34 -04:00
BIGTREETECH dbc24ce339
config: Add BTT SKR 3 & EBB CAN V1.0 & V1.1 board cfg (#5529)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
2022-06-01 11:28:10 -04:00
Kevin O'Connor 63affd7006 stm32: Rework kconfig to use CONFIG_CANSERIAL for both can.c and fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-01 10:59:10 -04:00
Kevin O'Connor 907b47b238 flash_usb: Rework flash_rp2040 code to be similar to other boards
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-06-01 10:47:31 -04:00
BIGTREETECH 1ff7261203
stm32: stm32g0b1 fdcan support (#5488)
Signed-off-by: Alan.Ma from BigTreeTech <tech@biqu3d.com>
2022-06-01 10:43:45 -04:00
Mikkel Schmidt af38d708cb
adxl345: Support recording data from multiple ADXL345's in one run, and more. (#5224)
Add PROBE and CHIP to TEST_RESONANCES

Since it's possible to specify more than one chip
in TEST_RESONANCES the CHIP parameter has been
renamed to CHIPS

Signed-off-by: Mikkel Schmidt <mikkel.schmidt@gmail.com>
2022-05-23 19:56:58 -04:00
Kevin O'Connor c7e0372c5d docs: Line wrapping in G-Codes.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-23 15:50:43 -04:00
Kevin Nguyen 3081899883
docs: Documentation on screws_tilt_calculate MAX_DEVIATION parameter (#5522)
Signed-off-by: Kevin Nguyen <ngynkvn@gmail.com>
2022-05-23 15:49:59 -04:00
Kevin O'Connor 19a478de37 stm32: Don't allow USB on internal clock for stm32f103/stm32f070
Reported by @kaidegit.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-23 15:35:05 -04:00
Kevin O'Connor 5a94764c38 config: Minor changes to ender3-s1 and ender3-s1pro configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-23 15:27:17 -04:00
Fisheiyy 00934e1378
config: Ender 3 S1/S1 Pro Default Configurations (#5332)
Signed-off-by: Rob Casper <myallneedsemail@gmail.com>
2022-05-23 15:23:22 -04:00
camerony f1c6f76a51
docs: Update Config_Reference.md z_hop speed (#5514)
The default z-hop speed is actually 15 mm/s according to the code in safe_z_home.py

Signed-off-by: Cameron River <camerony@gmail.com>
2022-05-23 15:05:53 -04:00
kluoyun 4490a58411
config: Create configuration file for Fly-Gemini-v2 and Fly-CDY-V3 motherboard (#5508)
Signed-off-by: Xiaokui Zhao <xiaok@zxkxz.cn>
2022-05-18 12:28:23 -04:00
th33xitus bbb06a014b docs: fix links to Config_Reference.md
Signed-off-by: Dominik Willner <th33xitus@gmail.com>
2022-05-18 12:05:28 -04:00
Kevin O'Connor 996b73e25d config: Remove hold_current from generic-th3d-ezboard-lite-v2.0.cfg
We no longer recommend setting a hold_current.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 21:22:51 -04:00
Kevin O'Connor 1c18265a62 docs: Minor wording update to Code_Overview.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 11:55:17 -04:00
Kevin O'Connor e8dc44a0ca docs: Update Code_Overview.md with more realistic task timing guidelines
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 11:46:38 -04:00
Kevin O'Connor 95676343db docs: Updates to Installation.md document
Recommend users obtain an example config file prior to starting the
installation.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-17 11:36:36 -04:00
kluoyun defce11235
config:Create configuration file for Fly-Gemini-v1 motherboard (#5474)
Create configuration file for Fly-Gemini-v1 motherboard

Add stm32f405 and generic-mellow-fly-gemini-v1.cfg to test cases

Signed-off-by: Xiaokui Zhao <xiaok@zxkxz.cn>
2022-05-14 10:36:10 -04:00
Kevin O'Connor 9c45f53b24 Makefile: Default to python3 for micro-controller build scripts
It's more likely that python3 will be installed than python2 on a
typical modern Linux distribution, so use python3 by default.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-13 14:07:20 -04:00
Kevin O'Connor 8268478006 homing: Fix bug in multi_complete()
Reported by @skrogh.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-13 13:53:17 -04:00
Kevin O'Connor c14118e9c6 misc: Import misc.h in all files defining console_sendf()
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-13 11:22:47 -04:00
Kevin O'Connor a6b3d2f18f stm32: Remove unused header from can.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-10 15:03:55 -04:00
Kevin O'Connor 2c441b4502 canbus: Rename CANBUS_CMD_SET_NODEID to CANBUS_CMD_SET_KLIPPER_NODEID
Rename the command name for consistency with the canbus_query.py
script.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-10 11:55:06 -04:00
Kevin O'Connor be4b8b17f2 docs: Minor CanBoot documentation fixes
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-10 11:55:06 -04:00
Eric Callahan 88731c2836 scripts: identify application in canbus_query
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Eric Callahan 95d06c95e3 docs: add CanBoot documentation to bootloaders.md
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Eric Callahan 5ec3939f34 lib: add flash_can.py
This script may be used to update Klipper firmware for CAN
nodes running the CanBoot bootloader.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Eric Callahan 60625f4422 stm32: add 8 KiB bootloader option for F0x2 devices
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Eric Callahan 81ff8e125c canbus: send 8 bytes in the id response
The last byte contains the "node id" command, which is used to
identify the application.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
Eric Callahan 3505f4cae5 canbus: add bootloader support
This adds a command which allows an external script to broadcast a
bootloader request, using a supplied UUID to match the request.
Included is a method to process requests to enter the canboot
bootloader.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-05-10 11:48:06 -04:00
3-5-20 b44eee609a
docs: Update G-Codes.md (#5487)
Typo correction: my -> by

Signed-off-by: Oscar Cetnarowski <0.007954545@proton.me>
2022-05-09 22:20:06 -04:00
Kevin O'Connor a94146b554 pins: Improve pin description checks
Make sure whitespace isn't in the pin description.  Also make sure an
alias doesn't map to an invalid pin.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-09 16:33:46 -04:00
Kevin O'Connor c263f76f9f stm32: Fix typo in i2c.c
Reported by @kaidegit.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-07 10:13:34 -04:00
Kevin O'Connor 7e76bd561a klippy: Minor changes to message protocol error
Minor indentation and variable name changes.

Don't remove linebreaks from message_protocol_error lines.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-05-06 21:06:13 -04:00