Commit Graph

7589 Commits

Author SHA1 Message Date
3d-gussner 73181a649b
Merge pull request #4608 from leptun/xyzcal_use_stallguard_during_z_cal
Xyzcal use stallguard during z cal
2024-02-26 10:16:11 +01:00
Alex Voinea 997dd840a7
Fix MK2.5 build 2024-02-23 17:23:11 +01:00
Alex Voinea 59bb30291a
Properly check for Z crashes while lowering/raising Z for Z calibration 2024-02-23 17:01:38 +01:00
Alex Voinea 8d1c3531c9
Use stallguard during Z calibration after XYZ calibration 2024-02-23 12:57:32 +01:00
Alex Voinea a503730f04
Add tmc currents debug 2024-02-23 12:56:59 +01:00
3d-gussner 941d3ff8af
Merge pull request #4607 from 3d-gussner/MK3_3.13.3_4507
Raise `END_FILE_SECTION` from 20000 to 30720
2024-02-23 07:23:25 +01:00
3d-gussner 89442a47f7 Raise `END_FILE_SECTION` from 20000 to 30720 to prevent false positive `File incomplete. Continue Anyway?` messages. 2024-02-23 06:04:52 +01:00
3d-gussner be658f8bd4
Merge pull request #4606 from DRracer/mmu-302
Bump up MMU FW version to 3.0.2
2024-02-21 15:46:48 +01:00
D.R.racer 914be5c694 Bump up MMU FW version to 3.0.2
.
2024-02-21 15:24:13 +01:00
3d-gussner 5d37d5ba0c
Merge pull request #4599 from leptun/TMC_restore_currents_post_home
TMC Restore default XY currents after homing
2024-02-19 15:29:44 +01:00
Alex Voinea dd4b8f7352
Restore custom currents after homing end 2024-02-19 13:29:31 +01:00
Alex Voinea 40771fe7a4
Restore default XY currents after homing 2024-02-19 13:28:33 +01:00
3d-gussner 7aff0db645
Merge pull request #4459 from 3d-gussner/MK3_3132_Final_pre_release
Pre-release tasks for FW 3.13.2 final
2023-10-20 17:24:08 +02:00
3d-gussner 90ce87906e Pre-release tasks for FW 3.13.2 final
-[X] Bumped up build number to 7080 (pre build was 7078 + 1 commit + 1 merge)
-[X] Updated .pot and .po files code lines using `update-pot.py` and `update-po.py --all`
  -[X] Verifed pot and po files changes
2023-10-20 16:44:17 +02:00
3d-gussner 63680d69eb
Merge pull request #4450 from gudnimg/PFW-1542-v3-3_13_2
3.13.2 Cherry-pick PFW-1542 Don't allow starting SD print if there is a thermal or fan error
2023-10-16 15:37:38 +02:00
gudnimg 7169a098ff 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:33:57 +00:00
gudnimg e1eb952f9e 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:33:46 +00:00
3d-gussner bf80ea93f8 Fix issues new cmake and PF-build.sh 2023-10-12 09:37:18 +02:00
3d-gussner 53b8cea33d Update cmake from MK3 branch 2023-10-12 09:37:18 +02:00
3d-gussner 525055c0ce
Merge pull request #4423 from 3d-gussner/MK3_3132_PFW-1542-v2
PFW-1542 Handle fan error sooner when waiting for heating to complete
2023-10-03 10:17:04 +02:00
gudnimg 341654692d PFW-1542 Handle fan error sooner when waiting for heating to complete
While waiting for the nozzle to reach a certain temperature, a fan error
should disable the hotend heater. If printing, it will simply pause the print.

Previously the printer would wait for the nozzle to heat up before pausing the print
and turning off the hotend heater.

We rely on LcdCommands::LongPause and must return to the top level loop to process it.
Waiting in the while loop e.g. in M190 does not make sense.
2023-10-02 10:48:57 +02:00
3d-gussner 4a91c5018d
Merge pull request #4409 from gudnimg/PFW-1542-cherrypick
PFW-1542 Cherry-pick for 3.13.2
2023-09-25 09:59:40 +02:00
gudnimg c452c00930 Hide menus more consistently when the printer is busy
lcd_calibration_menu: Remove redundant if (!isPrintPaused). The menu
is never called unless this condition is true.

eeprom_switch_to_next_sheet: Don't show this menu if the printer
is busy doing work!

Do not allow these menus to run while a print is paused or
when we're recovering a print:

- Preload to MMU
- Load to Nozzle
- Unload filament
- Eject from MMU
- Cut filament
- Autoload filament
- Settings
- Calibration
2023-09-24 17:30:44 +00:00
gudnimg 3e7dd84102 Fix an issue where print can't be stopped under specific circumstances
There is a bug where if the printer is recovering a print, it run a
blocking loop to restore the extruder and bed temperatures.
But if a Fan error is triggered in this loop, then the user can't
abort the print via LCD.

If the fan error resolves on its own the 'Resume print' menu will
appear in a few seconds. But if not, then the user can't resume the print
(which is normal). But with the bug above the user can't abort the print either!

The problem is essentially isPrintPaused variable is cleared too early.
We should wait until the print is completely restored first.

Steps to reproduce:
1. Start a print
2. Pause the print
3. Wait for extruder temperature to fall at lest 180°C
4. Click 'Resume' print
5. While heating, stop the hotend fan and wait for a few seconds until an error is raised
6. Observe issue => 'Stop print' menu item is gone!

PFW-1542
2023-09-24 17:30:27 +00:00
3d-gussner 024178b0fd
Merge pull request #4371 from 3d-gussner/MK3_3132
Pre-release PR for FW3.13.2-RC1
2023-09-11 11:43:48 +02:00
3d-gussner 2fd51769b3 Update pot and po files
Bump up to FW 3.13.2-RC1 and build number +2 (+1 commit + 1 merge)
2023-09-05 15:26:33 +02:00
3d-gussner c180bc85ff
Merge pull request #4363 from 3d-gussner/MK3_Fix_Cal_menu_shown
Fix Calibration menu shown during resuming
2023-09-04 06:21:11 +02:00
3d-gussner 77a4b99f5e Fix Calibration menu shown during resuming 2023-09-01 16:18:57 +02:00
3d-gussner 4c53163068
Merge pull request #4357 from DRracer/z-stall-xyz-workaround
Force-move-Z after searching for XY calibration points
2023-08-31 08:21:43 +02:00
3d-gussner a28779b08f
Merge pull request #4355 from wavexx/lang_hardcode
lang: Do not hardcode python executable name
2023-08-31 08:19:14 +02:00
3d-gussner 4a4eacd8fd
Merge pull request #4356 from wavexx/lang_warning
lang/mmu: Translate MMU menu strings within caller
2023-08-31 08:18:58 +02:00
D.R.racer abdfe07f3f Force-move-Z after searching for XY calibration points
Bogus StallGuard readings may prevent the Z from moving at this spot which will result in other nasty behaviour.
2023-08-31 07:48:28 +02:00
Yuri D'Elia 2bfd56cd30 lang/mmu: Translate MMU menu strings within caller
This fixes the undefined _T(label) reference, at the expense of a few
extra bytes.

I would argue this is worth the cost for the ability to check
translation references for the future. The warning happens because
`lang-check` cannot check a reference which is not _directly_ a catalog
entry.

We could introduce a method to suppress this warning (either a new macro
or some ///IGNORE comment), but that would mean that the additional
translation check is completely bypassed, defeating the purpose.
2023-08-30 18:54:57 +02:00
Yuri D'Elia 105a6b9438 lang: Do not hardcode python executable name
Use sys.executable instead to ensure the executable used by "env" is
kept.
2023-08-30 18:51:25 +02:00
3d-gussner 9e09e5014c
Merge pull request #4347 from prusa3d/Adjust-stale-workflow
Update stale.yml
2023-08-25 15:11:30 +02:00
vintagepc 43b97275bc
Update stale.yml 2023-08-25 09:00:39 -04:00
3d-gussner d84e3a9cf3
Merge pull request #4343 from 3d-gussner/MK3_3131_Translations
Update Version and Translations for 3.13.1
2023-08-22 06:46:51 +02:00
3d-gussner 47775e158b Reuse messages 2023-08-21 19:00:22 +02:00
3d-gussner aefa02c1a4 Fix German 2023-08-21 17:59:16 +02:00
3d-gussner 0bbec5626c Update and fix translations 2023-08-21 16:28:36 +02:00
Guðni Már Gilbert 5bf9bf7507 optimisation: reduce code size in MMU filament menus
Change in memory:
Flash: -156 bytes
SRAM: 0 bytes
2023-08-21 07:29:43 +02:00
Guðni Már Gilbert 1881c5f086 Fix filament actions not cleared properly
We can't clear eFilamentAction in every case in mFilamentItem()

mFilamentItem() can trigger a call to M701 and M702 e.g. for Autoloading
and eFilamentAction must be cleared by the gcode to prevent
the user from triggering another Autoload (which will crashe the FW)

The same applies to submenus. Now the MMU submenus clear eFilamentAction
only when the action is done.

For MMU Unload Filament item, eFilamentAction is only cleared after
the unload_filament() call is done running. This fixes an issue where
the menu item can be selected again while the first unload is still
running.
2023-08-21 07:29:43 +02:00
sarusani c4c26050d3 Fix screen update after PFW-1531 2023-08-21 06:36:25 +02:00
sarusani 6c0f80e680 Add static_assert check for TEMP_HYSTERESIS 2023-08-21 06:35:32 +02:00
sarusani 0d097d5a62 Fix TEMP_HYSTERESIS calculation 2023-08-21 06:35:32 +02:00
Guðni Már Gilbert 7c7d6b1671 Fix issue with Tune item appearing on MMU FW UPDATE screen 2023-08-21 06:33:14 +02:00
Yuri D'Elia 2a71e681db cmake: Cache CUSTOM_COMPILE_OPTIONS
This allows persisting custom flags across builds, as intended.
2023-08-18 14:30:10 +02:00
D.R.racer 94eb4d8f0a Update NO translation 2023-08-18 14:27:39 +02:00
D.R.racer cfbe74b960 Update PL translation 2023-08-18 14:27:39 +02:00
D.R.racer d2ce4cfb88 Update HR, HU, RO, SK translations 2023-08-18 14:27:39 +02:00