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
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
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
Guðni Már Gilbert
82cece95aa
power panic: read EEPROM_FILENAME until \0 is seen
...
Also removed debug logs
2023-11-05 16:46:14 +00:00
Guðni Már Gilbert
977792961c
power panic: only send M23 for SD prints
...
If the saved printing type was USB, then EEPROM_FILENAME
does not contain anything. The firmware should also
not be trying to open a file on a SD card which is maybe
not even mounted.
Change in memory:
Flash: +12 bytes
SRAM: 0 bytes
2023-11-05 16:46:13 +00:00
3d-gussner
fca93b00e9
Merge pull request #4471 from gudnimg/issue-4470
...
MMU: Set PAUSED_FOR_USER state on MMU error screen
2023-10-31 08:36:53 +01:00
3d-gussner
3ffe7bf406
Merge pull request #4460 from gudnimg/PFW-1523
...
PFW-1523 Add a new timer for Prusa Link
2023-10-30 11:23:46 +01:00
3d-gussner
6be5cb3732
Merge pull request #4472 from gudnimg/mmu-menu-regression
...
Fix regression in MMU enable menu
2023-10-30 08:59:15 +01:00
gudnimg
8fcfdf31c4
PFW-1523 Implement M79 timer for PrusaLink
...
The idea is to have the host ping the printer periodically with a M79 to
enable certain features/UI. Using the usb_timer is not a good solution
for this as it depends on seeing a 'G' character
The LCD code, or whatever code is implementing the new functionality
will need to include host.h and check whether M79_timer_get_status()
returns 0 (timer not running) or 1 (timer is running).
I created a new file for the code host.cpp which we can use to expand
host related functionality and not clutter Marlin_main.cpp further.
Change in memory:
Flash: +104 bytes
SRAM: +5 bytes
2023-10-29 16:33:45 +00:00
gudnimg
645b11e643
Fix regression in MMU enable menu
...
Fixes a regression introduced in https://github.com/prusa3d/Prusa-Firmware/pull/4454
2023-10-29 16:17:03 +00:00
gudnimg
287e340117
MMU: Set PAUSED_FOR_USER state on MMU error screen
...
Setting this state notifies PrusaLink/PrusaConnect
that the printer is waiting for user input (attention).
Change in memory:
Flash: +12 bytes
SRAM: 0 bytes
2023-10-28 19:31:32 +00:00
Guðni Már Gilbert
3b10c6130e
Merge pull request #4466 from gudnimg/eeprom-optimisations
...
Optimise EEPROM access in a few places by reading/writing larger blocks
2023-10-27 21:12:13 +00:00
Guðni Már Gilbert
3297429ca7
TM: Optimise EEPROM read and writes
2023-10-25 17:37:04 +00:00
Guðni Már Gilbert
e207945154
MBL: optimise EEPROM read/writes
2023-10-25 17:36:15 +00:00
Guðni Már Gilbert
e7f56118d1
Merge pull request #4454 from gudnimg/mmu-sync
...
MMU: Backport code changes from 32-bit firmware
2023-10-23 06:31:06 +00:00
Guðni Már Gilbert
82e0124cb4
mmu: remove isErrorScreenRunning()
...
No change in memory
2023-10-19 18:32:42 +00:00
Guðni Már Gilbert
d56f2bc57e
mmu: remove obsolete EEPROM comments
2023-10-19 18:32:42 +00:00
Guðni Már Gilbert
62b90fde28
mmu: remove ResetOnExit
...
No change in memory
2023-10-19 18:32:42 +00:00
Guðni Már Gilbert
7b9e707709
mmu: add ResetCommunicationTimeoutAttempts
...
Adding __attribute__((noinline)) saves 14 bytes of flash
Change in memory:
Flash: +34 bytes
SRAM: 0 bytes
2023-10-19 18:32:42 +00:00
Guðni Már Gilbert
ef33db9a71
mmu: add DisableMMUInSettings
...
power_on should not be modifying
EEPROM_MMU_ENABLED. The code is never
executed unless it's already been set.
Only disable EEPROM_MMU_ENABLED through Buttons::DisableMMU
Change in memory:
Flash: -18 bytes
SRAM: 0 bytes
2023-10-19 18:32:42 +00:00
Guðni Már Gilbert
cd3372dc92
mmu: formatting
2023-10-19 18:32:41 +00:00
Guðni Már Gilbert
12a3051c50
mmu: Add CheckErrorScreenUserInput
...
Due to differences in 8-bit FW I had to implement two new get functions
* GetCommandInProgress
* GetLastErrorCode
2023-10-19 18:32:41 +00:00
3d-gussner
7bc7e7a7e8
Merge pull request #4448 from sarusani/nl_typo
...
Fix typo in Firmware_nl.po
2023-10-19 17:10:19 +02:00
3d-gussner
abd8a43cfc
Merge pull request #4456 from leptun/update_diacritics
...
Update enabled diacritics
2023-10-19 17:08:53 +02:00
Alex Voinea
1528294450
Update enabled diacritics
2023-10-19 13:07:49 +02:00
3d-gussner
1f608dffcf
Merge pull request #4441 from 3d-gussner/MK3_French
...
PFW-1445: Update and shorten French
2023-10-19 09:04:20 +02:00
3d-gussner
5c416a1e47
Merge pull request #4452 from 3d-gussner/MK3_fix_cmake_3
...
PFW-1460 Part1: Fix PF-build.sh with new cmake
2023-10-19 09:03:32 +02:00
3d-gussner
cd8daa88a3
Few more changes
2023-10-18 19:27:45 +02:00
3d-gussner
1f1743d7ad
Not needed anymore thanks to @vintagepc
2023-10-18 18:02:56 +02:00
3d-gussner
af13d0746e
Updates by @ErwanAliasr1
2023-10-18 17:35:03 +02:00
3d-gussner
fe9a8cf8ac
Fix PF-build.sh with new cmake
...
Same as MK3_3.13.2 branch
2023-10-17 15:36:54 +02:00
3d-gussner
323f9aaf6c
Merge pull request #4440 from 3d-gussner/MK3_Spanish
...
Update Spanish diacritics
2023-10-17 15:15:36 +02:00
3d-gussner
a5dbf4926d
Few more changes
2023-10-17 10:29:56 +02:00
3d-gussner
0b999f1cc2
Thanks to @Ilovemyhous for the review
...
Changed all self test to selftest as this term is used in the help articles
2023-10-17 09:13:51 +02:00
3d-gussner
c681dada5d
Few more changes
2023-10-16 21:31:29 +02:00
3d-gussner
fa056ceb43
Merge pull request #4449 from gudnimg/PFW-1542-v3
...
PFW-1542 Don't allow starting SD print if there is a thermal or fan error
2023-10-16 15:37:31 +02:00
gudnimg
20a434dbac
PFW-1542 Reset status line message on EFCE_OK
...
If the error is really resolved, I'd prefer to see
"Prusa i3 MK3S OK" instead of "Err:HOTEND FAN ERROR"
2023-10-15 12:26:44 +00:00
gudnimg
466e562360
PFW-1542 Don't allow starting SD print if there is a fan error
...
Apply same conditions as on "Resume print" feature.
Starting a SD print should not be possible if there is an active hardware error
2023-10-15 12:17:36 +00:00
sarusani
baedd025d3
Fix typo
2023-10-14 23:00:56 +02:00
3d-gussner
6ef9e8d39c
More updates
2023-10-14 15:02:44 +02:00
3d-gussner
07b7842212
Updates by @misan
...
Some minor changes for better fit on LCD
2023-10-14 12:57:06 +02:00
3d-gussner
63b628d722
Merge pull request #4396 from 3d-gussner/MK3_PFW-1538_M420
...
PFW-1538: Add M420
2023-10-13 14:27:34 +02:00