vintagepc
13f7ba81ff
Cleanup, share more M914/5/FORCE code
2023-02-25 15:49:15 -05:00
vintagepc
7214584723
Fixed conflict with force_z, added P flags
2023-02-25 15:24:59 -05:00
vintagepc
487c7d63e1
Partial
2023-02-25 15:02:26 -05:00
vintagepc
6dfbdd3735
Enable M914/5, Show in settings if overloaded
2023-02-25 14:49:40 -05:00
DRracer
93580ce471
Merge pull request #4051 from 3d-gussner/MK3_3130_B1
...
Bump up FW version and build number
2023-02-24 16:57:30 +01:00
3d-gussner
051054b0db
Bump up FW version and build number
2023-02-24 16:42:36 +01:00
3d-gussner
cdca628556
Merge pull request #4050 from DRracer/mmu-eeprom-reset
...
Introduce MMU EEPROM reset feature
2023-02-24 15:43:49 +01:00
D.R.racer
303a67cd6f
Introduce MMU EEPROM reset feature
...
This new feature requires MMU FW v 2.1.7 (which brings some more small changes)
2023-02-24 15:26:07 +01:00
3d-gussner
31bfbb4ed0
Merge pull request #4023 from DRracer/rename-eject-mmu
...
PFW-1497 Change Eject filament -> Eject from MMU
2023-02-23 10:48:35 +01:00
3d-gussner
afc866e756
Merge pull request #4010 from gudnimg/improve-backlight-control
...
backlight: always allow backlight to dim/wake
2023-02-21 10:00:03 +01:00
3d-gussner
e6c3130ef3
Update SK po file
...
Thanks to @ingbrzy see https://github.com/prusa3d/Prusa-Firmware/pull/4023#issuecomment-1436084153
2023-02-21 07:24:21 +01:00
3d-gussner
22b43c2f2b
Merge pull request #4043 from 3d-gussner/MK3_Fix_fil_loaded_timeout
...
MK3: Set `Is filament loaded? Yes|No` default to `No` without a timeout.
2023-02-21 07:18:54 +01:00
Guðni Már Gilbert
8a926fad10
backlight: set rotation flag when certain amount of pulses are detected
...
We don't want to trigger a backlight wakeup randomly, for example
due to background noise.
2023-02-20 18:26:43 +00:00
3d-gussner
792a39c416
Merge pull request #3754 from gudnimg/languages-gudni
...
Update language script to run on Windows
2023-02-20 19:10:50 +01:00
gudnimg
940f5b7214
Add executable permission for update-po.py and update-pot.py on Linux
2023-02-20 17:53:41 +00:00
3d-gussner
36c6b323c4
Set `Is filament loaded? Yes|No` default to `No` without a timeout.
2023-02-20 16:31:23 +01:00
3d-gussner
791b9b4d39
Merge pull request #4028 from DRracer/pr3322-updated
...
Merge duplicate strings in cmdqueue.cpp
2023-02-20 13:51:09 +01:00
D.R.racer
1283c2c216
Reformat to fit to 4 lines
2023-02-18 21:15:55 +01:00
Snakzi
82d9819af3
Fix grammatical errors
2023-02-18 21:15:55 +01:00
Guðni Már Gilbert
db878c9996
backlight: always allow backlight to dim/wake
...
This commit adds the ability for the firmware to dim and wake the
backlight when LCD updates are disabled. Such as in the MMU error screen
or when rendering full screen messages which typically
disable the LCD updates to prevent the status screen from rendering.
Fixes #2777
Change in memory:
Flash: -26 bytes
SRAM: +1 byte
2023-02-18 17:08:35 +00:00
D.R.racer
fe71fa77a6
Update NO translation
2023-02-18 17:40:09 +01:00
D.R.racer
6f066db443
Update HU translation
2023-02-18 17:39:30 +01:00
D.R.racer
5cd60636f9
Add missing translations + shorten to 16 chars
2023-02-18 17:39:30 +01:00
D.R.racer
ec1ae321b3
ES translation
2023-02-18 17:39:30 +01:00
D.R.racer
98e7c15928
Change Eject filament -> Eject from MMU
...
PFW-1497
2023-02-18 17:39:30 +01:00
Guðni Már Gilbert
05662a5c0a
optimsation: reduce code size in LCD rendering
...
Change in memory (MK3S+ Multilang):
Flash: -62 bytes
SRAM: -6 bytes
2023-02-18 16:32:08 +01:00
Guðni Már Gilbert
074057c110
Fix an issue where LCD freezes during loading test
...
It may be useful to view the Sensors menu
while the toolchange loading test is taking
place. For example to see if the reading is flickering
The firmware needs to call lcd_update(0) to update the screen rendering.
Change in memory:
Flash: -2 bytes
SRAM: 0 bytes
2023-02-18 13:16:40 +01:00
Guðni Már Gilbert
555e766296
optimisation: only update mm when i > 0
...
Change in memory:
Flash: -24 bytes
SRAM: 0 bytes
2023-02-18 12:39:44 +01:00
Guðni Már Gilbert
e41b6d106d
optimisation: use more string from PROGMEM
...
Change in memory:
Flash: -10 bytes
SRAM: 0 bytes
2023-02-18 12:39:44 +01:00
Guðni Már Gilbert
9f4a7adb9a
optimisation: extract common M861 code
...
Change in memory:
Flash: -128 bytes
SRAM: 0 bytes
2023-02-18 12:39:44 +01:00
D.R.racer
ee23d6c62a
Merge duplicate strings in cmdqueue.cpp
...
Original idea from @GilesBathgate, PR #3322 . This is just a rework on top of current MK3 branch.
2023-02-18 11:37:48 +01:00
Guðni Már Gilbert
526e02a041
Fix an issue with using --file argument
...
The following command did not work in the lang folder:
python .\update-po.py --file ./po/Firmware_cs.po
To resolve this we just extract the filename from
the path and use the constant PO_DIR to make
sure the path is always the same.
2023-02-18 10:30:18 +00:00
Guðni Már Gilbert
b6ef8ea32c
Add a backup of po files
2023-02-18 10:13:34 +00:00
gudnimg
280a904799
ubuntu: subprocess does not allow extended glob
...
It's my understanding that we cannot use extended globbing
on Linux because
of the way I am invoking the lang-extract
script. the python script is not run through bash/shell.
We would need to perhaps use Shell = True in check_call() but
then the all the input arguments needs to be one string.
This commit was tested on Ubuntu 22.04.1 LTS
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
327254d091
Expand glob in update-pot on Windows only
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
62c87a1fe5
Adjust module docstring
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
b14f3780d4
Add mutually exclusive arguments --file and --all
...
Only one of these arguments must be supplied, or argparse raises an error.
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
4a93288353
Update README
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
d90859e6a6
Add requirements.txt
2023-02-18 09:53:57 +00:00
Guðni Már Gilbert
7966633c1a
Allow languages to be updated from any directory
...
Now these commands will work:
python .\lang\update-po.py
python .\lang\update-pot.py
When current working directory is
.\Prusa-Firmware\
Previously, you'd need to call the
script within the lang folder.
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
53ced0cb21
languages: Add new script update-pot.py
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
65d7605623
languages: update lang-extract.py
...
Fix an issue where it does not run on Windows.
When the input argument is regex, we must first search for the files
using said regex pattern and then creating a list of files.
When opening the files, the encoding needs to be utf-8.
2023-02-18 09:53:56 +00:00
Guðni Már Gilbert
12123d6d52
languages: create new script update_po.py
...
The script should do the same work as when one run update_po.sh
The Python script can be run on Windows too.
2023-02-18 09:53:56 +00:00
3d-gussner
3381bf2f7e
Merge pull request #2201 from vintagepc/2091_2153_sheet_Mcode
...
Add M850 code for setting sheet label and offsets
2023-02-17 15:12:22 +01:00
Yuri D'Elia
1b3fa8bfe9
TM: Move headers to support the legacy build system
2023-02-17 15:01:59 +01:00
Yuri D'Elia
a8f219259a
TM: Split default model parameters into a separate header
...
Preparation to support multiple default model parameter sets
2023-02-17 15:01:59 +01:00
Yuri D'Elia
d1ff728e4f
TM: future-proofing for incompatible model upgrades
...
Introduce a model version. This is initialized at "1" and doesn't
require any upgrade/downgrade checks since it's currently
retro-compatible.
2023-02-17 15:01:59 +01:00
Yuri D'Elia
9bd03cedb9
TM: Fix UV identity
2023-02-17 15:01:59 +01:00
Yuri D'Elia
ddf5147f9f
TM: Optimize temp_model_set_lag
...
Save about 20 bytes by rewriting the sample count check
2023-02-17 15:01:59 +01:00
Yuri D'Elia
b676d395e3
TM: Handle L/TEMP_MODEL_LAG
2023-02-17 15:01:59 +01:00