5644 Commits

Author SHA1 Message Date
Kevin O'Connor
638c085ffa mkdocs-requirements: Update jinja dependency to 3.1.5
It appears there was a security vulnerability in Jinja v3.1.4 .  The
Klipper docs are not impacted by this vulnerability, but it's simple
enough to increment the version to avoid warnings.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 19:01:09 -05:00
Pedro Lamas
8a2de5f23e save_variables: Check lowercase variable names
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2025-02-02 18:52:02 -05:00
Kevin O'Connor
2c90c97ccd usb_canbus: Detect canbus stalls when in usb to canbus bridge mode
If the low-level canbus stops working then it could become impossible
to send messages to and from the canbus bridge node itself.  This can
make it difficult to diagnose canbus problems.

Change the canbus bridge code to detect if message transmits become
stalled for 50+ milliseconds and go into a "discarding" state.  In
this discarding state, messages destined for the canbus will be
discarded until the canbus becomes active again.  In this discarding
state it will therefore be possible to transmit messages to and from
the canbus bridge node.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
2db2ef82f2 canbus_stats: Periodically report canbus interface statistics
Add support for a new get_canbus_status command to canserial.c .

Add new canbus_stats.py module that will periodically query canbus
mcus for connection status information.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
eb0581c264 atsam: Add support for reporting canbus state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
61fb5fe29c atsamd: Add support for reporting canbus state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
9fd415d3f5 rp2040: Add support for reporting canbus state
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
b7366ae3fc stm32: Add support for reporting canbus state from fdcan.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Kevin O'Connor
6cdcf75e6b stm32: Add support for reporting canbus state from can.c
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-02-02 18:43:34 -05:00
Branden Cash
d57fe4395e
garbage_collection: freeze objects on klippy ready (#6794)
This significantly reduces the amount of data in the generation 2 garbage collection bucket from the initial startup of klipper.

Signed-off-by: Branden Cash <203336+ammmze@users.noreply.github.com>
2025-02-02 18:40:43 -05:00
John
0114d72a6c
config: Update generic-creality-v4.2.7.cfg (#6790)
Corrected Filament Runout Sensor Pin (as per schematic - see https://github.com/LeeOtts/Ender3v2-Klipper-Configs/blob/main/Creality.4.2.7.-.Schematic.28-5-22-1.pdf )

Signed-off-by: John Minor <theminor@duck.com>
2025-01-24 21:46:08 -05:00
Pedro Lamas
8c1037ef1b screws_tilt_adjust: initialize status result as a dictionary
Signed-off-by: Pedro Lamas <pedrolamas@gmail.com>
2025-01-24 19:13:36 -05:00
Konstantin Koch
ed796fcfaa
ads1x1x: added support for ADC chip (#6584)
Added a temperature sensor configuration for ADS1103, ADS1104, ADS1105, ADS1113, ADS1114 and ADS1115 chips that can be used to add Analog to Digital Conversion capability to machines that don't have that on their own. Like Raspberry Pi's or if more analog input pins are needed than the chip provides like for RP2040. Generally they can be used for any analog input, but the typical use case is for temperature measurement. This code also has been written with temperature measurement in mind and not as a general ADC.

Signed-off-by: Konstantin Koch <korsarnek@gmail.com>
Signed-off-by: Jack Wakefield <jackwakefield@protonmail.com>
2025-01-21 19:10:39 -05:00
Kevin O'Connor
6ab253366c force_move: Use strings for axes to clear in clear_homing_state()
Pass a string such as "xyz" to kin.clear_homing_state().  This makes
the parameter a little less cryptic.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-21 18:58:23 -05:00
Kevin O'Connor
4aa550837f toolhead: Pass set_position() homing_axes parameter as a string
Use strings such as "xyz" to specify which axes are to be considered
homing during a set_position() call.  This makes the parameter a
little less cryptic.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-21 18:58:23 -05:00
Kevin O'Connor
c72d73ec45 stepper_enable: Directly call clear_homing_state() on motor off event
Call clear_homing_state() on each motor off event.  This simplifies
the kinematic classes as they no longer need to register and handle
the motor_off event.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-21 18:58:23 -05:00
Kevin O'Connor
5fe333934d docs: Add a "Professional Services" link to Contacts page
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-21 18:54:33 -05:00
Kevin O'Connor
9a06d2b7e8 docs: Improve wording of main Klipper page
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-21 18:54:00 -05:00
zkk
bda6839686 修复设置舵机信号时长参数后,连续不停开关舵机 可能会造成出错的问题 2025-01-17 15:55:14 +08:00
zkk
440010b9cb 增加舵机信号持续时间变量,优化零位舵机信号不持续发送 2025-01-17 14:32:11 +08:00
zkk
a15d96ff28 优化外置驱动的支持 2025-01-17 14:14:30 +08:00
zkk
fe72447078 Merge branch 'develop' of https://server.creatbot.com/Gitea/CreatBot/CreatBotKlipper into develop 2025-01-17 11:05:04 +08:00
32fc128f99 修复F430NX停靠喷头与偏移值的计算逻辑 2025-01-17 10:42:44 +08:00
75da8e8e63 修复V0版机型T_fan逻辑问题 2025-01-17 09:10:15 +08:00
Kevin O'Connor
cf3b0475da tmc2240: Allow the slope_control field to be configured via printer.cfg
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-10 12:29:41 -05:00
Kevin O'Connor
aae29ba48b heaters: Disable heater if it appears main thread has stopped updating
Update the heating code to periodically check that the main thread is
operating properly.  This is a mitigation for some rare cases where
the main thread may lockup while the background heater updating code
continues to run.  The goal is to detect these rare failures and
disable future heater updates.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-10 12:22:49 -05:00
Kevin O'Connor
485c8f2ef0 lib: Update can2040 to v1.7.0
This provides improved support on rp2350 chips.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-10 12:20:13 -05:00
Dennis Marttinen
7083879700
force_move: Implement CLEAR for SET_KINEMATIC_POSITION (#6262)
`CLEAR` clears the homing status (resets the axis limits) without turning off
the motors. This is particularly useful when implementing safe Z homing in
`[homing_override]` on printers with multiple independent Z steppers (where
`FORCE_MOVE` can't be used).

Signed-off-by: Dennis Marttinen <twelho@welho.tech>
2025-01-10 10:41:09 -05:00
zkk
c7326be183 Merge branch 'develop' of https://server.creatbot.com/Gitea/CreatBot/CreatBotKlipper into develop 2025-01-10 13:38:31 +08:00
zkk
d0dcac4519 全系降低探测舵机的速度 2025-01-10 10:56:34 +08:00
Kevin O'Connor
9ca71d8608 github: Change to upload-artifact@v4
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
2025-01-09 20:43:54 -05:00
9da7304dc2 修复F430NX在DUAL模式下,耗材触发提示不准确的问题 2025-01-09 16:39:13 +08:00
ea3e219f50 1、修复F430NX断料自动切头时,喷头偏移值未应用的问题
2、修复喷头一停靠位置不对的问题
2025-01-09 10:09:21 +08:00
dda0962b98 修复F430NX回零后,切换喷头会报错的问题 2025-01-07 16:40:43 +08:00
95d20c9b63 1、修复F430NX触发耗材检测,喷头超时冷却,手动设置温度并装载耗材后,恢复打印时二头温度不恢复的问题。 2、修改等待温度恢复的提示内容 2025-01-07 16:33:54 +08:00
2c2d0c7be1 优化F430NX驱动散热风扇启停逻辑 2025-01-07 16:33:31 +08:00
3e5c530975 调整F30NX网床调平时探针提升的高度
规避offset过大时未移动床即触发的报错
2025-01-07 13:56:48 +08:00
Alexander Bazarov
8a3d2afd79
config: Config for Geeetech A-series printers: A10/M/T and A20/M/T (#6767)
Based on few configs found on the discourse forum, facebook groups.
In addition, using official schematics from:
https://www.geeetech.com/download.html
https://github.com/Geeetech3D/Diagram/files/8199212/GT2560V4.1BSCHA20T.pdf

Contains macros for filament mixing based on:
https://klipper.discourse.group/t/mixing-color-support/2246/12
https://klipper.discourse.group/t/mixing-hotend-m163-emulation/11423/2

Signed-off-by: Alexander Bazarov <oss@bazarov.dev>
2025-01-03 09:32:07 -05:00
c7cb4b97c2 全系添加_CANCEL_PRINT_BASE宏支持 2025-01-02 17:57:20 +08:00
ba4f343e94 F430NX:Y驱动细分由128->64 2024-12-31 17:25:28 +08:00
b2b98c057a F430NX状态灯功能 2024-12-31 10:56:18 +08:00
f3cdc1dd75 全系支持PRINT_START,PRINT_END宏 2024-12-31 10:55:48 +08:00
ecbde51331 F430NX二喷头静音阈值由200->300 2024-12-31 10:54:11 +08:00
40985b8d9a f430NX增加驱动器散热风扇控制 2024-12-31 10:53:55 +08:00
682e343d61 修复必须回零后才能取消打印的问题 2024-12-30 17:27:29 +08:00
e941884b8e 修复F430NX机型Y轴在零位时回零报错的问题 2024-12-30 16:29:08 +08:00
e2a9ff2bfe 优化F430NX复制、镜像模式,解决坐标超范围问题 2024-12-30 13:36:54 +08:00
4fe4b7f67d 调整F430NX喷头二X电流,由1->1.5 2024-12-30 13:32:25 +08:00
zkk
f8f7aabbe2 关闭F430NX热风校验功能 2024-12-27 17:15:17 +08:00
zkk
7f532dc101 删除旧的设置offset宏定义 2024-12-27 17:14:51 +08:00