3d-gussner
9f9bb12eeb
Merge pull request #4419 from gudnimg/reduce-stack-m600-opt
...
M600: reduce stack usage
2023-11-24 05:39:26 +01:00
3d-gussner
d9d42a0678
Use of PrinterState for Reprint menu
2023-11-23 06:47:04 +01:00
Juan Francisco Estrada
0b4af3b97f
Fix: Reprint menu does not appear during the heating
2023-11-22 12:20:13 +01:00
Juan Francisco Estrada
73436e9351
Fixed Reprint from USB and from SD, some debug is needed
2023-11-22 12:20:00 +01:00
Juan Francisco Estrada
7130504fcf
Apply the reprint_pr_changes_diff2.txt provided by @3d-gussner
2023-11-22 12:18:59 +01:00
Juan Francisco Estrada
ce135a0976
Added support for reprint and streamed GCODE
2023-11-22 12:14:08 +01:00
Juan Francisco Estrada
532a5b3e2f
- Serial message --> /// action:reprint done
...
- Yes/no question --> Need to fix the bug related with the filename print --> if (lcd_show_fullscreen_message_yes_no_and_wait_P(altfilename, false, LCD_LEFT_BUTTON_CHOICE)==LCD_LEFT_BUTTON_CHOICE)
2023-11-22 12:14:00 +01:00
Juan Francisco Estrada
004169034a
Remove some MYSERIAL calls
2023-11-22 12:13:24 +01:00
Juan Francisco Estrada
ae5fbce6e7
Remove MYSERIAL.println code (debug purpose) and old commented code
2023-11-22 12:13:16 +01:00
Juan Francisco Estrada
a52d5430aa
Change to enquecommandf_P and enquecommand_P
2023-11-22 12:13:01 +01:00
Juan Francisco Estrada
e8a2d4c7e1
Reprint function integrated on 3.13v
2023-11-22 12:11:39 +01:00
3d-gussner
02459edcb6
Rebase fix
...
Add documentation
Whitespace
2023-11-22 08:21:52 +01:00
3d-gussner
d394645b69
Whitespace
2023-11-22 07:59:18 +01:00
3d-gussner
af79ac0714
Add `SetPrinterState(PrinterState::Idle);` after `lcd_commands_type = LcdCommands::Idle;`
2023-11-22 07:58:17 +01:00
3d-gussner
d5d77ee243
Cleanup documentation
2023-11-22 07:58:17 +01:00
3d-gussner
880d2f28bd
LCD menu only sends `// action:ready` or `// action:not_ready` via serial
...
Host has to send back state with `M72 S1|0` to keep printer and host in sync
Changed LCD menu messages to `Set ready` and `Set not ready`
Updated translations
2023-11-22 07:58:17 +01:00
3d-gussner
516ae1b952
Update state
2023-11-22 07:58:17 +01:00
3d-gussner
d3b98f30a7
Show Set Ready LCD menu only when M79 timer is running.
2023-11-22 07:58:17 +01:00
3d-gussner
514607318e
Add printer_state.cpp/.h
2023-11-22 07:58:17 +01:00
3d-gussner
d276695ce7
Set Ready
2023-11-22 07:58:13 +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
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
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
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
gudnimg
cf0e0f3718
M600: use partial backup in RAM
...
To handle power panic in M600 we started saving
relevant data at the start of M600 gcode.
We are currently also saving the same data within
gcode_M600 which is saved on the stack. I propose
we just use the data already saved in SRAM to reduce
stack usage.
Change in memory:
Flash: -64 bytes
SRAM: 0 bytes
2023-11-17 19:25:56 +00: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