Commit Graph

4918 Commits

Author SHA1 Message Date
dalegaard 9f8f3cd77d
fan: add enable_pin option (#5732)
Signed-off-by: Lasse Dalegaard <dalegaard@gmail.com>
2022-09-03 12:23:55 -04:00
JamesH1978 6ba0242900
config: Fix uart_address on BTT SKR CR6 (#5741)
As found on discord bt user David Carey.

uart_address for y and z are swapped. Discovered while setting up sensorless homing.

Signed off by: James Hartley <james@hartleyns.com>
2022-09-03 12:19:50 -04:00
jake-b ae6c16422f
mcp4018: Add SET_DIGIPOT command to mcp4018 implementation (#5737)
Added a SET_DIGIPOT command to the mcp4018 implementation.
Previously the mcp4018 was read only, and set at the time of
configuration.  This allows you to change the value during a
print, which is needed for some older printers that need to
lower the stepper current during preheating.

Signed-off-by: Jake Bordens <jake@allaboutjake.com>
2022-09-02 10:30:06 -04:00
Tircown 354915d2ad
kinematics: Add deltesian printers (#5743)
Initial push of the working deltesian kinematics after some successful tests.

Signed-off-by: Fabrice GALLET <tircown@gmail.com>
2022-09-01 15:56:31 -04:00
Matt Baker ec4ecd7a70 stm32f0: implement i2c_read endpoint
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-01 15:03:06 -04:00
Dmitry Butyugin 5d9ff75d02 extruder_stepper: Support configuring pressure advance from config
Also added status report for extruder_stepper objects with the
current pressure advance parameters values.

Signed-off-by: Dmitry Butyugin <dmbutyugin@google.com>
2022-09-01 14:53:12 -04:00
Eric Callahan 2e1b649617 dump_mcu: helper for mcu flash backups
Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
2022-09-01 13:51:00 -04:00
Ben Jackson b220b8bfaf
stm32: Add Hardware PWM support for STM32G0 processors (#5714)
Uses existing common code for STM32. Adds a table for device-
specific PWM mappings. Adds support for enabling all TIM timer
devices. Makes it a runtime error to enable devices the code
doesn't know how to enable.

I have verified performance of the fan pins (PC6, PC7, PB15)
on the SKR Mini E3 V3.

Signed-off-by: Ben Jackson <ben@ben.com>
2022-09-01 13:30:11 -04:00
MapleLeafMakers 83ab6fbae5 save_variables: Do not write to console when variables are saved
Removes a call to gcmd.respond_info which writes 'VARIABLE SAVED' to the
console every time the SAVE_VARIABLE command is called.

Signed-off-by: Andre LeBlanc <mapleleafmakers@gmail.com>
2022-09-01 13:18:55 -04:00
Kevin O'Connor f7e29b276e docs: Update koconnor donation links
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-08-24 21:02:43 -04:00
chestwood96 db507f89b9
scripts: Update install-debian.sh (#5704)
Add pkg-config reference because hid-flash needs it to build.

Signed-off-by: Adrian Joachim <adi.joachim12@gmail.com>
2022-08-24 13:30:33 -04:00
BIGTREETECH a8883d83e3
stm32: add FDCAN support for STM32H743 (SKR-3 Series) (#5668)
Signed-off-by: Chen.BJ from BigTreeTech <chenbj@biqu3d.com>
2022-08-23 17:53:35 -04:00
adelyser 9e4994cbdb
stm32: Fix the STM32H743 mcu temp on SKR 3 (#5711)
Signed-off-by: Aaron DeLyser <bluwolf@gmail.com>
2022-08-19 14:42:20 -04:00
chestwood96 724b007c50
rp2040: Enabled hw pullups for the I2C pins (#5710)
Signed-off-by: Adrian Joachim <adi.joachim12@gmail.com>
2022-08-19 14:39:30 -04:00
Clifford Roche ce27d35924 palette2: Fix UART encoding
Raised from issue #5645, UTF-8 encoded symbols or other unexpected symbols on the UART raise an exception which causes klipper to stop. This change support UTF-8 encoded characters (from file names) as well as ignoring unexpected bytes.

Signed-off-by: Clifford Roche <clifford.roche@gmail.com>
2022-08-19 14:12:51 -04:00
Rui Carmo b1dcd35b7a
config: Add BQ Hephestos printer (#5676)
This is a working config with full LCD and stepper settings (only thing missing is the kill switch, which did not appear to work)

Signed-off-by: Rui Carmo <rui.carmo@gmail.com>
2022-08-19 13:57:18 -04:00
Nitram 6a91824486
delta: Added the possibility to get where the "cone shape" of the build volume starts from Macros (#5662)
Added the possibility to get where the "cone shape" of the build volume starts from Macros

Signed-off-by: Martin Malmqvist <Volcomosq@gmx.com>
2022-08-19 13:27:44 -04:00
int_0x03 20a28bc00f
config: Anycubic 4 Max Pro 2.0 - Added two internal systems (beeper and PSU control). (#5629)
Signed-off-by: Usachev Alexander Valer'evich <int_0x21@protonmail.com>
2022-08-19 13:11:42 -04:00
Kevin O'Connor 2357221bb4 atsamd: Use CONFIG_USB instead of CONFIG_USBSERIAL during clock init
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-08-16 21:21:45 -04:00
Kevin O'Connor 6aec6efcc9 stm32: Use new CONFIG_USB to determine if USB needs to be configured
Introduce a CONFIG_USB build symbol that is set whenever
CONFIG_USBSERIAL or CONFIG_USBCANBUS is set.  Use that symbol during
setup so that the USB controller is properly initialized for both usb
serial and usb canbus bridge configurations.

This fixes the clock configuration for usb canbus bridge mode on
stm32f446.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-08-16 21:21:45 -04:00
Kevin O'Connor a709ba43af Revert "config: Create printer-bq-hephestos-2014.cfg (#5607)"
This reverts commit 18119858c6.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 14:52:22 -04:00
Rui Carmo 18119858c6
config: Create printer-bq-hephestos-2014.cfg (#5607)
This is a working config with full LCD and stepper settings (only thing missing is the kill switch, which did not appear to work)

Signed-off-by: Rui Carmo <rui.carmo@gmail.com>
2022-07-29 14:48:58 -04:00
Kevin O'Connor 49d83bd3e2 console: Add support for DUMP and FILEDUMP commands
Add helper functions to dump memory via debug_read commands.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 13:30:39 -04:00
Kevin O'Connor b026f1d2c9 canserial: Fix typo in canserial.h
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor dc012f8659 docs: Recommend allow-hotplug in CANBUS.md when using USB to canbus bridge
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 2005d4dbf4 docs: Updates to CANBUS_protocol.md
Update the document with latest details.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 9e3feab0b4 stm32: Remove stm32f4 canbus warning
The canbus code has been successfully tested on stm32f4.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 751bff7d38 mcu: Delay reset signaling for usb to canbus bridge nodes
An mcu device acting as an "mcu bridge" should only be reset after
other normal devices are reset - otherwise the bridge wont be able to
pass along the reset message to the downstream mcus.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 2d74b3d358 canserial: Request bootloader via bootloader_request()
Use bootloader_request() instead of try_request_canboot().  This
allows the bootloader machanism to work for more bootloaders.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 18ff84aa04 usb_cdc: Rename usb_request_bootloader() to bootloader_request()
Rename this board API function to a more generic name.  This is in
preparation for calling the function from the canbus code.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 48b60a8021 graphstats: Normalize mcu frequency to microseconds when graphing multiple mcus
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor db6346e7e5 serialqueue: Improve canbus timing
Adjust timing based on the minimum transmission time of canbus
messages.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Kevin O'Connor 2293e1506f canbus_ids: Use 4 as the first nodeid to reduce id bitstuffing
Starting with nodeid 4 instead of nodeid 0 can reduce bitstuffing of
the id field in common configurations.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-29 11:40:54 -04:00
Pedro Lamas b725d971db bed_screws: report status
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-07-28 20:43:19 -04:00
Pedro Lamas c29e190696 docs: fixes typo on heater_bed
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-07-28 20:37:34 -04:00
Kevin O'Connor 3796a31959 stm32: Add CCRDY check to stm32g0 adc
The stm32g0 specification states that it is required to wait for the
CCRDY flag to be raised after changing the channel configuration.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-25 10:21:29 -04:00
Kevin O'Connor 3387a9c23d config: Use printer-creality-ender3-s1-2021.cfg for both s1 and s1 pro.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-24 08:49:25 -04:00
Pedro Lamas 282d1113e4 manual_probe: report status
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-07-21 22:03:31 -04:00
Kevin O'Connor 407be177d5 config: Fix wording of serial port selection on recent creality configs
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-21 21:56:46 -04:00
S1NH 0c74b3d8bf
config: Integrate configuration file for Creality Sermoon V1. (#5621)
Configuration for the stock Creality Sermoon V1.

Signed-off-by: Du Chengyao <hbyls@live.com>
2022-07-21 21:45:05 -04:00
s6t a151aa8c7a
spi_flash: Add board definition for Mellow FLY Gemini V2 (#5651)
Signed-off-by: Tobias Schröder <schroedt@live.de>
2022-07-20 21:57:08 -04:00
Kevin O'Connor e9c83d66e0 config: Fix screw typo in printer-creality-cr10-v3-2020.cfg
Reported by @TonyRouse.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-19 13:46:50 -04:00
JamesH1978 dd03cca49b
config: Change of alias for heater_fan in multiple configs (#5632)
This PR serves to fix a longstanding misnomer in some config files. Many configs state a nozzle_cooling_fan alias for what is usually a "hotend cooling fan". This causes ambiguity and confusion with the parts fan. I have identified all 24 files with this and changed them here.

Signed-off-by: James Hartley <james@hartleyns.com>
2022-07-19 13:02:51 -04:00
Pedro Lamas 6be114d728 docs: fix rawparams example by truncating comments
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-07-19 12:48:16 -04:00
Kevin O'Connor 50b4d4c43c config: Note 25Mhz clock in generic-bigtreetech-skr-3.cfg
Reported by @kingtricky and confirmed by @bigtreetech.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-19 12:44:18 -04:00
Kevin O'Connor d91939c4bf docs: Add BIGTREETECH to Sponsors.md file
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-16 23:17:30 -04:00
Kevin O'Connor 75c4b1238e lib: Update to latest can2040 code
Simplify tx state tracking.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-16 21:08:58 -04:00
Kevin O'Connor 2f9fe49cb8 docs: Add a Sponsors.md file
Add a documentation page with information on how to support Klipper.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-16 10:48:10 -04:00
Kevin O'Connor 8a038c6941 workflows: Fix spurious path in klipper3d-deploy.yaml
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-16 10:45:26 -04:00
Kevin O'Connor 06022b305f mkdocs-requirements: Force markdown==3.3.7
A new release of markdown (v3.4.1) breaks the website deployment
scripts.  Force the existing version.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-07-16 10:43:53 -04:00