Commit Graph

583 Commits

Author SHA1 Message Date
Stefan Kalscheuer
c2c950bbca simplify file name sanitization
The routine copies "fileNameLen" characters from the original filename
plus one additional character or a trailing blank. This additional char
is overwritten by a terminating null-byte afterwards anyway.

Remove the redundant check and simplify the loop.
2022-12-21 09:07:05 +01:00
Knutwurst
c03aa9d5a4 Fix Z home position not touching the buildplate (see #396) by removing the 2mm HOMING_BACKOFF_POST_MM on z. 2022-12-21 08:58:53 +01:00
Stefan Kalscheuer
3a19d9ef69 use longest_filename() for SD card files instead of longFilename
The long filename is not always filled, so files like "test.gco" may not
be shown in the file list. Use the built-in fallback to the longest name
available to overcome that issue and print the 8.3 name if no other is
available.
2022-12-20 09:03:22 +01:00
Stefan Kalscheuer
67c7ce7b79 Merge upstream changes from Marlin 2.1.2 2022-12-19 15:31:22 +01:00
KemalErtas
24d306ccb0 Update mesh_bed_leveling.h
Bedleveling should run on 4MAXP2 rectangular shape beds. It has no problem with square shape.
2022-12-01 13:13:12 +03:00
Knutwurst
ac7c272403 Update Version and release date 2022-09-13 09:27:36 +02:00
Stefan Kalscheuer
bd49cc3d48 config: use soft PWM for fans
The hardware PWM for fan control conflicts with the speaker setup. While
this has always been an issue, sanity checks now fail because of this.

We've used soft PWM in 1.4.0 and reverted back to hardware PWM in 1.4.1,
so we probably need some additional investigation and testing here.
2022-09-12 16:18:18 +02:00
Stefan Kalscheuer
db27202614 update leveling implementation and pin config for Chiron 2022-09-12 16:18:03 +02:00
Stefan Kalscheuer
6368552ced clean up HardwareSerial code
Remove unused variables, sanitize declarations and apply uncrust.
2022-09-12 16:18:02 +02:00
Stefan Kalscheuer
afee7b10c2 apply uncrust to anycubic_touchscreen 2022-09-03 09:26:38 +02:00
Stefan Kalscheuer
031c095019 remove explicit ABL inclusion from Anycubit Touchscreen code 2022-09-03 09:26:05 +02:00
Stefan Kalscheuer
bf2795c51e add some directives to support custom target pinout 2022-09-03 09:25:33 +02:00
Stefan Kalscheuer
986e416c7f Merge upstream changes from Marlin 2.1.1 2022-09-03 09:23:32 +02:00
Knutwurst
626283aadb Set Z_PROBE_LOW_POINT to -2 to fix #346 2022-07-29 08:59:58 +02:00
Knutwurst
41d069464e Update build version 2022-05-12 13:16:27 +02:00
Knutwurst
4f459362c2 Enable Software-Endstop for Z_MIN which was disabled for BLTouch in the past. 2022-05-12 13:05:22 +02:00
Stefan Kalscheuer
465f4cbf60 config: enable g-code M808 for repeat markers (#325) 2022-05-09 19:45:56 +02:00
Knutwurst
e3a2aeb4cf Revert pause response to reenable M600 pause for use with octorptint. 2022-03-27 12:39:07 +02:00
Knutwurst
4985c9abf5 Only enable babystepping and probe offset change when BLTouch is enabled. 2022-02-23 10:08:45 +01:00
Knutwurst
0eaa8f902f Combine M851 and Z babystepping 2022-02-23 10:03:44 +01:00
Knutwurst
7444f4bb45 Add reset to 4Max Pro routine 2022-02-21 13:06:24 +01:00
Knutwurst
0440770618 Bump version for next release 2022-02-18 10:32:20 +01:00
Knutwurst
c66f3559d7 Reenable Mesh after 4 point easy level. 2022-02-18 09:57:27 +01:00
Knutwurst
1183a5b51c Fix bug, where Mesh was always applied when using 4 point easy leveling. 2022-02-18 09:53:43 +01:00
Knutwurst
2bc946edab Fix StopPrint when used before the actual print starts. 2022-02-13 12:43:34 +01:00
Knutwurst
3afc5c0dc1 Automatically disable steppers after stopping the print. 2022-02-13 12:34:32 +01:00
Knutwurst
f03df0b280 Add MEGA_P feature toggle (just in case, the implementation is used by another printer) 2022-02-10 09:37:08 +01:00
Knutwurst
b035c464dd Implement MEGA PRO inbuilt 4 point leveling 2022-02-10 09:25:13 +01:00
Knutwurst
7071629534 Switch back to HardwarePWM to prevent ticking noise from power supply while heating the bed. 2022-02-09 10:37:35 +01:00
Knutwurst
fd35e6b0f8 Bump version and date to enable new release version. 2022-02-07 15:13:34 +01:00
Knutwurst
ff88387916 Remove 8+3 filename crap when usind longer files on Anycubic 0.0.2 Display. It's now cut off at 26 characters but still displayed. 2022-02-04 23:36:04 +01:00
Knutwurst
b217d9fe69 Fix lockup and freeze for DGUS variants when pressing STOP while printing from SD card. 2022-02-04 19:44:38 +01:00
Knutwurst
de61898c55 Add Patch Marker 2022-02-03 21:46:49 +01:00
Knutwurst
d95fcd7673 Some minor fixes. 2022-02-03 12:14:56 +01:00
Knutwurst
7852f925ce New PID values for new thermistor type. 2022-02-01 13:06:06 +01:00
Knutwurst
e32e753ebf Some M600 and Filament Runout Fixes. 2022-02-01 12:29:25 +01:00
Knutwurst
790e3ec512 Cleanup pause feature from any custom code, because it's not needed anymore. 2022-01-28 13:01:01 +01:00
Knutwurst
e5271d7b2f Optimize Extruder Feedrates and turn off fans at pause. 2022-01-27 16:08:45 +01:00
Knutwurst
69328f5246 Go back to A4988 timings on Mega Pro to (hopefully) fix whining noise. 2022-01-25 09:37:29 +01:00
Knutwurst
d19dbf0be5 Use software PWM for fans and heaters to minimize fan noise and support bigger fans. Also use pwm dithering to ensure the same fan speed resolution. 2022-01-24 21:14:35 +01:00
Knutwurst
425f89e924 New PID Values for new thermistor settings 2022-01-24 19:47:03 +01:00
Knutwurst
66eeb0d7ec Fix Mesh Leveling not homing at start. 2022-01-23 14:45:47 +01:00
Knutwurst
f56b9f58ab Increase nozzle park timeout to 1 minute and bump version for next release 2022-01-23 12:42:42 +01:00
Knutwurst
f85e2ebb22 Stop/Abort now works as expected and does not kill the printer. 2022-01-23 12:39:32 +01:00
Knutwurst
47adc716b2 Pause on Filament Runout also works now 2022-01-23 12:27:01 +01:00
Knutwurst
a2efdedde4 Pause/Reheat/Resume now works as expected. 2022-01-23 11:07:04 +01:00
Knutwurst
c8ffbe769b Fix Typo 2022-01-22 22:13:03 +01:00
Knutwurst
f041be8338 TFT Pause/Resume works again, but Filament runout does not park the nozzle. 2022-01-22 21:01:17 +01:00
Knutwurst
a09cf3034e Some Debug cleanup 2022-01-22 18:36:16 +01:00
Knutwurst
03c4a3de09 Fix 4MAX build 2022-01-22 16:19:55 +01:00