3d-gussner
14b4bf5fa5
Add CLOCK_INTERVAL_TIME and ShortTimer IntervalTimer
2021-02-11 07:47:44 +01:00
3d-gussner
b9a3fa2ddd
fix time at speed
2021-02-11 07:47:44 +01:00
3d-gussner
4998cfb70d
Fix printing time being shown without M73
gcode
...
Adjust estimated times only if speed is changed. Printing time has to stay printing time.
2021-02-11 07:47:43 +01:00
3d-gussner
d063ffb141
Add parameter D
to gcode M73
for silent/stealth mode
2021-02-11 07:47:43 +01:00
3d-gussner
91c767b0f2
Reduce code size
2021-02-11 07:47:43 +01:00
3d-gussner
ae48e7c3ce
indentation
2021-02-11 07:47:43 +01:00
3d-gussner
cb61436093
Add remaining time to change/pause/user interaction to LCD Info screen
...
- Add parameter `C` to gcode `M73`
- LCD Info screen switches to change time if last `M73` gcode contains `C` parameter
- Examples:
- `M73 P5 R120` will display on LCD ` SD 5% 02:00R ` if it is printing at 100% speed
- `M73 P5 R120 C60` will display on LCD ` SD 5% 01:00C ` if it is printing at 100% speed
Slicers can generate "Time to change/pause/user interaction" using `C<mins:0-65535>` parameter to "overwrite" the remaining print time.
To switch between time to change and remaining time just send in intervals `M73` with or without `C` parameter.
2021-02-11 07:47:43 +01:00
DRracer
7aa4595211
Merge branch 'MK3' into thumbnails2
2021-02-10 12:15:57 +01:00
DRracer
a47c971c75
Merge pull request #3010 from leptun/MK3_fix_M23
...
Fix M23
2021-02-09 15:06:51 +01:00
DRracer
5c3683b4ad
Merge pull request #3022 from 3d-gussner/PFW-1182
...
PFW-1182 Fix too long translations during Load/Unload Filament
2021-02-09 08:24:31 +01:00
D.R.racer
5f49d65546
Farmers' request - allow file sorting menu item
2021-02-08 15:43:08 +01:00
3d-gussner
aecbd7ab49
Fix c=aa
location in lang files
...
Fix too long translations in Spanish and Italian
2021-02-08 12:17:41 +01:00
3d-gussner
214695105c
Fix issue #2958
2021-02-08 11:33:46 +01:00
Voinea Dragos
77a5082b56
Fix presort_flag duplicate declaration
2021-02-06 17:25:17 +02:00
Voinea Dragos
52f7a71dce
More fixes that were extracted from #2405
2021-02-06 14:59:11 +02:00
Alex Voinea
2f4119a6d7
M552 - Printer IP address
2021-02-02 13:21:16 +02:00
D.R.racer
7279de7403
Separate reading G-code files and writing to a file
...
- extract common strings
- cleanup openFileWrite and openFileReadFilteredGcode formatting a bit
Alltogether - code size 400B down
2021-01-28 09:37:58 +01:00
D.R.racer
d275fe0e83
Extract gcode filter from SdBaseFile into SdFile + optimization
...
- Start saving instructions as the whole PR was >1KB long.
- It turned out the compiler was unable to understand the core skipping
cycle and an ASM version had to be used.
- Add seekSet aware of the G-code filter
2021-01-27 09:33:28 +01:00
D.R.racer
c3758d350e
Fast skipping of large comment blocks
...
This is an extension/optimization of PR #2956 .
It uses the cached 512B block buffer to avoid heavy-weight read() in SdBaseFile.
Even though this principle allowed the AVR to skip ~600KB of data within ~5 seconds,
the impact on code base is huge, especially into well proven and long-term stable
parts like reading a file from the SD card.
The sole purpose of this PR is to show/verify the possibility of the AVR CPU
in relation to adding thumbnails into MK3 G-codes.
Moreover, this PR shall not be merged unless the missing/commented features
are restored - especially file seeking and M84 search.
PFW-1175
2021-01-27 07:03:51 +01:00
D.R.racer
c28e5a9dbc
Farmer's request 2
...
Farmers request having the Change filament menu item always visible in
the main menu and located after the Live Adjust Z (which disappears
after the first few printed layers).
2021-01-26 12:19:41 +01:00
DRracer
bfe93d3959
Merge pull request #2951 from DRracer/pvb-08
...
Add PVB preheat and 0.8mm nozzle presets
2021-01-26 12:09:41 +01:00
3d-gussner
ba8386573a
Remove duplicate string Resume print
using MSG_RESUME_PRINT
2021-01-26 09:23:55 +01:00
3d-gussner
c6a01b3806
Remove duplicate string Reset
using MSG_RESET
2021-01-26 09:15:46 +01:00
3d-gussner
ab5aad636f
Remove duplicate string Mesh Bed Leveling
and Mesh bed leveling
using MSG_MESH_BED_LEVELING
...
Fixed few too long translations
2021-01-26 09:05:38 +01:00
3d-gussner
bce8501eea
Remove duplicate string Extruder
using MSG_Extruder
2021-01-26 08:31:21 +01:00
3d-gussner
530b9f50b8
Remove duplicate string Eject filament
using MSG_EJECT_FILAMENT
...
Fix few translations
2021-01-26 08:22:08 +01:00
3d-gussner
269fabc330
Remove duplicate string Cut filament
using MSG_CUT_FILAMENT
2021-01-26 07:15:46 +01:00
3d-gussner
797d8e74a3
Remove duplicate string Checking X axis
and Checking Y axis
using MSG_CHECKING_X
and MSG_CHECKING_Y
2021-01-26 07:10:57 +01:00
3d-gussner
2d1e1e4cee
Remove duplicate string Fans check
using MSG_FANS_CHECK
2021-01-25 20:13:12 +01:00
3d-gussner
d117a299f7
Remove duplicate string Fil. runouts
using MSG_FIL_RUNOUTS
2021-01-25 20:04:18 +01:00
3d-gussner
10bbd64b41
Remove duplicate string Crash
using MSG_CRASH
...
Better Italian translation, thanks to @wavexx
Fix Polish translation as it was too long for the menue and caused LCD issues.
2021-01-25 18:53:53 +01:00
3d-gussner
4878db7365
Remove duplicate string Last print failures
using MSG_LAST_PRINT_FAILURES
...
Fix too long translations in Spanish and Italian for this message
2021-01-25 18:38:35 +01:00
3d-gussner
99867c8fbd
Remove duplicate string Total failures
using MSG_TOTAL_FAILURES
2021-01-25 18:06:47 +01:00
3d-gussner
8f0a45e8a4
Remove duplicate string Steel sheets
and Total
using MSG_STEEL_SHEETS
and MSG_TOTAL
2021-01-25 17:58:51 +01:00
3d-gussner
7222cf05cf
Remove duplicate string MMU Fails
and MMU Load Fails
using MSG_MMU_FAILS
and MSG_MMU_LOAD_FAILS
2021-01-25 17:38:36 +01:00
3d-gussner
fbb3fad64b
Remove duplicate string Last print
using MSG_LAST_PRINT
2021-01-25 16:54:26 +01:00
3d-gussner
7891d12a32
Remove duplicate string Is filament loaded?
using MSG_FILAMENT_LOADED
2021-01-25 16:44:55 +01:00
3d-gussner
223f32deae
Remove duplicate string HW Setup" using
MSG_HW_SETUP`
2021-01-25 16:15:57 +01:00
3d-gussner
5c1da227fe
Merge branch 'codesize' of https://github.com/DRracer/Prusa-Firmware into DRracer_codesize
2021-01-25 16:00:46 +01:00
3d-gussner
377a59c624
Remove duplicate string Belt status
2021-01-25 15:53:31 +01:00
D.R.racer
d8917a304a
Reuse lcd_space() instead of in-place printing of spaces in a cycle
...
Saves another ~40B
2021-01-25 15:21:25 +01:00
D.R.racer
783e4bbaf9
Add lcd_putc_at (code down >150B), refactor lcd_selftest_screen_step
...
(RAM down 10B)
2021-01-25 14:58:57 +01:00
DRracer
3975415490
Merge branch 'MK3' into codesize
2021-01-25 12:43:30 +01:00
DRracer
58351fb27a
Merge pull request #2977 from DRracer/farm-patch1
...
Farmers' requests
2021-01-25 11:15:44 +01:00
D.R.racer
514321f2ce
Remove farm_no completely + reuse prusa_stat_farm_number() where
...
applicable
2021-01-25 11:09:28 +01:00
D.R.racer
c1ff6242b0
Avoid copying FW version number into RAM - use the PROGMEM string
2021-01-25 09:03:04 +01:00
Voinea Dragos
9fa9d6b063
Move farm strings to PROGMEM
2021-01-25 09:48:17 +02:00
D.R.racer
98a4da571d
Merge branch 'farm-patch1' of github.com:DRracer/Prusa-Firmware into farm-patch1
2021-01-25 08:39:20 +01:00
D.R.racer
9bfada94f0
Remove commented code
2021-01-25 08:38:44 +01:00
Voinea Dragos
31a6270f69
Abuse \n in lcd printing instead of constantly calling other functions
...
"other functions" being lcd_set_cursor and lcd_print(char). Saves 100B of flash
2021-01-22 20:12:11 +02:00