Commit Graph

664 Commits

Author SHA1 Message Date
Stefan Kalscheuer
d74a36128d Merge upstream changes from Marlin 2.1.2.4
* Fix broken STEPTEST (already included)
* Update SAMD51 build deps
* Remove dead video links
* Fix comma typo
* Optimize LPC176x pin toggle
* Misc. SPI cleanup
* Overridable SUICIDE_PIN for RAMPS_CREALITY
* Assume RAMPS_CREALITY is not CR2020
* "Boards Manager"
* Prefer friendly Power Off over Auto-unalive
* Adjust pulse_phase_isr code guards
* Mount media early for POWER_LOSS_RECOVERY
* Version 2.1.2.4
2024-06-23 18:03:17 +02:00
Knutwurst
1ef65dc26b Update Builddate 2024-06-05 18:39:17 +02:00
Stefan Kalscheuer
5eac0f6449 fix STEPTEST macro to restore homing with dual Z endstops
This macro builds a string starting with "HAS_" but "HAS_" was replaced
with "USE_" in Marlin 2.1.2.2. Backport the upstream patch should
restore correct endstop polling and fix the bad homing behavior.

Fixes: #523
2024-06-05 18:18:14 +02:00
Knutwurst
60b68f5228 Fix DGUS build by setting WAIT_MS_UNTIL_ACYCLIC_SEND globally 2024-06-03 22:41:56 +02:00
core.editor
a34fa2fae8 fix against too fast sending acycling display command
Anycubic 1.0 display ignores acyclic telegrams as J23 or J18 if they are sent too fast after last cyclic telegram.
This results for the user in sporadic not occuring mask "Lack of filament..." or no continue button at filament sensor or M600 G-Code command.
The last issue is catatrophic for the print job because interrupted at this point.
This commit fix the problem by integrating a minimum time delay which was seen at original anycubic i3 mega S fw.
2024-06-03 20:57:32 +02:00
core.editor
09e49ea1b3 cleanup alignments in huge switch case 2024-06-03 20:13:53 +02:00
core.editor
4efb65741f cleanup some braces 2024-06-03 20:09:59 +02:00
Stefan Kalscheuer
35b6573a54 Merge upstream changes from Marlin 2.1.2.3 2024-05-29 18:50:54 +02:00
Stefan Kalscheuer
cb39247a70 revert some unintentional config changes from 2.1.2.2 merge
Walked through the diff and noticed some config flags that have been
disabled unintentionally. Restore them.

Fixes: 752476dc8f
2024-04-29 17:07:56 +02:00
Jakob Hostnik
18a5ab5c31 fix: ignored z endstop when single z endstop is used 2024-04-16 21:05:16 +02:00
Knutwurst
19d8c18f04 Increase version for upcoming release 2024-03-22 08:48:01 +01:00
Oliver Köster
3134ced532 Merge branch 'master' into marlin-2.1.2.2 2024-03-22 08:45:37 +01:00
Knutwurst
defcde923f Bump Builddate. 2024-03-22 08:23:01 +01:00
Stefan Kalscheuer
752476dc8f Merge upstream changes from Marlin 2.1.2.2 2024-02-13 20:40:24 +01:00
Knutwurst
b92eda5b0d Revert to actions/upload-artifact@v3 to see if it fixes the upload-issue. 2024-01-12 10:03:19 +01:00
Stefan Kalscheuer
8b67bfe695 fix manual leveling from Mega P TFT
Conversion from enqueue_now_P() to injectCommands() causes issues when
executing multiple consecutive commands. Inject a single multi-line
string instead of 3 injections make the leveling feature work again.

Fixes: 524d6fbcdf
2024-01-11 19:57:11 +01:00
Stefan Kalscheuer
2f1941697d increase threshold for filament runout
Increase the threshold from 5 to 20 to reduce the chance of false
positive triggers.
2024-01-06 18:44:14 +01:00
Knutwurst
f9164e3a6e Set filament runout pins. 2023-10-14 13:43:10 +02:00
Knutwurst
ca34b2acc2 Cleanup old pin definitions to avoid confusion. 2023-10-14 09:44:56 +02:00
Knutwurst
e0a4e25ffa More relaxed thermal runaway parameters for all printers especially for the print bed to allow higher temperatures. 2023-09-28 18:33:58 +02:00
Knutwurst
97c3391cd9 Revert "Disable file sorting (for testing purpose only)"
This reverts commit af83c12790.
2023-07-17 11:06:38 +02:00
Knutwurst
ca66eeb43e Reset SoftEndstop behaviour 2023-07-17 11:06:20 +02:00
Knutwurst
af83c12790 Disable file sorting (for testing purpose only) 2023-07-15 11:55:27 +02:00
Knutwurst
98613781e9 Disable ALL setSoftEndstopState() methods to rule out any issued regarding the soft endstops 2023-07-15 11:54:48 +02:00
Knutwurst
f122af1903 Revert "Disable SoftEndstop handling while printing."
This reverts commit 76cb3aec92.
2023-07-15 11:49:37 +02:00
Knutwurst
76cb3aec92 Disable SoftEndstop handling while printing. 2023-07-08 11:38:28 +02:00
Knutwurst
93e90f37f8 Bump build date and version 2023-07-06 16:27:34 +02:00
Stefan Kalscheuer
f10f396cc1 partially revert static outputString in RenderCurrentFolder
The optimization only applies to targets with DGUS2_TFT set. On other
targets the fixed-size array may be of insufficient size.

However, remove the potentially problematic initialization with a single
nullpointer (empty string), as this will be overwritten in the very next
line anyway.

Fixes: a9c018f18c
2023-06-25 15:42:12 +02:00
Knutwurst
e169b0e627 Decrease heater check count to 60000. This fixes #475 2023-06-24 15:18:07 +02:00
Stefan Kalscheuer
33c91b345e remove unused PowerKill() 2023-06-24 14:09:27 +02:00
Stefan Kalscheuer
1822172d44 use boolean literals instead of implicit int conversion 2023-06-24 14:04:11 +02:00
Stefan Kalscheuer
0cedfaf9a6 remove unused declarations from anycubic_touchscreen.h 2023-06-24 14:03:21 +02:00
Stefan Kalscheuer
a9c018f18c use static initialization for output string in RenderCurrentFolder
The dynamic sized variable outputString may not be properly initialized.
Second issue, we fill the line for directories beyond fileNameLength, so
the initialization is not always sufficient.

We now initialize outputString statically with the maximum printable
size which should resolve both.

Also clean up some variable declarations.
2023-06-24 12:37:51 +02:00
Knutwurst
4d5ba3899b Remove duplicate softEndstop setting. It's already set by the print timer. 2023-06-24 11:38:08 +02:00
Knutwurst
339125801e Fix typos 2023-06-20 15:07:17 +02:00
Knutwurst
614e54657d Cleanup touchscreen code a little 2023-06-17 19:29:21 +02:00
Knutwurst
524d6fbcdf Refactor A22 move X/Y/Z or extrude function. 2023-06-15 17:29:50 +02:00
Knutwurst
b940864e18 Implement 'M73' to set print job progress, overrides Knutwurst's built-in estimate 2023-06-14 22:18:43 +02:00
Knutwurst
71b3968100 Revert default ESP speed to 500k. 2023-06-14 21:37:00 +02:00
Knutwurst
fb335408dc Activate assist level button on 4MAX. This is a trial and error commit. 2023-06-14 17:16:01 +02:00
Knutwurst
b24edb9de7 Add 4MAX Pro code for servo endstop angle adjustment. 2023-06-14 17:00:45 +02:00
Knutwurst
9bdf4d658e Disable ESP. 2023-06-14 16:19:37 +02:00
Knutwurst
9afe777c26 Cleanup code and use clang-formatter to improve readabilty. 2023-06-14 15:11:17 +02:00
Knutwurst
1e27c22bdd Bump build date and version 2023-06-14 11:41:25 +02:00
Knutwurst
b646757a1b Implement 4MAX Pro 2.0 assisted level feature. 2023-06-14 11:04:00 +02:00
Knutwurst
4df951c501 Substiture KNUTWURST_TFT_LEVELING flag with KNUTWURST_CHIRON. 2023-06-14 10:35:01 +02:00
Knutwurst
e0bb686818 Add support for SD extender. 2023-06-13 13:39:30 +02:00
Knutwurst
ff3c981420 Add TODO for SD Extender support. 2023-06-13 12:45:35 +02:00
Knutwurst
f06a7a1454 Update build date. 2023-06-13 12:27:19 +02:00
Knutwurst
201a693283 Make sorting much faster and prevent it from using too much RAM. 2023-06-13 12:07:17 +02:00