3d-gussner
d276695ce7
Set Ready
2023-11-22 07:58:13 +01:00
3d-gussner
bbae8dd956
Merge pull request #4493 from gudnimg/print-job-timer-marlin
...
PFW-1206: Implement Marlin's print job timer and add M75-M78
2023-11-22 07:44:09 +01:00
Guðni Már Gilbert
134e892d8e
Fix build failure
...
Another isPrintPaused was added by rebase
2023-11-21 18:40:28 +00:00
gudnimg
60cb089e96
Show statistics menu for USB/Serial prints
...
Change in memory:
Flash: -8 bytes
SRAM: 0 bytes
2023-11-21 18:38:40 +00:00
gudnimg
331ceaf044
M77: Save statistics when timer is stopped
...
For remote hosts, when the timer is stopped, then also save the statistics.
Slightly refactored save_statistics function by removing the parameters.
The function parameters are always the same.
Change in memory:
Flash: -40 bytes
SRAM: 0 bytes
2023-11-21 18:38:40 +00:00
gudnimg
a2e6cda37e
Fix build failure
2023-11-21 18:38:40 +00:00
gudnimg
a6de11059f
PFW-1206 Add M75-M78
...
Change in memory:
Flash: +240 bytes
SRAM: 0 bytes
2023-11-21 18:38:40 +00:00
gudnimg
423f98ff6e
Implement Marlin's print job timer
...
I changed the code a bit so it would compile
in Prusa Firmware.
The paused duration is no longer included in the
print time statistics.
Change in memory:
Flash: -122 bytes
SRAM: 0 bytes
2023-11-21 18:38:40 +00:00
3d-gussner
c5a885dba3
Merge pull request #4507 from 3d-gussner/MK3_Fix_File_incomplete
...
Raise `END_FILE_SECTION`
2023-11-20 11:34:48 +01:00
3d-gussner
8b3373b9dc
Raise `END_FILE_SECTION` from 20000 to 30720 to prevent false positive `File incomplete. Continue Anyway?` messages.
2023-11-20 11:23:36 +01:00
3d-gussner
d3b4bfb685
Merge pull request #4399 from 3d-gussner/MK3_M125
...
Add M125
2023-11-20 09:46:01 +01:00
3d-gussner
96094dc548
Don't pause with `S`et values
...
Update documentation
2023-11-20 07:30:07 +01:00
Guðni Már Gilbert
0d60a82c56
Don't reset pause_position on every M125
...
Change in memory:
Flash: -76 bytes
SRAM: 0 bytes
2023-11-20 07:30:06 +01:00
Guðni Már Gilbert
4a4c015ad8
M125: make pause_position static
2023-11-20 07:30:06 +01:00
Guðni Már Gilbert
2e12133716
M125: Code size optimisation
...
Change in memory:
Flash: -66 bytes
SRAM: -12 bytes
2023-11-20 07:30:06 +01:00
3d-gussner
498d99b84b
Code size improvments
2023-11-20 07:30:06 +01:00
3d-gussner
4dc87acf20
Fix issues
...
Check printer limits
Fix crash when pausing / paused
2023-11-20 07:30:06 +01:00
3d-gussner
43692b416b
Fix float
...
Thanks to @gudnimg for pointing out
2023-11-20 07:30:06 +01:00
3d-gussner
af054923a7
Add M125
2023-11-20 07:30:06 +01:00
3d-gussner
9fd478c9c2
Merge pull request #4173 from gudnimg/disable-heaters-gudni
...
optimisation: use `disable_heater()` in more places
2023-11-20 07:01:05 +01:00
3d-gussner
b39b83ecbf
Merge pull request #4457 from 3d-gussner/MK3_PrinterName
...
PFW-1184:Basic Printer name in EEPROM
2023-11-20 06:59:38 +01:00
3d-gussner
53c419f52d
Basic Printer name in EEPROM
...
- Output with M115 works
- ToDo
- LCD screen
- M550 gcode
- Detect length of EEPROM CUSTOM_MENDLE_NAME
2023-11-18 10:14:07 +01:00
Guðni Már Gilbert
7e0df7f9d3
Merge pull request #4502 from gudnimg/gcode_reset_stepper_timeout
...
MMU: Remove gcode_reset_stepper_timeout
2023-11-17 09:27:49 +00:00
3d-gussner
f42d7e4ea0
Merge pull request #4495 from gudnimg/eeprom-table-cleanup
...
EEPROM: Formatting cleanup
2023-11-16 17:04:08 +01:00
Guðni Már Gilbert
e758b146be
MMU: Remove gcode_reset_stepper_timeout
...
This function was removed on the 32-bit side.
On the 8-bit the function was empty so it is safe
remove it.
2023-11-16 14:30:29 +00:00
Guðni Már Gilbert
4922bcd7b1
Merge pull request #4408 from gudnimg/PR2390
...
PFW-1097 M600: Fix filament change behavior when print is paused
2023-11-16 07:37:42 +00:00
Guðni Már Gilbert
400722ec67
Merge pull request #4461 from gudnimg/lcd-opt-message
...
optimisation: simplify two LCD messages
2023-11-16 07:37:09 +00:00
D.R.racer
38104063d4
M702: fix documentation link
2023-11-15 09:14:44 +01:00
3d-gussner
e74abb102a
Merge pull request #4494 from gudnimg/issue3122
...
Fix #3122
2023-11-12 17:42:10 +01:00
gudnimg
842d029f7e
Replace unused EEPROM entry names with placeholders
...
_EEPROM_FREE_NRx_ make it a bit more clear this entry is free.
2023-11-12 16:21:34 +00:00
Guðni Már Gilbert
1e6460c344
Merge pull request #4479 from gudnimg/PFW-1523-2
...
PFW-1523 Add the `S` parameter to `M79`
2023-11-12 16:19:31 +00:00
gudnimg
077aa0a2b8
Minor wording changes
2023-11-12 16:09:15 +00:00
gudnimg
1fc1998874
EEPROM: Formatting cleanup
...
Mark unused bytes consistently
Add "Power Panic" into the Feature column for relevant bytes
Change "MMU2/s" to "MMU"
2023-11-12 14:39:52 +00:00
gudnimg
ddbadf4874
Fix #3122
...
If the feedrate multiplier is changed while the print is paused
update the saved feedrate multiplier in RAM
2023-11-12 12:38:05 +00:00
Guðni Már Gilbert
53d7943a2c
Merge pull request #4474 from 3d-gussner/M709_v2
...
Add en- and disable MMU to M709
2023-11-12 09:35:43 +00:00
gudnimg
4e6b649865
PFW-1523 Only overwrite name if not SD printing
2023-11-11 16:56:14 +00:00
gudnimg
af465da9e2
Add a comment
2023-11-11 16:53:56 +00:00
gudnimg
45880c252b
Fix filament change behavior when print is paused
...
Reimplementing PR 2390
https://github.com/prusa3d/Prusa-Firmware/pull/2390
from @wavexx
2023-11-11 16:51:35 +00:00
3d-gussner
342d8e92ab
Update doxygen M709
2023-11-11 12:20:58 +01:00
3d-gussner
0016b77827
Updated MMU serial status message
...
- Shown during bootup
- Shown on LCD menue MMU [ON|OFF]
- Shown using `M709`
- Shown when `Disable`d with MMU ERROR FW UPDATE NEEDED
2023-11-11 12:18:34 +01:00
3d-gussner
e3392a763a
Update doxygen for M709
2023-11-11 12:18:34 +01:00
3d-gussner
b11c0024d1
Update requested changes
2023-11-11 12:18:34 +01:00
3d-gussner
69cb7add26
Add en- and disable MMU to M709
...
Add X42 to erase the MMU eeprom
2023-11-11 12:18:34 +01:00
3d-gussner
a76e1290e8
Merge pull request #4437 from gudnimg/filename-powerpanic
...
PFW-1294: Don't attempt to find SD file when recovering USB print
2023-11-11 12:03:41 +01:00
gudnimg
bcc7a16e1c
PFW-1523 Trim trailing whitespace in util.h
2023-11-07 07:27:26 +00:00
gudnimg
890bfab946
PFW-1523 Update M79 description
2023-11-07 07:27:21 +00:00
gudnimg
dc280b0d9e
power panic: support any valid DOS 8.3 extension
...
When a SD file is selected to print
save the DOS 8.3 extension into EEPROM.
After a power outage, the correct file extension is then
selected instead of always assuming it's ".gco"
This allows users to recover ".g" files.
Change in memory:
Flash: +104 bytes
SRAM: 0 bytes
2023-11-05 16:46:54 +00:00
gudnimg
4c52d92d16
power panic: read whole directory name block from EEPROM
...
There is no need to read one byte at a time. We can simply
read the whole block in one go. This saves some flash memory.
Change in memory:
Flash: -18 bytes
SRAM: 0 bytes
2023-11-05 16:46:54 +00:00
gudnimg
21d0130626
power panic: simplify recovering SD filename
...
We can just read the whole EEPROM block since short filenames
are always null terminated. strcat_P will then apply the file extension
at the correct position.
Change in memory:
Flash: -24 bytes
SRAM: 0 bytes
2023-11-05 16:46:54 +00:00
Guðni Már Gilbert
dec5e2c1b4
Refactor menu_action_sdfile
2023-11-05 16:46:54 +00:00