Commit Graph

5146 Commits

Author SHA1 Message Date
Apulo 7290c14531
config: Update generic-th3d-ezboard-lite-v2.0.cfg (#5785)
Corrected the build instructions for the TH3D EZBoard V2 to include the command to convert Klipper.elf to a SREC bin format named firmware.bin. The SREC format is required for the bootloader installed on the board.

Signed-off-by: Anthony Dellett <anthony.dellett@gmail.com>
2022-10-06 11:16:13 -04:00
JamesH1978 5fad485b13
spi_flash: Add SKR2, SKR3 and Creality 4.2.2/7 to spi_flash (#5807)
As discussed with Arksine, he has created new working settings for the Creality 4.2.x boards as the original 4.2.7 entry did not work, plus addition of SKR2 and SKR3. Tested on 4.2.2 and SKR2 and SKR3EZ.

These are using the new skip_verify functionality that was recently merged due to them using SDIO

Also removed a double definition for `monster8` it was in main definitions and aliased.

Signed-off-by: James Hartley <james@hartleyns.com>
2022-10-05 15:05:58 -04:00
Stefan Dej b0ffb269d2
print_stats: add `SET_PRINT_STATS_INFO` G-Code for pass slicer variables to Klipper (#5726)
This adds a gcode command that can be used insight the slicer to pass the total layer count and current layer information.

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2022-10-05 15:02:28 -04:00
alchemyEngine a2482d4f95 z_thermal_adjust: get_temp hotfix
M105 expects get_temp method. Module crashes when gcode_id parameter
is set and M105 called. Add methods as hotfix.

Signed-off-by: Robert Pazdzior <robertp@norbital.com>
2022-09-30 11:19:01 -04:00
Kevin O'Connor 6288da13ac rp2040: Suppress spurious gcc v12 array bounds warning
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-29 11:03:22 -04:00
alchemyEngine 34870d3e2a
z_thermal_adjust: Add Z thermal adjuster module (#4157)
Use a frame-coupled temperature probe to compensate for thermal
expansion in real-time.

Signed-off by: Robert Pazdzior <robertp@norbital.com>
2022-09-25 12:39:14 -04:00
Kevin O'Connor 51da02b7f8 thermocouple: Only shutdown on multiple consecutive sensor errors
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:56:20 -04:00
Kevin O'Connor ec5719585e spi_temperature: Separate out fault handling from temperature calculation
Introduce a new handle_fault() method to handle processing of sensor
faults.  This simplifies the calc_temp() methods.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:56:18 -04:00
Kevin O'Connor 4e930294b8 thermocouple: Report fault information in fault field
Send the fault information explicitly in the query_thermocouple fault
field for max6675, max31855, and max31865.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-23 11:55:43 -04:00
Kevin O'Connor ddb59440a8 logextract: Improve detection of clock and tmc uart parameters
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-20 11:08:54 -04:00
Fisheiyy 7527e57e5a
config: Add Ender 3 S1 Plus (#5705)
Signed-off-by: Rob Casper <myallneedsemail@gmail.com>
2022-09-16 12:06:49 -04:00
Matt Baker d9c917b950 stm32l4: add stm32l412 support with adc,i2c,spi,usb
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-15 11:51:26 -04:00
Matt Baker 57b0eb5d43 stm32l4: copy libs from STM32CubeL4 v1.17.0
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-15 11:51:26 -04:00
Kevin O'Connor 8cdb2278d7 docs: Add an example corexy homing macro to TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-14 17:49:25 -04:00
Kevin O'Connor 79be427757 docs: Reword sensorless homing high sensitivity test in TMC_Drivers.md
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-14 17:13:48 -04:00
Fisheiyy ee5bdbadd1
config: Fix Ender 3 S1 Config (#5771)
Signed-off-by: Rob Casper <myallneedsemail@gmail.com>
2022-09-11 22:16:24 -04:00
JackyHe398 721c764746
Update printer-anycubic-vyper-2021.cfg (#5692)
* Update printer-anycubic-vyper-2021.cfg

better pause and end print, beeper support, mroe accurate value.

* Update printer-anycubic-vyper-2021.cfg

* Update printer-anycubic-vyper-2021.cfg

* Update printer-anycubic-vyper-2021.cfg

* Update printer-anycubic-vyper-2021.cfg

delete unnecessary gcode

* Update printer-anycubic-vyper-2021.cfg

remove unneccessary part.

* Update printer-anycubic-vyper-2021.cfg

* Update printer-anycubic-vyper-2021.cfg

according to https://www.klipper3d.org/Example_Configs.html point 7f
delete field values that are set to their default value

* Update printer-anycubic-vyper-2021.cfg

small change

* Update printer-anycubic-vyper-2021.cfg
2022-09-11 22:12:06 -04:00
Donna Whisnant a530bf2421 docs: Add SDIO programming and split verification details to SDCard_Updates
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
2022-09-11 21:57:28 -04:00
Donna Whisnant 773f9ac56c scripts: Support BigTreeTech Octopus boards in flash-sdcard.
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
2022-09-11 21:57:28 -04:00
Donna Whisnant a0457f79e4 scripts: Support SDIO in flash-sdcard using split verification step
Signed-off-by: Donna Whisnant <dewhisna@dewtronics.com>
2022-09-11 21:57:28 -04:00
Pedro Lamas f4440267e6 virtual_sdcard: read new lines as-is
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2022-09-11 21:43:43 -04:00
Matt Baker 30d25834c5 samd21: fix erroneous register bit reference.
Signed-off-by: Matt Baker <baker.matt.j@gmail.com>
2022-09-11 21:27:10 -04:00
Kevin O'Connor 989d0f8097 stm32: Fix i2c on stm32g0
Fix the gpio function.  Also, add buses found only on stm32g0.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-11 21:18:32 -04:00
Kevin O'Connor 97a5b39aab stm32: Add a gpio_valid() helper function
Add a function to validate that a gpio pin is valid on the chip.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 17:57:51 -04:00
Kevin O'Connor 84ec2813ab serial_irq: Support side channel for entering bootloader
Add a mechanism to request the bootloader when using serial input.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 14:27:25 -04:00
Kevin O'Connor ba38897a35 lpc176x: Move bootloader_request() from usbserial.c to main.c
Move bootloader_request() function so that it can be used when not
using USB.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 14:27:25 -04:00
Kevin O'Connor f6a166cb67 tmc: Improve error on missing stepper section
If a tmc driver can't find the stepper config section it reports a
"missing microsteps" error which can be confusing.  Provide a more
explicit error message.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 13:55:19 -04:00
Kevin O'Connor 35e2472bbc motan: Improve reading of initial step position data
Seed the initial position from the first read position, even if it is
some time into the capture.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2022-09-05 11:22:40 -04:00
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