Guðni Már Gilbert
a8d16d2949
Use memset to zero previous_speed array
...
Saves 150 bytes of flash memory
2022-01-30 11:39:23 +00:00
Alex Voinea
cdd7ea30f4
Fix LUT loop
2022-01-30 11:39:23 +00:00
Alex Voinea
fb10b4398e
Merge pull request #6 from gudnimg/gudni-PR1
...
Purged some `int`s for `uint8_t` when using the axis enum
2022-01-30 11:30:25 +00:00
Guðni Már Gilbert
f81db56793
temp_runaway_check() parameter _heater_id should be uint8_t
...
Saves 58 bytes of flash
2022-01-30 11:22:45 +00:00
Guðni Már Gilbert
261f311825
Change two arrays from int to uint8_t
...
__preheat_counter has max value of 16
__preheat_errors has max value of 5
Saves 58 bytes of flash memory and 4 bytes of SRAM
2022-01-30 11:22:45 +00:00
Guðni Már Gilbert
7535fa3a44
Remove unused variable
...
Saves 2 bytes of SRAM
2022-01-30 11:22:45 +00:00
Voinea Dragos
623762bd50
Fix build
2022-01-30 11:22:44 +00:00
Voinea Dragos
42a5f7dc20
Fix M226
2022-01-30 11:22:44 +00:00
Voinea Dragos
4aae88afdf
M42 optimization
2022-01-30 11:22:44 +00:00
Voinea Dragos
a5cd99a917
Disable unimplemented PID_ADD_EXTRUSION_RATE
2022-01-30 11:22:44 +00:00
Voinea Dragos
9951e3da52
Sound enums as uint8_t
2022-01-30 11:22:44 +00:00
Voinea Dragos
6dd59985ee
Disable PRUSA M28
2022-01-30 11:22:44 +00:00
Voinea Dragos
f22b9260ae
Fix build
2022-01-30 11:22:44 +00:00
Voinea Dragos
9abae2fd97
Remove maxlimit_status
2022-01-30 11:22:43 +00:00
Voinea Dragos
9684806e00
Change arduino IO to fastio where possible
2022-01-30 11:22:43 +00:00
Voinea Dragos
42c393764f
Adjust temperature runaway extruder count
2022-01-30 11:22:43 +00:00
Voinea Dragos
78362419da
nIRsensorLastTime
2022-01-30 11:22:43 +00:00
Voinea Dragos
a5f1f23fe2
TimeNow && TimeSent
2022-01-30 11:22:43 +00:00
Voinea Dragos
f64c6c2a39
Remove unused Stepper.cpp variables
2022-01-30 11:22:43 +00:00
Voinea Dragos
9d1e54e685
Tmc2130 use ShortTimer instead of custom timer implementation
2022-01-30 11:22:43 +00:00
Voinea Dragos
d8a14842c5
Remove unused `skip_debug_msg` flag
2022-01-30 11:22:43 +00:00
Alex Voinea
4d348fa953
Initial Romanian translation
2022-01-17 16:21:59 +01:00
Alex Voinea
c09b732522
Reserve xflash space for the mmu update files
2022-01-17 12:03:12 +01:00
Alex Voinea
b72c027924
XFLASH layout explained
2022-01-17 11:46:14 +01:00
Alex Voinea
93b1a6b736
"Unload filament" c adjustment
2022-01-16 11:19:24 +01:00
Alex Voinea
1d491e772b
Expand maximum language count ( #3345 )
...
* Expand maximum language count
2022-01-13 16:01:36 +02:00
3d-gussner
1544a79b4e
Add Lithuanian
2022-01-03 15:00:45 +01:00
3d-gussner
54d7e9331b
Add Croatian
2022-01-03 11:25:15 +01:00
3d-gussner
75dc5bd410
Add Luxembourgish
2022-01-03 11:25:15 +01:00
3d-gussner
8911161f6b
Add Hungarian
...
Fix typo
2022-01-03 11:25:15 +01:00
3d-gussner
7083529990
Add Slovanian
2022-01-03 11:25:15 +01:00
3d-gussner
f8a0d3ad7b
Add Danish
2022-01-03 11:25:15 +01:00
3d-gussner
5bce397fab
Add Swedish
2022-01-03 11:25:15 +01:00
3d-gussner
e02dd42765
Prepare for lot of community languages
...
The firmware is limited to how many languages can be stored in the xflash.
We will need to compile multiple language groups
2022-01-03 11:25:15 +01:00
Guðni Már Gilbert
63c6373f8d
Remove TEMP_STAT_LEDS from firmware
...
This isn't used by MK3 printers.
It seems to be leftover code from Marlin
2021-12-25 09:41:50 +00:00
DRracer
0be90dc5d1
Merge pull request #3320 from prusa3d/MK3_3.10.1
...
Merge MK3_3.10.1 into MK3 after release
2021-12-17 14:02:13 +01:00
D.R.racer
caca7bb9b8
Version changed (3.10.1 build 4697)
2021-12-16 12:14:02 +01:00
3d-gussner
1c1e69e555
Update FW crash message
2021-12-16 11:23:44 +01:00
3d-gussner
785d94ab3a
Add links to RepRap Gcode wiki for new Dcodes D20-D23
2021-12-16 09:32:38 +01:00
Yuri D'Elia
3849f9785a
Make cancel_heatup also abort cooldown in M190
...
This matches the expected behavior, as already implemented in
wait_for_heater().
2021-12-10 01:51:43 +01:00
Yuri D'Elia
320835a1b7
Do not cancel wait-for-temperature loops in disable_heaters()
...
Partially revert previous change: cancelling a single loop would often
advance the gcode stream to the next wait-for loop if executed at the
beginning of an SD print, implicitly turning off the flag again.
Cancel the loop directly in UnconditionalStop() which stops the command
queue as well in an atomic way, handling this correctly.
2021-12-10 01:46:20 +01:00
Yuri D'Elia
32d8d892f5
Actually call UnconditionalStop() in Stop()->lcd_print_stop()
...
Remove incorrect check introduced during development.
2021-12-10 01:43:59 +01:00
Yuri D'Elia
83693bf4cc
Remove useless assignment in lcd_cooldown
...
The current filament action will be aborted by lcd_return_to_status()
2021-12-07 19:27:18 +01:00
Yuri D'Elia
78f856c8d6
Do not unconditionally overwrite the status message in check_file()
...
No function should touch the status message directly without checking
the message severity level first. Replace the strcpy_P with
lcd_setstatuspgm().
2021-12-07 19:27:18 +01:00
Yuri D'Elia
7ff117d0c4
temp_runaway_stop: remove spourious space in error message
2021-12-07 19:27:18 +01:00
Yuri D'Elia
36a7b5ca56
Avoid redundant checks in lcd_setalertstatus*
2021-12-07 19:27:18 +01:00
Yuri D'Elia
a3915b57b9
Improve temp_runaway_stop robustness
...
Remove most of the duplicated code inside temp_runaway_stop(),
making it identical to the other temperature handlers.
Move the lower-level functions required to stop the entirety of the
machine into UnconditionalStop(). Reuse this function inside
lcd_print_stop().
Set the LCD alert message before calling Stop(), as done in other safety
handlers, so that the error is visible while the printer is stopping.
This also avoids other temporary status messages to appear before
the real issue is shown and/or STEALING the first CRITICAL alert
level before we do.
2021-12-07 19:25:34 +01:00
Yuri D'Elia
57abffda1b
Update temperature-related error message to use LCD_STATUS_CRITICAL
2021-12-07 11:09:58 +01:00
Yuri D'Elia
fb025bba05
Introduce severity levels for alert messages
...
Use the internal lcd_status_message_level for multiple severity levels
of alert messages.
This is needed to distinguish between non-critical alerts (such as FAN
ERROR) from critical ones (any heater issue). During a failure
scenario, a critical error MUST NOT be overridden by a lower-level one.
As such LCD_STATUS_CRITICAL is currently used for all heater-related
errors that result in a safety full-stop.
2021-12-07 11:06:08 +01:00
DRracer
a7dfe4b523
Merge pull request #3305 from gudnimg/sd-card-lcdtimer-fix-gudni-v2
...
Fix issue when the SD card is inserted and the file menu may sometimes close immediately due to a timeout
2021-11-19 07:23:21 +01:00
Guðni Már Gilbert
be79e3791f
Fixes #3262
...
Make sure to call lcd_timeoutToStatus.start() when the SD card is inserted
into the printer after it was removed beforehand.
(cherry picked from commit 6795843f15 )
2021-11-18 19:23:21 +00:00
Guðni Már Gilbert
13732f162b
Fix build error when TMC2130_SERVICE_CODES_M910_M918 is enabled
...
(cherry picked from commit 6ed4b79cc6 )
2021-11-18 19:19:56 +00:00
Guðni Már Gilbert
6887f844d3
Merge branch 'prusa3d:MK3' into fix-pinda-thermistor-build-fail
2021-11-18 19:15:15 +00:00
Panayiotis-git
f8410d8f3c
Print temperatures only if filament loading is still active
2021-11-18 11:46:36 +02:00
Guðni Már Gilbert
05e0c1e1d3
Fix build error if PINDA_THERMISTOR is not defined
...
temp_cal_active variable is not defined in this scope
2021-10-12 21:52:19 +00:00
EV3R4
eff9cd9f21
Typo: M84 docs
2021-09-27 19:34:53 +02:00
Guðni Már Gilbert
cf8a16baa1
Remove one call to lcd_timeoutToStatus.start
...
Saves 8 bytes of Flash memory
This call is redundant and when moving between menus
it gets called multiple times which results in waste
of clock cycles.
lcd_timeoutToStatus.start() is called from menu_lcd_lcdupdate_func()
which is enough.
2021-08-21 14:34:02 +00:00
Guðni Már Gilbert
e6a7abf2c1
Change temp_runaway_timer from float to uint32_t
...
Saves 32 bytes of flash
Also change temp_runaway_error_counter from int to
uint16_t to be specific
2021-08-06 15:08:46 +00:00
Guðni Már Gilbert
db1e5a203b
Change temp_runaway_status from float to uint8_t and its enum
...
Saves 90 bytes of flash, and 12 bytes of SRAM
2021-08-06 15:03:35 +00:00
Guðni Már Gilbert
b716c208d7
Various optimisation to change int to uint8_t
...
This commit saves 174 bytes of flash memory
2021-08-03 22:42:01 +00:00
Guðni Már Gilbert
8d7d1698ee
Remove unused global variable 'chunkHead'
...
No change in memory on my end, but it is one less 'int' :)
2021-08-03 21:48:26 +00:00
Guðni Már Gilbert
1946c58d21
1. Remove redundant variable 'inters'
...
2. 'gh' variable can be 1 byte instead of 2
This saves 26 bytes of flash memory
2021-08-03 21:46:11 +00:00
Guðni Már Gilbert
05ed5b9668
Improve lcd_selftest_screen_step() parameter types
...
Saves 62 bytes of flash memory
2021-08-03 21:35:28 +00:00
Guðni Már Gilbert
a54a133968
Use memset instead of nested for-loop to zero a 2d array
...
Saves 26 bytes of flash memory and removes two 'int' types
2021-08-02 19:20:51 +00:00
Guðni Már Gilbert
2554d21925
Use uint8_t when using axis enum
...
Saves 76 bytes of flash memory
2021-08-02 12:20:10 +00:00
DRracer
fd6dbba06f
Merge branch 'MK3_3.10.1' into PFW-1271_PF-buildv20
2021-08-02 08:51:51 +02:00
Guðni Már Gilbert
158877e736
Remove one space from Support -> Temperatures menu
...
Saves 2 bytes of flash memory
2021-08-01 11:20:29 +00:00
Guðni Már Gilbert
da2c802440
Add two defines and use LCD_STR_DEGREE with consistency
...
This saves 12 bytes of flash and 2 bytes of SRAM
2021-08-01 11:10:03 +00:00
Guðni Már Gilbert
6afc87d3c8
Reduce unnecessary LCD CGRAM writes
2021-07-30 23:53:57 +00:00
Guðni Már Gilbert
b1972fdcee
Fixes https://github.com/prusa3d/Prusa-Firmware/issues/3252
2021-07-28 16:47:47 +00:00
Guðni Már Gilbert
8af9f78822
Optimize farm_mode init in setup()
...
This saves 28 bytes of flash memory
2021-07-26 16:37:09 +00:00
Guðni Már Gilbert
21226214a7
Remove MAX_SILENT_FEEDRATE
...
It was last used on MK2 in 3rd July 2017.
I suspect this code was simply forgotten.
2021-07-21 14:06:23 +00:00
Guðni Már Gilbert
25408d14da
Remove unused #ifdef MK1BP
...
MK1BP is never defined anywhere
2021-07-21 06:27:44 +00:00
Guðni Már Gilbert
13477c65c6
Remove two functions EEPROM_read_B() and EEPROM_save_B()
...
This resolves #3218
2021-07-20 17:04:17 +00:00
Guðni Már Gilbert
400f673fe0
Remove redundant extern variable lcd_encoder from menu.cpp
...
This extern variable is included from lcd.h
2021-07-20 09:12:14 +02:00
Guðni Már Gilbert
d087973e00
Remove redundant extern variable is_usb_printing from tmc2130.cpp
...
This extern variable is included from Marlin.h
2021-07-20 09:12:14 +02:00
Guðni Már Gilbert
6aee17b4ca
lcd_change_fil_state has two extern's in Marlin.h, only one needed.
2021-07-20 09:12:14 +02:00
Guðni Már Gilbert
3cfd706fff
Remove useless extern in cmdqueue.cpp
2021-07-20 09:12:14 +02:00
Guðni Már Gilbert
31c8e4bc4c
* Remove redundant externs already included with temperature.h
...
* Add ifdefs in Dcodes.cpp when using extern variables
2021-07-20 09:12:14 +02:00
Guðni Már Gilbert
eb9c8c8c20
Improve mc_arc() parameters
...
- Make the mc_arc() function declaration consistent with the definition
- isclockwise is supposed to be bool type, given how it is used.
2021-07-20 09:03:50 +02:00
Guðni Már Gilbert
538ce06bf0
Remove unused function lcd_choose_color()
2021-07-20 08:55:49 +02:00
Guðni Már Gilbert
bbe62b136a
Remove unused Sound_Save() function declaration
2021-07-20 08:51:57 +02:00
Yuri D'Elia
d04ea859fb
Consolidate "Unknown X-Code" to save 16 bytes
2021-07-20 08:19:19 +02:00
Yuri D'Elia
47b1e6ccef
Remove spourious trailing whitespace in errors
2021-07-20 08:19:19 +02:00
Yuri D'Elia
1888c783cb
Print an error on unknown D-codes
...
This follows the same convention of M/G codes, so that the user knowns
that the D-code has been either handled or ignored.
2021-07-20 08:19:19 +02:00
Guðni Már Gilbert
d853c19a21
Use fabs() instead of abs() when using floats
...
This saves 514 bytes of flash memory
2021-07-20 08:16:18 +02:00
Yuri D'Elia
31b913cddb
Correct the C implementation for MultiU16X8toH16
...
The comment behind the ASM MultiU16X8toH16 was misleading.
It actually computes ((a<<8)*b)>>16, or (a*b)>>8.
Correct the comment and C reference implementation accordingly.
2021-07-20 08:10:36 +02:00
Guðni Már Gilbert
710852a1f2
Change nrFiles from int16_t to uint16_t
2021-07-20 08:10:07 +02:00
Guðni Már Gilbert
16602f4003
change boolean to bool
2021-07-20 08:03:17 +02:00
3d-gussner
3d871a3aa6
Merge remote-tracking branch 'upstream/MK3' into PFW-1271_PF-buildv20
2021-07-17 19:10:51 +02:00
D.R.racer
4580b8a78c
Version changed (3.10.1 build 4587)
2021-07-16 07:37:11 +02:00
Guðni Már Gilbert
153de8e1db
Remove redundant lines
2021-07-10 17:01:13 +00:00
Guðni Már Gilbert
47b8462c38
Remove two functions EEPROM_read() and EEPROM_save()
2021-07-02 20:10:47 +00:00
Yuri D'Elia
1279a6cf4b
Correctly read FW_VERSION_NR array from progmem
...
In PR #3093 the progmem array FW_VERSION_NR was introduced to store the
version components, however the code didn't read it properly using the
pgm_read_* functions, making version comparisons fail.
Fix the existing/unused is_provided_version_newer() and reuse it in
show_upgrade_dialog_if_version_newer().
Similarly also read/update correctly the version in the eeprom.
2021-06-28 06:36:26 +02:00
Yuri D'Elia
56e531d40a
Improve/fix D23 for M2.5/S printers
...
- Move D23 into it's own function inside Dcodes
- Correctly include a break in the switch statement
- Show the dumper status (enabled/disabled) after toggling
- Allow to generate an immediate dump via g-code using D23 E for
symmetry with D20 E
2021-06-25 08:46:55 +02:00
Yuri D'Elia
380e34d481
Include "Dcodes.h" after "Marlin.h" for configuration
...
This is needed in order to get the function prototypes right according
to the actual enabled configuration.
2021-06-25 08:46:55 +02:00
Voinea Dragos
ecce6f865f
write_command() no line number handling
2021-06-25 08:12:30 +02:00
Yuri D'Elia
53fcd6fc8f
Work-around GCC LTO codegen bug in process_commands()
...
When building with GCC 4.9.2 (bundled with PF-build-env-1.0.6.*), -Os
and LTO enabled, PID_autotune gets automatically inlined into
process_commands().
Sadly, due to the massive size of process_commands(), it results in
codegen bug doing a partial stack overwrite in process_commands()
itself, manifesting as random behavior depending on the timing of
interrupts and the codepath taken inside the merged function.
Mark the function as noinline and add a note about the affected compiler
version in order to be checked again in the future.
2021-06-24 07:39:28 +02:00
3d-gussner
36f2b5375f
Merge remote-tracking branch 'upstream/MK3' into PFW-1271_PF-buildv20
...
merge latest changes and fix isses
2021-06-24 05:53:43 +02:00
Yuri D'Elia
66ee9a295f
Remove useless function EEPROM_read_st
2021-06-22 19:08:20 +02:00
Yuri D'Elia
8d11ad9d2d
xfdump: correctly erase all sectors in xfdump_erase
2021-06-22 19:07:49 +02:00
D.R.racer
88074ac6c8
Remove FW version parsing
...
as it can be done at compile time. Code size dropped by >800 bytes.
2021-06-22 08:49:52 +02:00
DRracer
6188870c2e
Merge pull request #3157 from wavexx/improve_d2
...
Add extra debugging functions & crash analysis
2021-06-22 07:37:30 +02:00
DRracer
f36b9173da
Merge pull request #3191 from wavexx/fix_longpress_isr
...
Handle Long-Press in the main loop
2021-06-22 07:09:01 +02:00
Yuri D'Elia
79287ffb3d
Use uint8_t consistently for the block buffer's index
...
Instead of using a mixture of int8_t, unsigned char and (incorrectly)
int, use uint8_t consistently for indexing the current block.
This improves the performance of the wait loop in plan_buffer_line,
which currently expands all comparisons to a word for no reason.
This also extends the theoretical limit to 128 entries.
Add some static assertions to ensure BLOCK_BUFFER_SIZE is correct.
2021-06-22 06:59:57 +02:00
Yuri D'Elia
f4fcdae630
Fixup the DUMP_MAGIC constant
2021-06-22 00:04:39 +02:00
Yuri D'Elia
934b567e5a
Remove "bonus" exclamation points from the crash message
2021-06-21 22:37:28 +02:00
Yuri D'Elia
edde002cdc
Merge remote-tracking branch 'upstream/MK3' into fix_longpress_isr
2021-06-21 11:51:45 +02:00
3d-gussner
3c649a89d3
Merge remote-tracking branch 'upstream/MK3' into PFW-1271_PF-buildv20
2021-06-21 08:01:24 +02:00
Alex Voinea
30d9faef9d
Minor fixes to SD presence handling ( #3139 )
...
* Remove forgotten function protorypes
* Fix code indentation
* Fix double sorting if SD card is inserted during setup()
* Correctly handle SD removal during sorting
2021-06-21 07:30:47 +02:00
Voinea Dragos
0cbc759d8b
Second attempt at retrieving the SN from the 32u2 IC
2021-06-21 07:24:41 +02:00
Alex Voinea
6d25345fc4
optiboot_xflash comment about w25x20cl messages
...
Mention supported ICs
2021-06-21 07:21:40 +02:00
Yuri D'Elia
a92c0278fe
Use LCD_WIDTH instead of hardcoding 20
2021-06-21 07:21:10 +02:00
metacollin
8a7dd08116
Fixed C++ bug
2021-06-21 07:05:17 +02:00
Yuri D'Elia
09e935d27b
Fix two new explicit case fallthru warnings
2021-06-21 06:52:52 +02:00
Yuri D'Elia
d727a949dd
Silence explicit case-fallthru
2021-06-21 06:52:52 +02:00
Yuri D'Elia
c096462aab
Clarify statement by adding extra braces
2021-06-21 06:52:52 +02:00
Yuri D'Elia
051f03119b
Fix misleading indentation warnings by expanding tabs
2021-06-21 06:52:52 +02:00
Yuri D'Elia
f2fe57bfc0
Fix unused static declaration warnings
...
Guard declarations using the appropriate defines
2021-06-21 06:52:52 +02:00
Jonas Meyer
7bd43b77d7
Remove unnecessary assignment
2021-06-21 06:47:59 +02:00
Yuri D'Elia
eafdf6c216
Also move host_keepalive to manage_inactivity()
...
This avoids the "busy" output interleaving with regular output in very
rare scenarios.
We should focus in finding which calls are not using manage_inactivity()
properly instead of working it around.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
29322d4bf3
Move host_autoreport() to manage_inactivity()
...
This makes autoreport work more consistently.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
5c8a231ed6
Move autoreporting out of the temperature ISR
...
Code running in the temperature ISR needs to be fully reentrant, which
is hard to track down.
Move autoreporting to the main processing loop. This can make the
autoreporting slower or pause at times, but removes the reentrant
restriction, which allows us to use printf_P.
2021-06-21 06:46:24 +02:00
Yuri D'Elia
97f66a6a13
Remove ignored/incorrect PROGMEM
...
This PROGMEM is currently ignored by gcc, but even if it wasn't it
wouldn't be correct since the following code is expecting to read "item"
without fetching the array itself from PROGMEM.
2021-06-21 06:44:19 +02:00
DRracer
5bb8bb2ccb
Merge pull request #3134 from wavexx/fix_partial_redraw2
...
Redraw "Preheating to load" in full when modified by other actions
2021-06-21 06:42:13 +02:00
Yuri D'Elia
700825ff76
serial_dump: include hex prefix
2021-06-19 13:57:40 +02:00
Yuri D'Elia
bff79d290a
GETPC: Do not manipulate the 32bit return address
...
We can do that offline, saving over 30 bytes of instructions.
2021-06-19 13:56:40 +02:00
Yuri D'Elia
72b8f0d1e6
Add some warnings in lcd_buttons_update
2021-06-19 13:46:10 +02:00
Yuri D'Elia
06d91ddcee
Handle Long-Press in the main loop
...
The longpress function is currently called within the temperature ISR,
which is bogus. Calling the longpress function at the wrong moment
can corrupt the menu buffers.
Move the call to the main loop by changing the logic slightly:
- still sample the lcd buttons inside the temperature ISR, which keeps
scrollong/pressing responsive, but...
- set a flag to indicate that longpress has been triggered instead of
calling the function directly
- call the function on the next manage_inactivity run
Combined with #3180 this removes _most_ unsafe operations out of the ISR
which can happen during a normal run (max/mintemp warnings are still an
exception).
2021-06-17 20:07:01 +02:00
3d-gussner
56889bae13
Update PF-build.sh to work after @DRracer Remove FW version parsing PR
2021-06-17 19:08:55 +02:00
Yuri D'Elia
dd8c6c064c
xfdump: simplify stack debugging (sample pc+sp)
...
Instead of having to guess the PC where the SP was sampled, always take
both. This allows "seamless" stack decoding for both serial and xflash
dumps, since we don't have to guess which function generated the dump.
Make the core functions (doing the sampling) be ``noinline`` as well,
so that they always have valid frame.
2021-06-17 01:29:25 +02:00
Yuri D'Elia
97535ec0c1
Fix last commit
2021-06-15 22:10:08 +02:00
Yuri D'Elia
e6d520cf6e
Add test code for the stack overflow handler
2021-06-15 18:49:20 +02:00
Yuri D'Elia
a614268c94
serial_dump_and_reset: do not call manage_heater with interrupts disabled
...
Do not call manage_heater() in print_mem() if interrupts are already
disabled. This means we're running inside the crash handler.
2021-06-15 18:44:44 +02:00
Yuri D'Elia
d193d0f7ac
serial_dump: manipulate WDT just once
2021-06-15 16:21:56 +02:00
Yuri D'Elia
928c7211ad
emergency handlers: always save SP _at_ the crash location
...
Save SP which is closest to the crash location, which simplifies
debugging. For serial_dump, write SP just before the dump.
For xfdump, save SP in the dump header.
This makes xfdump_dump and xfdump_full_dump_and_reset() equivalent for
stack debugging.
2021-06-15 11:47:27 +02:00
Yuri D'Elia
96aad0a475
Remove duplication in crash handlers
...
It's kind of nice that all handlers eventually came to become the same.
2021-06-14 12:38:23 +02:00
Yuri D'Elia
fa0f58d5bc
serial_dump: add description about bad_isr
2021-06-14 12:30:24 +02:00
Voinea Dragos
8e667a8acd
bad ISR catch
2021-06-14 11:30:38 +03:00
Yuri D'Elia
d2041ee2fe
Enable debugging features on all variants
...
- XFlash crash dumper on MK3+ series
- Online crash dumper on MK2.5+ series
- D2/D6 on MK3+ series
- D2 on MK2.5+ series
2021-06-13 22:35:43 +02:00
Yuri D'Elia
7db667ca86
serial_dump_and_reset: turn on print fan while dumping
...
To avoid scorching the sheet while dumping close to the bed.
2021-06-13 22:28:28 +02:00
Yuri D'Elia
ea51d65137
serial_dump_and_reset: do not completely disable WDT
...
Set it to 8s which is long enough to complete the dump.
2021-06-12 15:39:37 +02:00
Yuri D'Elia
6de98f7b0d
Move inclusion closer to the usage point
2021-06-12 15:33:18 +02:00
Yuri D'Elia
050cf72e98
Move stack checking to the temperature ISR
...
Now that the stack_error function is truly minimal,
we can check for stack errors much more frequently.
Also move away stack_error from ultralcd to Marlin_main.
2021-06-12 15:23:33 +02:00
Yuri D'Elia
01934b89e9
xflash_dump is now always required in all variants
2021-06-12 15:13:32 +02:00
Yuri D'Elia
449510392d
Untangle a bit some recursive include mess
2021-06-12 15:09:03 +02:00
Yuri D'Elia
e28301f391
Report crash also in MK2.5, fix stack_error abuse
...
Rename EEPROM_CRASH_ACKNOWLEDGED to EEPROM_FW_CRASH_FLAG.
Use EEPROM_FW_CRASH_FLAG to always set the last crash reason, which
simplifies handling between the online/offline variants.
Make stack_error safe, by setting the flag and restarting immediately,
so that the error can be shown after restart.
2021-06-12 14:41:54 +02:00
Yuri D'Elia
bd57e00448
Implement an online crash dumper for MK2.5 boards
...
When XFLASH is not available, allow users to request _online_ crash
dumps by using D23 (since these require active user cooperation).
Once enabled, instead of just rebooting, dump memory directly to
the serial.
As similarly done with EMERGENCY_DUMP, we have two features that can be
enabled:
EMERGENCY_SERIAL_DUMP: enables dumping on crash after being requested
MENU_SERIAL_DUMP: allow triggering the same manually through the support
menu.
2021-06-12 13:37:20 +02:00
Yuri D'Elia
f7dc8dcaef
Fix usage of RAMEND
...
RAMEND is the last valid address, not one-past as I expected it to be...
2021-06-12 13:16:12 +02:00
Yuri D'Elia
f18d4757c6
Introduce STACK_GUARD_MARGIN in all variants
...
Create a gap between the BSS and the stack guard.
Set this gap (STACK_GUARD_MARGIN) to 32 bytes in all variants.
The gap serves two purposes:
- Detect a stack overflow earlier (falsely triggering in overtight
situations is OK!), so that we can hopefully avoid smashing
the heap and have a clean view during the dump.
- Reserve spack space itself for the stack dumping machinery,
which is going to grow the stack even further.
Remove get_stack_guard_test_value() which was unused.
2021-06-12 12:08:53 +02:00
Yuri D'Elia
9663653671
xfdump_erase: remove redundant XFLASH_SPI_ENTER()
2021-06-12 12:05:02 +02:00
Yuri D'Elia
3187b96ca4
xfdump: report to the host that a dump is available
...
As suggested by @3d-gussner, announce to the host that a dump is
available for retrieval using an action "dump_available".
Any kind of dump is announced (even if manually triggered).
To avoid reading from xflash twice, remove some duplication and return
the crash reason directly in xfdump_check_state().
2021-06-11 19:21:51 +02:00
Yuri D'Elia
31f416fd5e
Rename dump_crash_source to dump_crash_reason
2021-06-10 17:35:49 +02:00
Yuri D'Elia
c375610668
Move "WDR dump" inside EMERGENGENCY_DUMP
2021-06-10 17:02:41 +02:00
Yuri D'Elia
63f870c089
Enable the "WDR reset" menu item in DEBUG_BUILD only
2021-06-10 16:30:59 +02:00
Yuri D'Elia
0362b6484f
xfdump_full_dump_and_reset: set a guaranteed minimum WDT
...
Just prior to dumping, reset the WDT to a known-safe (and not too long)
interval that guarantees a complete dump.
2021-06-10 16:30:39 +02:00
Voinea Dragos
0a77f2c02d
Dump header as well
2021-06-10 11:58:46 +03:00
Voinea Dragos
094c577e9d
Fix XFLASH_DUMP print_mem
2021-06-09 14:10:20 +03:00
Voinea Dragos
1e786c7f55
WDR crash initial
2021-06-09 13:59:26 +03:00
Voinea Dragos
8c3d76f85f
Fix millis reference
2021-06-09 12:44:28 +03:00
Yuri D'Elia
fab04dbc6c
D6: remove option for unsupported models
2021-06-08 19:53:37 +02:00
Yuri D'Elia
318ee695c2
xfdump_layout: add some comments
2021-06-08 19:50:43 +02:00
Yuri D'Elia
c2e64c8c6e
xfdump: fix another off-by-one static size check
2021-06-08 19:08:03 +02:00
Yuri D'Elia
378f239ff0
dcode_code: fix inverted define to print larger types
2021-06-08 18:57:16 +02:00
Yuri D'Elia
56d0848ea9
xfdump: fix size check
2021-06-08 18:43:32 +02:00
Yuri D'Elia
9d3b19b637
xfdump: defensive static checks to ensure dump location always fits
2021-06-08 18:29:55 +02:00
Yuri D'Elia
dcfdce87c7
Document new applicable build options in the variant files
...
Document, but don't enable them.
Leave exiting functionality unchanged for now.
2021-06-08 18:17:56 +02:00
Yuri D'Elia
c072fbbf02
Dcodes: fix daddr_t type when only XFLASH_DUMP is enabled
2021-06-08 18:14:49 +02:00
Yuri D'Elia
c331c07b16
xfdump: reuse standard definitions for SRAM size/offset
2021-06-08 17:53:06 +02:00
Yuri D'Elia
520f7a2e26
config: add sanity checks for XFLASH_DUMP options
2021-06-08 17:32:14 +02:00
Yuri D'Elia
1a88e339bf
xfdump: fix build with XFLASH_DUMP disabled
2021-06-08 17:17:18 +02:00
Yuri D'Elia
a6e372e696
Typo
2021-06-08 17:14:22 +02:00
Yuri D'Elia
c31109c750
Implement MENU_DUMP: offline memory dump from "Support"
...
If MENU_DUMP is enabled, a new entry at the end of the "Support" menu is
added that allows to dump memory for offline use.
This allows to trigger a memory dump at any moment during regular usage
(either idling or printing) and to recover the dump later even after a
hardware reset.
2021-06-08 16:56:58 +02:00
Yuri D'Elia
c089ac5341
Implement EMERGENCY_DUMP for offline analysis
...
If EMERGENCY_DUMP is defined, crash and dump using the new xflash dump
functionality instead of just continuing with an error message.
When an emergency crash is stored, the first restart after a crash
displays a message that debug data is available and to contact support
to submit the crash for analysis.
2021-06-08 16:42:43 +02:00
Yuri D'Elia
e7f78125d3
Merge remote-tracking branch 'panayiotis/FixEepromAddressDocumentation' into improve_d2
2021-06-08 16:18:09 +02:00
Yuri D'Elia
30402e0404
Dcodes: add D20/D21/D22 to generate/read/clear dumps
2021-06-08 15:34:39 +02:00
Yuri D'Elia
6dfef76346
xfdump: implement dump-to-xflash functionality
...
Update xflash_layout to include information about the dump, which sits
at the end of xflash.
2021-06-08 15:28:02 +02:00
Yuri D'Elia
b398a09a4f
xflash: add xflash_multipage_program and documentation
...
Add a new high-level command to perform multipage writes quickly.
2021-06-08 15:25:16 +02:00
Yuri D'Elia
86e753fe37
xflash: remove some duplication
2021-06-08 15:24:46 +02:00
Yuri D'Elia
5ae8bad0ba
Introduce "xflash_layout" to organize XFLASH's content
...
Update the language code to use the new LANG_OFFSET definition
and remove hard-coded flash sizes.
2021-06-08 15:22:37 +02:00
Yuri D'Elia
af636c7f2a
Move "xflash" include inside the conditional
2021-06-08 15:18:33 +02:00
Yuri D'Elia
0fcdada579
D6: add documentation
2021-06-07 19:58:18 +02:00
Yuri D'Elia
ed9f52dd85
D6: also hide declaration behind conditional
2021-06-07 18:50:45 +02:00
Yuri D'Elia
db096557d4
D[236]: remove "busy" messages while dumping, avoid WDT
2021-06-07 16:41:25 +02:00
Yuri D'Elia
12e124324f
Remove PROGMEM handling from print_mem until D5 uses dcode_core
...
Handling PROGMEM also requires a 32bit address type.
2021-06-07 16:41:25 +02:00
Yuri D'Elia
f9371146d0
Implement reading XFLASH with D6
...
This requires expanding the dcode_core address type to 32bit type,
thus enlarges the D2/D3 implementation as a result.
Still allow to save all the original space if D6 is disabled, for now.
2021-06-07 16:41:25 +02:00
Yuri D'Elia
915f5a7692
Unify D2 and D3 handling
...
Handle reading/writing memory using the same base functions
in order to save space.
2021-06-07 16:41:25 +02:00
Yuri D'Elia
2d25a5705f
Fix D2 to read the entire SRAM content
...
Allow to read up to 0x21ff, which is the last byte of SRAM. Set default
starting address to 0x200, which is the first true byte.
0x0-200 is mapped to register/io space and could cause issues when read
from bi-directional registers.
2021-06-07 16:37:34 +02:00
Yuri D'Elia
62f496e1d6
Allow D2 to be enabled selectively
2021-06-07 16:37:34 +02:00
D.R.racer
6bb7c0e3d3
Farm workaround M1 message
...
Farmers want to abuse a bug from the previous firmware releases
- they need to see the filename on the status screen instead of "Wait for user..."
So we won't update the message in farm mode...
2021-05-25 09:45:42 +02:00
Panayiotis-git
3c63ddaafd
Fix the eeprom address documentation
2021-05-22 17:09:55 +03:00
D.R.racer
04de9c0c8a
Version changed (3.10.0 build 4481)
2021-05-06 13:46:05 +02:00
Yuri D'Elia
1a92f2e19f
Merge remote-tracking branch 'upstream/MK3_3.10.0' into fix_partial_redraw2
2021-05-04 10:49:24 +02:00
DRracer
eaa6801849
Merge pull request #3136 from leptun/PFW-1225_fix_open_file_from_sd_wrong_file
...
Fix menu_action_sdfile() check_file(filename) call
2021-04-29 16:34:01 +02:00
DRracer
80e248662c
Merge pull request #3079 from 3d-gussner/PFW-1189
...
PFW-1189 Pre-release tasks
2021-04-29 16:33:18 +02:00
DRracer
89386036e6
Merge pull request #3137 from leptun/PFW-1239_fix_M23_subroutine_issue
...
Do not allow M23 to run subroutines
2021-04-29 15:06:33 +02:00
DRracer
a3b392d96c
Merge pull request #3130 from DRracer/move-alldata-2-end
...
Move All Data into last position in Factory Reset menu
2021-04-29 10:08:32 +02:00
Voinea Dragos
8610d0a850
Do not allow M23 to run subroutines
2021-04-29 10:59:21 +03:00
DRracer
7c914ec2d1
Merge pull request #3125 from leptun/PFW-1238_fix_M105_from_SD
...
Fix M105 from SD
2021-04-29 09:12:05 +02:00
Voinea Dragos
1a70f3369d
fix comment
2021-04-29 09:48:25 +03:00
Voinea Dragos
d9976ca69c
Fix menu_action_sdfile() check_file(filename) call
2021-04-29 09:47:16 +03:00
3d-gussner
a9ae8ea731
Remove `SpoolJoin` from translations
2021-04-29 08:15:24 +02:00
3d-gussner
488d9d4b38
Remove "Firmware" from translations
...
deleted another unused "Firmware" define in language.h
2021-04-28 18:02:36 +02:00
3d-gussner
d251f3980a
Remove FlashAir from translations
2021-04-28 17:57:39 +02:00
3d-gussner
b5ba4041d3
Remove FINDA from translations
2021-04-28 17:36:17 +02:00
3d-gussner
08566d4121
Remove PINDA from translations
2021-04-28 17:33:52 +02:00
3d-gussner
30b383195d
Remove copy/paste error
2021-04-28 17:29:32 +02:00
Yuri D'Elia
aee04a43e2
Redraw "Preheating to load" in full when modified by other actions
...
Check for lcd_draw_update to see if the lcd has been altered outside the
function and redraw the screen if full.
This fixes scenarios such as #3129 where the "Card removed" message or
the SD menu is entered from outside the function's control.
This requires checking/resetting bFilamentWaitingFlag carefully to avoid
re-entering this function _twice_ (raise_z_above will run the main
loop until complete).
2021-04-28 17:13:46 +02:00
D.R.racer
5089b2cddb
Move All Data into last position in Factory Reset menu
2021-04-28 06:43:54 +02:00
3d-gussner
7a54c3638c
Remove web links and `Prusa i3 MKxy OK.` from translations
...
as these never have been translated or doesn't make sense
to translate web links
2021-04-27 20:36:22 +02:00
3d-gussner
686054b95e
Changed `x of 4` and `y of 9` to `x/4` and `y/4`
...
Added `Iteration` translation
2021-04-27 20:22:28 +02:00
3d-gussner
738a24178a
Update #MSG_FIND_BED_OFFSET_AND_SKEW_LINE1 c=20 r=3
2021-04-27 07:45:36 +02:00
3d-gussner
b8ae08fd3d
Update `x of 4` and `x of 9` messages so longer text can be used.
2021-04-27 07:18:52 +02:00
3d-gussner
1145b231a9
Define MSG_SELFTEST_FS_LEVEL
2021-04-26 14:30:20 +02:00
3d-gussner
af519626aa
Define MSG_FS_V_04_OR_NEWER and MSG_FS_V_03_OR_OLDER c=14
2021-04-26 14:21:33 +02:00
3d-gussner
b522ef4812
Update MSG_SEVER_SKEW and MSG_SLIGHT_SKEW message to c=14
...
Changed and tested Support-> "XYZ cal. details" LCD output
2021-04-26 12:39:13 +02:00
3d-gussner
536a8f5f87
Revert that has been commited by mistake
2021-04-26 07:28:03 +02:00
3d-gussner
466de83ae0
Remove white spaces in messags which saves ~62bytes
2021-04-26 07:22:22 +02:00
3d-gussner
29ad021b23
Updated French translation of MSG_MMU_LOAD_FAILED c=20 as @awenelo suggested
2021-04-24 20:50:01 +02:00
3d-gussner
9f77ca31b8
Set MSG_SET_TEMPERATURE chars to c=20
...
Fix Italian warning shown by `lang-check.py`
2021-04-24 08:19:48 +02:00
Marek Bel
aa45091400
Scale extruder motor current linearly with speed. ( #2813 )
...
Scale extruder motor current linearly with speed.
49% less heating when running at low speed and standstill, 4% more torque at maximum extrusion rate (15mm^3/s), 15% more torque in high speed movements (un/retractions).
StealthChop mode is used for low speeds (below 900mm/min)
spreadCycle is used above. Transition speed is well above maximum extrusion rate of 15mm^3/s (275mm/min) so mode transition is not expected to be visible on printed surface.
StealthChop is expected to improve printed surface quality (less artifacts).
Warning you can burn extruder motor if it is not the same impedance as original Prusa i3 Extruder stepper motor. There is no current feedback in low speed so lower impedance motor can be burned by over current.
Even there is no direct current feedback, there is no risk for original motor thermal runaway, as motor resistance increases with temperature, current decreases.
Standstill peak phase current is expected to be 500 mA and linearly increase with speed to 970 mA at 900mm/min where spreadCycle constant current regulation takes over and keeps peak current at 805 mA to maximum speed possible.
As motor heating increases with current squared, lowering low speed current from 700mA to 500mA decreases heating 49% in thate mode, where motor spends most of the time.
Enable E-motor cool mode in farm mode only (and experimental menu) - the experimental menu is visible AND the EEPROM_ECOOL variable has a value of the universal answer to all problems of the universe - i.e. two conditions must be met at the start of the FW to enable the E-cool mode. If the user enables the experimental menu, sets the E-cool mode and disables the menu afterwards, on the next start of the FW the E-cool mode will be DISABLED. This is still subject to discussion how much obscure (security through obscurity) we'd like this option to have .
Additional stuff:
* Add serial debug msg to verify if E-cool mode is on
* Avoid access to E-cool mode switch on machines without TMC2130
* Do not allow only M907 E in case of E-cool mode+warn the user on the serial line that the command was skipped
Co-authored-by: D.R.racer <drracer@drracer.eu>
2021-04-23 16:06:28 +02:00
3d-gussner
c2cde83d7e
Fix MSG_SELFTEST_WIRINGERROR to c=18
2021-04-23 13:29:45 +02:00
3d-gussner
3f51627c02
Fix MSG_NO being too short, no need to be
2021-04-23 13:23:11 +02:00
3d-gussner
013708479f
Fix MSG_UNLOAD_FILAMENT length as in MMU a number is added
2021-04-23 13:12:57 +02:00
3d-gussner
032e8a5957
@leptun strip 1st char hack for duplicate `Cancel`
2021-04-23 13:03:59 +02:00
3d-gussner
403b340f19
Added ` EXTENDED_M20` to RepRap Gcode wiki `M115` see https://reprap.org/mediawiki/index.php?title=G-code&type=revision&diff=189034&oldid=189033
2021-04-23 11:02:42 +02:00
Voinea Dragos
635bc442d6
Fix M105 from SD
2021-04-23 11:14:16 +03:00
3d-gussner
28aec049a2
Fix Typo in MSG_FIL_FAILED
2021-04-23 09:41:12 +02:00
3d-gussner
ff9185d1bb
Readded `>Cancel` as the `>` has some meaning. Sadly the previously 10bytes more free space are gone again
2021-04-23 08:50:50 +02:00
3d-gussner
044c0a0a6a
Update "\04Refresh" message as two "abcd" "efgh" in one line cause issues in lang-build scripts
2021-04-23 08:49:22 +02:00
3d-gussner
e18d688b64
Fix merge issues
2021-04-22 20:48:26 +02:00
3d-gussner
681bc560c9
Merge remote-tracking branch 'upstream/MK3_3.10.0' into PFW-1189
2021-04-22 20:43:54 +02:00
DRracer
999b93be35
Merge pull request #3123 from prusa3d/MK3_3.10.0
...
MK3 3.10.0
2021-04-22 12:53:26 +02:00
DRracer
00ce16ee55
Merge pull request #3121 from wavexx/reduce_m600_min_height
...
Revert/cleanup mininum extruder height during M600
2021-04-22 11:43:18 +02:00
DRracer
1e0fd8af87
Merge pull request #3120 from wavexx/fix_lcd_redraw_autoload
...
Fix partial redraw during filament autoload
2021-04-22 10:36:40 +02:00
DRracer
98643825dc
Merge pull request #3055 from awenelo/add-satin-sheet
...
Add satin sheets
2021-04-22 07:13:32 +02:00
Yuri D'Elia
daef5428d2
Rework gcode_M600_filament_change_z_shift to make it consistent
...
gcode_M600_filament_change_z_shift is almost useless, since it performs
what is already been done internally by filament_unload().
However it *does* cause the carriage to raise earlier during unload
compared to making the user wait after "press for unload".
Change it so the calculated Z height matches MIN_Z_FOR_SWAP.
2021-04-21 19:12:26 +02:00
Yuri D'Elia
8d04316497
Revert/cleanup mininum extruder height during M600
...
This change restores the minimum extruder height for filament purge
during M600 from the current 50mm back to 27mm from FW 3.9.
We do this by introducing a new option for unload_filament() to indicate
that the unload is part of an automatic swap, and in such cases avoid
raising more than absolutely necessary (this will _also_ come in handy
to avoid the extra purge in PR #2318 during M600).
A new define MIN_Z_FOR_SWAP is introduced for this purpose.
MIN_Z_FOR_UNLOAD is still used for manual lcd unload and for M702 and
hasn't been changed.
2021-04-21 19:07:58 +02:00
Yuri D'Elia
bc355674d9
Fix partial redraw during filament autoload
...
If the printer was already being pre-heated but didn't reach the target
temperature yet and a new filament is being inserted, the LCD used to
display a "Preheating to load" message to block the loading until the
extruder is hot.
This message is currently missing, and the ">Cancel" option doesn't
display immediately either, depending on the extruder height.
This PR fixes this behavior, which was broken during an earlier update.
We now force-update LCD updates during the first (and _only_) time the
screen is setup, and push all messages _before_ the carriage is
eventually raised, so that ">Cancel" is shown immediately as well.
2021-04-21 16:56:16 +02:00
Alex Voinea
7d82cab125
Update doxygen
2021-04-20 09:16:56 +03:00
Alex Voinea
c4b70b82f3
Document M20 T parameter
2021-04-20 09:13:38 +03:00
Alex Voinea
1c0383c48f
Add capability report for extended M20
2021-04-20 09:03:22 +03:00
D.R.racer
7011014abb
Save 16 bytes - pass ls_param by value to functions
...
... as ls_param is a 1-byte structure it is more conservative to pass it
to functions by value than by a pointer
2021-04-20 06:50:37 +02:00
Voinea Dragos
2129bcf315
M20 T
2021-04-19 14:48:50 +03:00
Voinea Dragos
b16e1e5235
Invert size and LFN in M20 L output
2021-04-19 13:54:43 +03:00
Voinea Dragos
6d7d8c7c75
Do not show hidden/system dirs with M20 L
2021-04-19 13:31:30 +03:00
Yuri D'Elia
a5e4df390d
Sync before/after setting mesh_bed_leveling_flag/homing_flag
...
mesh_bed_leveling_flag and homing_flag should be set only when the
planner is empty as a consequence of #3100 , since any operation executed
*while* the mbl/homing flag is set is considered part of the compound
instruction that generated it (G80, G28, G30, G76).
Failure in doing so can result in instructions just prior being lost,
since they're incorrectly discarded (assumed to be redone).
G1 ; lost ..
G80 ; .. if PP happens here
2021-04-19 06:31:57 +02:00
Yuri D'Elia
23c75da727
Fix Crash/PP recovery position on instructions with comments
...
PR #2967 altered the way ``sdpos_atomic`` was set, causing issues in the
crashdetect/powerpanic recovery offset if the instruction being
recovered happens to contain a comment.
Previously ``sdpos`` was assumed to be a single byte prior to the last
read character. sdpos+1 would thus position the index to the next
instruction. With gcode-filtering in place, sdpos is left just before
the comment, while the actual read position is at the newline. This
causes to parser to resume in the middle of the comment.
Change the value returned by cardreader::get_sdpos() to always return
the last read position, as everybody expects (!!).
This avoids the +1, and correctly sets the resume position to the next
valid instruction without overhead.
2021-04-19 06:30:37 +02:00
D.R.racer
c43688a549
Version changed (3.10.0-RC2 build 4104)
2021-04-16 13:52:36 +02:00
DESKTOP-AFI832L\admin
5a91e1de4d
Calibration: fix checking of scan of calibration points
...
PFW-1223
2021-04-14 06:25:18 +02:00
Voinea Dragos
7356cd0811
EEPROM_JOB_ID
2021-04-09 08:09:51 +02:00
DRracer
f9f6284c50
Merge pull request #3100 from wavexx/powerpanic_state_fixes
...
Fix PowerPanic and Crash Detection during homing and bed leveling
2021-04-07 18:19:50 +02:00
Yuri D'Elia
61faa49cbb
Fix buffer overflow in buf
...
Fix cmd overflow introduced in 186ce0f .
With a precision of %f being .6 and assuming a maximum (theoretical)
acceleration of 99999 we need 47 bytes including terminating byte.
Round it to 48
2021-04-07 15:57:50 +02:00
Alex Voinea
d31601dcb8
Use correct mfrid for gd25q20c
2021-04-06 10:16:47 +02:00
Alex Voinea
94c1e65d83
Fix MK2.x builds
2021-04-06 10:16:47 +02:00
Alex Voinea
56948157d0
GD25Q40C xflash support
2021-04-06 10:16:47 +02:00
Alex Voinea
07bf4bbe48
Fix gd25120c rd_uid command
2021-04-06 10:16:47 +02:00
Alex Voinea
9454f9d8ec
Rename w25x20cl to xflash
2021-04-06 10:16:47 +02:00
Yuri D'Elia
449d181971
G80: handle power panic
...
This is handled in the same way crash detection is handled: homing/mbl
invalidates saved_target _and_ current position.
Fixes PP recovery during MBL and homing.
2021-04-06 02:20:00 +02:00
Yuri D'Elia
b46a52ffa8
G80: Handle crash detection
...
At a higher level, crash detection will repeat the last gcode command.
Some commands such as G28 or G80 need to be repeated in full and require
special handling.
In such cases, do not store the saved target coordinate (which is fake
in such cases) and invalidate the saved position.
This fixes the last coordinate of the first G1 move after recovery.
We also avoid moving from the origin when the saved position is
invalidated, which is not strictly necessary, but saves some time.
2021-04-06 02:00:47 +02:00
Yuri D'Elia
a5530593fa
G80: preserve lcd status and message when aborting
...
Restore the old status just before returning, so that the subsequent G80
can restore the first (initial) message correctly.
2021-04-06 00:31:56 +02:00
Yuri D'Elia
5923276a86
G80: correctly abort during crash detection
...
Crash detection is handled at a higher level (which automatically
repeats the current command), however we still need to abort the current
command correctly.
Handle XY crashes by checking the planner status after st_synchronize().
2021-04-06 00:31:29 +02:00
Yuri D'Elia
5da39df968
G80: Use consistent XY axis feedrate
2021-04-06 00:10:33 +02:00
Yuri D'Elia
ce2e35d14d
Move G80 into it's own function
...
No actual changes done in the function in this, besides break->return.
In G28, simply call the new function instead of using goto, making the
code more readable.
Also remove the senseless comments in G28 about command queuing (dating
back to when G80 was queued instead of being executed).
2021-04-05 23:35:17 +02:00
Yuri D'Elia
d2be40491b
PP recovery: clamp initial position to software endstops
...
As done when initializing the printer from a cold start, we need to
clamp the starting position to software endstops before setting the
planner position since 0,0 is frequently out-of-bounds.
This avoids an useless move during recovery that can cause a crash:
- Initial X is set to be 0
- G1 performed by homing will clamp X>=0, resulting in a positive shift
- If X is already at max X (extruder being parked due to PP), this will
slam at X+, causing an immediate crash.
2021-04-05 22:11:06 +02:00
Yuri D'Elia
3276320a06
Hide tmc2130_sg_change behind DEBUG_CRASHDET_COUNTERS
...
tmc2130_sg_change is only used for debugging purposes.
Hide definition and usage behind the required define.
2021-04-05 20:07:03 +02:00
Yuri D'Elia
6a61c26955
Removed unused crashdet_stop_and_save_print2
2021-04-05 20:04:50 +02:00
3d-gussner
b74e1d6062
Update RepRap url for `M123`
2021-04-01 19:48:14 +02:00
3d-gussner
e12c1dde5c
Updated RepRap Wiki and removed the @todos
2021-04-01 19:06:31 +02:00
3d-gussner
3b431bcbc1
Fix output "Y distance from min" by removing ":" so translations can use 20 chars
2021-03-31 08:54:16 +02:00
3d-gussner
d864a5cfdb
Define #MSG_PRINTER_IP c=18
2021-03-31 08:46:17 +02:00
3d-gussner
9922774fa7
Cleanup some comments ////c=
2021-03-31 08:11:19 +02:00
3d-gussner
8e74cbce58
Remove r=1 and some minor fixes
2021-03-31 08:07:42 +02:00
3d-gussner
fb691b44b4
Update #MSG_INFO_SENSORS c=18
2021-03-31 07:51:22 +02:00
3d-gussner
3fb90be46f
Define #MSG_SELECT c=18
2021-03-31 07:50:18 +02:00
3d-gussner
9a0e67c1d7
Define #MSG_RENAME c=18
2021-03-31 07:43:48 +02:00
3d-gussner
15919a0f09
Define #MSG_NOZZLE_DIFFERS_CONTINUE c=20 r=5, #MSG_NOZZLE_DIFFERS_CANCELLED c=20 r=9
2021-03-31 07:41:21 +02:00
3d-gussner
cdfc40fb62
Define #MSG_MODE_CHANGE_IN_PROGRESS c=20 r=3
2021-03-31 07:38:41 +02:00
3d-gussner
c0869efc76
Define #MSG_MK3S_FIRMWARE_ON_MK3 c=20 r=4, #MSG_MK3_FIRMWARE_ON_MK3S c=20 r=4
2021-03-31 07:36:26 +02:00
3d-gussner
268d4020cf
Define #MSG_FINDA c=5 and update #MSG_PINDA c=5
2021-03-31 07:32:43 +02:00
3d-gussner
c0b8eef6cd
Define #MSG_FALSE_TRIGGERING c=20
2021-03-31 07:29:42 +02:00
3d-gussner
1ca443f1f4
Define #MSG_CHECKS c=18
2021-03-31 07:28:18 +02:00
3d-gussner
5e049283be
Define #MSG_UNKNOWN c=13
2021-03-31 07:24:41 +02:00
3d-gussner
982153fee1
Define and update #MSG_PRINT_TIME c=19, #MSG_FILAMENT_USED c=19, #MSG_TOTAL_FILAMENT c=19, #MSG_TOTAL_PRINT_TIME c=19
2021-03-31 07:16:36 +02:00
3d-gussner
7a88ce89e4
Update MSG_TEMPERATURE c=18
2021-03-31 07:11:01 +02:00
3d-gussner
c0df79d39a
Define #MSG_SELECT_TEMP_MATCHES_MATERIAL c=20 r=4
2021-03-31 07:10:03 +02:00
3d-gussner
7268f6a824
Define #MSG_SELECT_FILAMENT c=20
2021-03-31 07:08:09 +02:00
3d-gussner
2e43234d3f
Update #MSG_SUPPORT c=18
2021-03-31 07:06:46 +02:00
3d-gussner
ba38262109
Update #MSG_STATISTICS c=18
2021-03-31 07:05:28 +02:00
3d-gussner
960ebac02d
Update #MSG_SPEED c=15
2021-03-31 07:04:47 +02:00
3d-gussner
b52d87e9a5
Define #MSG_Z-LEVELING_ENFORCED c=20 r=4
2021-03-31 07:02:42 +02:00
3d-gussner
acbdc2ac8d
Define #MSG_RUNOUTS c=7
2021-03-31 06:59:16 +02:00
3d-gussner
09f4850a8a
Define #MSG_SLIGHT_SKEW c=13, #MSG_SEVERE_SKEW c=13
2021-03-31 06:53:04 +02:00
3d-gussner
4749dd1750
Define #MSG_CHECK_IR_CONNECTION c=20 r=4
2021-03-31 06:46:43 +02:00
3d-gussner
bd8ab39b39
Define #MSG_UNLOAD_FILAMENT_REPEAT c=20 r=4
2021-03-31 06:45:33 +02:00
3d-gussner
5280a89fba
Define #MSG_MMU_INSERT_FILAMENT_FIRST_TUBE c=20 r=6
2021-03-31 06:43:21 +02:00
3d-gussner
0d48a32e87
Define #MSG_RESUME_NOZZLE_TEMP c=20 r=4
2021-03-31 06:41:17 +02:00
3d-gussner
4f394c8c5a
Update #MSG_TUNE c=18, #MSG_PREHEAT c=18
2021-03-31 06:38:50 +02:00
3d-gussner
fbecae1707
Update MSG_PREHEAT c=18
2021-03-31 06:38:06 +02:00
3d-gussner
ac810bf03a
Define #MSG_REMOVE_SHIPPING_HELPERS c=20 r=3
2021-03-31 06:36:28 +02:00
3d-gussner
00b100bf26
Define #MSG_NOZZLE_FAN c=10, #MSG_PRINT_FAN c=10
2021-03-31 06:30:00 +02:00
3d-gussner
baf231b0f1
Update MSG_NO_CARD c=18
2021-03-31 06:23:18 +02:00
3d-gussner
1c09e8411d
Define #MSG_PINDA c=6 and remove duplicate saved 8 bytes
2021-03-30 19:30:26 +02:00
3d-gussner
6a266d497b
Define #MSG_REMOVE_TEST_PRINT c=20 r=4
2021-03-30 19:19:43 +02:00
3d-gussner
5fcc731be1
Define #MSG_INSERT_FIL c=20 r=6
2021-03-30 19:17:48 +02:00
3d-gussner
243fa68745
Define #MSG_LIN_CORRECTION c=18
2021-03-30 19:16:11 +02:00
3d-gussner
44f7be134d
Define #MSG_FS_VERIFIED c=20 r=3
2021-03-30 19:13:31 +02:00
3d-gussner
bcdaecb46d
Define #MSG_TO_LOAD_FIL c=20, #MSG_TO_UNLOAD_FIL c=20, #MSG_PRESS_KNOB c=20
2021-03-30 19:10:56 +02:00
3d-gussner
de9697b913
Define #MSG_PREHEATING_TO_LOAD/UNLOAD/CUT/EJECT c=20
2021-03-30 19:06:46 +02:00
3d-gussner
d601355d40
Define #MSG_GCODE_NEWER_FIRMWARE_CONTINUE c=20 r=5, #MSG_GCODE_NEWER_FIRMWARE_CANCELLED c=20 r=8
2021-03-30 19:01:24 +02:00
3d-gussner
669ab0f7f7
Define #MSG_GCODE_DIFF_CONTINUE c=20 r=4, #MSG_GCODE_DIFF_CANCELLED c=20 r=7
2021-03-30 18:58:04 +02:00
3d-gussner
e9750a7312
Update #MSG_FIL_FAILD c=20 r=5
2021-03-30 18:52:58 +02:00
3d-gussner
4a5d7bc6b7
Define #MSG_Y_DIST_FROM_MIN c=20
2021-03-30 18:51:04 +02:00
3d-gussner
2abdfeb4c5
Update #MSG_YES c=3
2021-03-30 18:48:14 +02:00
3d-gussner
7f3fe6740b
Update #MSG_NO_MOVE c=20
2021-03-30 18:46:56 +02:00
3d-gussner
1a1a1d88a7
Update MSG_MOVE_X/Y/Z c=18
2021-03-30 18:13:49 +02:00
3d-gussner
c1f22a5239
Update #MSG_MOVE_AXIS c=18
2021-03-30 18:12:03 +02:00
3d-gussner
99893d5066
Define #MSG_MMU_CONNECTED c=18
2021-03-30 18:11:22 +02:00
3d-gussner
77a7a92a42
Define MSG_MMU_LOAD_FAILED c=20
2021-03-30 18:08:13 +02:00
3d-gussner
4d9dffb042
Define #MSG_MEASURED_SKEW c=13
2021-03-30 18:06:43 +02:00
3d-gussner
1e2dde9a52
Update #MSG_MEASURE_BED_REFERENCE_HEIGHT_LINE1 c=20 r=3
2021-03-30 18:02:27 +02:00
3d-gussner
afb7c82e26
Update #MSG_LOAD_TO_NOZZLE c=18
2021-03-30 18:00:20 +02:00
3d-gussner
2408bc9f2e
Update MSG_LOADING_COLOR c=20
2021-03-30 17:58:51 +02:00
3d-gussner
62ecbb3ae3
Update #MSG_BABYSTEP_Z c=18
2021-03-30 17:57:50 +02:00
3d-gussner
50e69fcca8
Update #MSG_NO c=3
2021-03-30 17:53:58 +02:00
3d-gussner
75c0de741b
Update #MSG_AUTO_DEPLETE c=13
2021-03-30 17:52:59 +02:00
3d-gussner
ddf47a3cac
Update #MSG_NA c=3, #MSG_OFF c=3, #MSG_ON c=3
2021-03-30 17:51:31 +02:00
3d-gussner
d1813890a8
Update #MSG_STOPPED c=20
2021-03-30 17:49:02 +02:00
3d-gussner
a9ed513979
Update #MSG_STOP_PRINT c=18
2021-03-30 17:48:06 +02:00
3d-gussner
46367c2a33
Update #MSG_STEALTH c=7, #MSG_SILENT c=7, #MSG_NORMAL c=7
2021-03-30 17:46:37 +02:00
3d-gussner
3d848328ed
Update #MSG_AUTO_POWER c=10
2021-03-30 17:42:33 +02:00
3d-gussner
8771519880
Update #MSG_HIGH_POWER c=10
2021-03-30 17:41:51 +02:00
3d-gussner
afabfa789d
Update #MSG_MODE c=6
2021-03-30 17:41:09 +02:00
3d-gussner
dc56b74263
Update #MSG_MODE c=9
2021-03-30 17:39:43 +02:00
3d-gussner
2a08a6e441
Update #MSG_SELFTEST_WIRINGERROR c=17
2021-03-30 17:37:50 +02:00
3d-gussner
e6ea843e62
Update #MSG_SELFTEST_MOTOR c=18
2021-03-30 17:36:39 +02:00
3d-gussner
35b000faea
Update MSG_RESUMING_PRINT c=20
2021-03-30 17:34:36 +02:00
3d-gussner
557486ee0b
Update MSG_REFRESH c=18
2021-03-30 17:34:00 +02:00
3d-gussner
54f594238b
Update #MSG_NOZZLE c=12
2021-03-30 17:33:15 +02:00
3d-gussner
a878056be3
Update MSG_BACK c=18
2021-03-30 17:32:04 +02:00
3d-gussner
610ba9bc45
Update #MSG_CARD_MENU c=18
2021-03-30 17:31:18 +02:00
3d-gussner
5eb14dc433
Update #MSG_MAGNETS_COMP c=13
2021-03-30 17:29:56 +02:00
3d-gussner
12372d6525
Update #MSG_Z_PROBE_NR c=14
2021-03-30 17:28:43 +02:00
3d-gussner
7e2c272839
Update #MSG_MESH c=12
2021-03-30 17:27:02 +02:00
3d-gussner
bc8a23a0c6
Update #MSG_TOSHIBA_FLASH_AIR_COMPATIBILITY c=8
2021-03-30 17:25:35 +02:00
3d-gussner
3367d7f8fa
Update #MSG_SD_CARD c=8
2021-03-30 17:24:45 +02:00
3d-gussner
e8c3ba89dc
Update #MSG_MMU_MODE c=8
2021-03-30 17:23:29 +02:00
3d-gussner
532c7438d8
Update #MSG_NOZZLE_DIAMETER c=10, MSG_GCODE c=8
2021-03-30 17:19:00 +02:00
3d-gussner
0a634f7d48
Update #MSG_FIRMWARE c=8
2021-03-30 17:16:31 +02:00
3d-gussner
39b8a35f3a
Update #MSG_MODEL c=8
2021-03-30 17:15:48 +02:00
3d-gussner
5b843c3a4d
Update #MSG_STRICT c=8
2021-03-30 17:14:49 +02:00
3d-gussner
f60ba6de87
Update #MSG_WARN c=8
2021-03-30 17:13:56 +02:00
3d-gussner
b465c96327
Update #MSG_NONE c=8
2021-03-30 17:13:09 +02:00
D.R.racer
cdcc06f376
SDFile - fix errorneous offset computation
...
... my fault, I was originally too optimistic about the overflow
Fixes #3077
PFW-1233
2021-03-30 11:33:42 +02:00
DRracer
a251dcc14e
Merge pull request #3064 from 3d-gussner/PFW-1222
...
PFW-1222: Disable M120 M121
2021-03-30 10:09:47 +02:00
DRracer
e76b0c40a8
Merge pull request #3066 from espr14/PFW-1223
...
Calibration: detect biased PINDA and retry calibration PFW-1223
2021-03-30 10:08:16 +02:00
3d-gussner
c4f80642b3
Update #MSG_MAIN c=18
2021-03-30 09:52:52 +02:00
3d-gussner
4417deb9ea
Update #MSG_SOUND_BLIND c=7, #MSG_SOUND_LOUD c=7, MSG_SOUND_ONCE c=7
2021-03-30 09:50:21 +02:00
3d-gussner
e4ed1ffc17
Update #MSG_SOUND c=9
2021-03-30 09:46:20 +02:00
3d-gussner
2ce5d3a840
Update #MSG_RPI_PORT c=13
2021-03-30 09:44:13 +02:00
3d-gussner
2ca8a23e4a
Update #MSG_SORT_ALPHA c=8 #MSG_SORT_TIME c=8
2021-03-30 09:42:53 +02:00
3d-gussner
c85ebb4aa3
Update #MSG_SORT c=7
2021-03-30 09:40:26 +02:00
3d-gussner
440ec49a36
Update #MSG_SETTINGS c=18
2021-03-30 09:38:33 +02:00
3d-gussner
6900c206cd
Define #MSG_SEL_PREHEAT_TEMP c=20 r=6
2021-03-30 09:36:32 +02:00
3d-gussner
12dc48ff1a
Update #MSG_BELTTEST c=18
2021-03-30 09:34:41 +02:00
3d-gussner
b697117654
Update #MSG_SELFTEST c=18
2021-03-30 09:33:49 +02:00
3d-gussner
9bc702ae0a
Update #MSG_SELFTEST_OK c=20
2021-03-30 09:32:27 +02:00
3d-gussner
00fedbb08a
Update MSG_LANGUAGE_SELECT c=18
2021-03-30 09:30:04 +02:00
3d-gussner
164226c739
Define #MSG_RIGHT c=10
2021-03-30 09:29:07 +02:00
3d-gussner
2daf1d9114
Define #MSG_LEFT c=10
2021-03-30 09:26:50 +02:00
3d-gussner
169f8983b6
Define #MSG_ADDITIONAL_SHEETS c=20 r=9
2021-03-30 09:23:35 +02:00
3d-gussner
a82ca3def4
Update #MSG_WATCH c=18
2021-03-30 09:21:50 +02:00
3d-gussner
0139bb5a5e
Update #MSG_CHANGE_SUCCESS c=20
2021-03-30 09:20:57 +02:00
3d-gussner
0e86ab88fd
Update #MSG_FILAMENTCHANGE c=18
2021-03-30 09:20:01 +02:00
3d-gussner
9c0300df66
Update #MSG_HEATING c=20
2021-03-30 09:18:11 +02:00
3d-gussner
280a3c4d3a
Update #MSG_PRUSA3D_HOWTO c=18
2021-03-30 09:16:14 +02:00
3d-gussner
12bd2f1a09
Update #MSG_PRUSA3D c=18
2021-03-30 09:15:21 +02:00
3d-gussner
4e4fb7a59f
Update #MSG_PRUSA3D_FORUM c=18
2021-03-30 09:14:20 +02:00
3d-gussner
10c586b577
Update #MSG_FLOW c=15
2021-03-30 09:13:09 +02:00
3d-gussner
db07d55c29
Define #MSG_MMU_FIX_ISSUE c=20 r=4
2021-03-30 09:11:19 +02:00
3d-gussner
7c9891d85e
Update #MSG_FSENSOR c=12
2021-03-30 09:09:11 +02:00
3d-gussner
7a99f63ffd
Define #MSG_FAIL_STATS c=18
2021-03-30 09:06:59 +02:00
3d-gussner
d427563e2b
Define #MSG_MMU_FAIL_STATS c=18
2021-03-30 09:05:18 +02:00
3d-gussner
1b4241f031
Update #MSG_ERROR c=10
2021-03-30 09:03:38 +02:00
3d-gussner
1b8ca77b0c
Define #MSG_MMU_CUTTING_FIL c=18
2021-03-30 09:01:58 +02:00
3d-gussner
b6031c02a8
Update #MSG_DISABLE_STEPPERS c=18
2021-03-30 08:59:27 +02:00
3d-gussner
69b9acdfc1
Define #MSG_CRASH_RESUME c=20 r=3
2021-03-30 08:57:42 +02:00
3d-gussner
411caddc55
Define #MSG_CHOOSE_FIL_1ST_LAYERCAL c=20 r=7
2021-03-30 08:14:46 +02:00
3d-gussner
2d2dc23e81
Define #MSG_CALIBRATING_HOME c=20
2021-03-30 08:12:20 +02:00
3d-gussner
c8af50d344
Define #MSG_COPY_SEL_LANG c=20 r=3
2021-03-30 08:09:08 +02:00
3d-gussner
71638b49fc
Update #MSG_COOLDOWN c=18
2021-03-30 08:05:54 +02:00
3d-gussner
5f9b66a23a
Update #MSG_NOT_COLOR c=19
2021-03-30 08:04:39 +02:00
3d-gussner
02ff05639b
Define MSG_CHECKING_FILE c=17
2021-03-30 08:01:26 +02:00
3d-gussner
f2298b1a46
Update #MSG_SD_REMOVED c=20
2021-03-30 07:57:42 +02:00
3d-gussner
1e2f5c8323
Update #MSG_MENU_CALIBRATION c=18
2021-03-30 07:55:19 +02:00
3d-gussner
3733c42d38
Update #MSG_HOMEYZ_DONE c=20
2021-03-30 07:54:11 +02:00
3d-gussner
79aa6b198d
Update #MSG_HOMEYZ c=18
2021-03-30 07:52:24 +02:00
3d-gussner
fa0382fd3e
Update #MSG_CALIBRATE_BED c=18
2021-03-30 07:50:54 +02:00
3d-gussner
2985c6bd6b
Update #MSG_BED c=13
2021-03-30 07:49:37 +02:00
3d-gussner
7c906dd0b1
Update #MSG_BED_CORRECTION_MENU c=18
2021-03-30 07:44:16 +02:00
3d-gussner
4d464b79f4
Update MSG_BED_HEATING c=20
2021-03-20 17:30:44 +01:00
3d-gussner
3ee23af7b7
Update MSG_BED_DONE c=20
2021-03-20 16:04:52 +01:00
3d-gussner
ba0f2b2501
Update MSG_LOOSE_PULLEY c=20
2021-03-20 07:11:41 +01:00
3d-gussner
3fcc81ebdb
Update MSG_SELFTEST_ENDSTOP c=16
2021-03-20 07:11:07 +01:00
3d-gussner
17df4e1c8d
Update MSG_SELFTEST_ENDSTOPS c=20
2021-03-20 07:10:09 +01:00
3d-gussner
4a6c53daf8
Update MSG_SELFTEST_PLEASECHECK c=20
2021-03-20 07:09:33 +01:00
3d-gussner
b3d3feef4d
Update MSG_SELFTEST_ERROR c=20
2021-03-20 07:08:48 +01:00
3d-gussner
5d167ce813
Update MSG_SELFTEST_NOTCONNECTED c=20
2021-03-20 07:08:20 +01:00
3d-gussner
625604d704
Update MSG_SELFTEST_HEATERTHERMISTOR c=20
2021-03-20 07:07:14 +01:00
3d-gussner
b86ad11b68
Update MSG_SELFTEST_BEDHEATER c=20
2021-03-20 07:06:37 +01:00
3d-gussner
b3b062e4ba
Update MSG_SELFTEST_SWAPPED c=16
2021-03-20 07:05:47 +01:00
3d-gussner
b6684f6114
Update MSG_SELFTEST_AXIS c=16
2021-03-20 07:05:03 +01:00
3d-gussner
bc9f6b6ae6
Update MSG_SELFTEST_AXIS_LENGTH c=20
2021-03-20 07:03:47 +01:00
3d-gussner
83cbfda113
Update MSG_AUTO_HOME c=18
2021-03-20 07:02:43 +01:00
3d-gussner
fe1b4e50be
Update MSG_AMBIENT c=14
2021-03-20 06:59:54 +01:00
3d-gussner
178fe36dc7
Create MSG_CANCEL c=9
...
Delete ">Cancel"
Samed 10 bytes
Updated MSG_MEASURED_OFFSET c=20
2021-03-20 06:30:26 +01:00
3d-gussner
1c965cd988
Update MSG_MEASURED_OFFSET c=20
2021-03-20 06:18:41 +01:00
3d-gussner
92acac453f
Update MSG_MMU_POWER_FAILS c=15
2021-03-20 06:16:11 +01:00
3d-gussner
2a848923ea
Update MSG_BED_LEVELING_FAILED_POINT_LOW c=20 r=6
...
as Dutch translation is longer
2021-03-19 18:50:29 +01:00
3d-gussner
baabc0bd1e
Fix typo "didnt" to "didn't"
2021-03-19 18:49:13 +01:00
3d-gussner
b806c017cb
Update MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR c=20 r=6
...
as Polish translation is longer
2021-03-19 18:47:58 +01:00
3d-gussner
542ff58529
Update MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR c=20 r=6
...
as Polish translation is longer
2021-03-19 18:47:09 +01:00
3d-gussner
147fddd060
Update MSG_CALIBRATE_BED_RESET c=18
2021-03-19 18:41:01 +01:00
3d-gussner
6300211268
Update MSG_PLACE_STEEL_SHEET c=20 r=5
...
as Italian translation is longer
2021-03-19 18:37:23 +01:00
3d-gussner
79a148bb14
Update #MSG_DEFAULT_SETTINGS_LOADED c=20 r=6
...
as Italian translation is longer
2021-03-19 18:34:39 +01:00
3d-gussner
9e60953d44
Update "G-code sliced for a newer firmware. Please update the firmware. Print cancelled."
...
as French translation is longer
2021-03-19 18:14:03 +01:00
3d-gussner
a09f2c2f2d
Update "G-code sliced for a newer firmware. Continue?"
...
as French translation is longer
2021-03-19 18:12:16 +01:00
3d-gussner
41022d7d60
Update "Choose a filament for the First Layer Calibration and select it in the on-screen menu."
...
as French translation is longer
2021-03-19 18:07:04 +01:00
3d-gussner
813aabab56
Update "Select nozzle preheat temperature which matches your material." c=20 r=6
...
as Spanish translation is longer
2021-03-19 18:03:06 +01:00
3d-gussner
d52a7326be
Update "Please insert filament into the extruder, then press the knob to load it." c=20 r=6
...
as German translation is longer
2021-03-19 17:55:03 +01:00
3d-gussner
cc29a9485e
Update "If you have additional steel sheets, calibrate their presets in Settings - HW Setup - Steel sheets." c=20 r=9
...
as German translation is longer
2021-03-19 17:52:54 +01:00
3d-gussner
03a13ace5a
Update "Printer nozzle diameter differs from the G-code. Please check the value in settings. Print cancelled." c=20 r=9
...
as French translation is longer
2021-03-19 17:47:35 +01:00
3d-gussner
17c015f5c0
Update "Printer nozzle diameter differs from the G-code. Continue?" c=20 r=5
2021-03-19 17:44:07 +01:00
3d-gussner
ba9e26f444
Update #MSG_GCODE_DIFF_PRINTER_CANCELLED c=20 r=8
2021-03-19 17:37:24 +01:00
3d-gussner
1bba2255c1
Update MSG_WAITING_TEMP c=20 r=4
2021-03-19 17:34:15 +01:00
3d-gussner
bab4994b89
Update #MSG_FIND_BED_OFFSET_AND_SKEW_LINE1 c=20 r=2
2021-03-19 16:52:24 +01:00
3d-gussner
6a54196862
Update "Now remove the test print from steel sheet." c=20 r=4
2021-03-19 16:42:21 +01:00
3d-gussner
8cbf0b3318
Update "Crash detected. Resume print?" c=20 r=2
2021-03-19 16:38:53 +01:00
3d-gussner
891861d475
Update "G-code sliced for a different level. Continue?" c= r= values
2021-03-19 16:35:53 +01:00
3d-gussner
f9a92e2277
Update "Y distance from min" c=20
2021-03-19 16:32:13 +01:00
3d-gussner
1f6834204f
Update "Select filament:" c= value
2021-03-19 16:30:04 +01:00
3d-gussner
cbe2a4d301
Update MSG_CHECK_IDLER c=20 r=5
2021-03-19 16:22:05 +01:00
3d-gussner
4dc99d970d
Update "MMU needs user attention." c= r= values
2021-03-19 16:17:26 +01:00
3d-gussner
0928c3d133
Update "Lin. correction" c=18
2021-03-19 16:14:16 +01:00
3d-gussner
ce42f2c2a5
Update MSG_BED_HEATING_SAFETY_DISABLED c=20 r=4
2021-03-19 16:11:42 +01:00
3d-gussner
5f9d6a0401
Update "Fail stats" c=18
2021-03-19 16:08:57 +01:00
3d-gussner
878200ecae
Update "Fail stats MMU" c=18
2021-03-19 16:06:54 +01:00
3d-gussner
5cbb5b0e17
Update "Printer nozzle diameter differs from the G-code. Please check the value in settings. Print cancelled." c= r= values
2021-03-19 15:53:36 +01:00
3d-gussner
c39b22724d
Update "G-code sliced for a different level. Please re-slice the model again. Print cancelled." c= r= values
2021-03-19 15:51:10 +01:00
3d-gussner
5a36b49cee
Update "Select temperature which matches your material." c= r= values
2021-03-19 15:45:32 +01:00
3d-gussner
41db8eed30
Update "Select nozzle preheat temperature which matches your material." c= r= values
2021-03-19 15:42:17 +01:00
3d-gussner
f319dede23
Update "Please insert filament into the first tube of the MMU, then press the knob to load it." c= r= values
2021-03-19 15:39:57 +01:00
3d-gussner
286c1931a5
Update #MSG_WIZARD_LOAD_FILAMENT c=20 r=5
2021-03-19 15:33:13 +01:00
3d-gussner
6a267e5a9a
Update "Press the knob to resume nozzle temperature." c= r= values
2021-03-19 15:30:13 +01:00
3d-gussner
b001eaec8d
Update "If you have additional steel sheets, calibrate their presets in Settings - HW Setup - Steel sheets." c= r= values
2021-03-19 15:24:28 +01:00
3d-gussner
18a58c504d
Update #MSG_BED_HEATING_SAFETY_DISABLED c=20 r=3
2021-03-19 15:21:42 +01:00
3d-gussner
ee8c9227cf
Update #MSG_SELFTEST_FANS c=20
2021-03-19 15:16:23 +01:00
3d-gussner
ba73d14511
Update "Fix the issue and then press button on MMU unit." c= r= values
2021-03-19 15:13:56 +01:00
3d-gussner
0c18ddcb10
Update "Choose a filament for the First Layer Calibration and select it in the on-screen menu." c= r= values
2021-03-19 15:10:18 +01:00
3d-gussner
89900a5109
Update "G-code sliced for a newer firmware. Please update the firmware. Print cancelled." c= r= values
2021-03-19 15:07:14 +01:00
3d-gussner
49e8f84916
Update "G-code sliced for a newer firmware. Continue?" c= r= values
2021-03-19 15:02:53 +01:00
3d-gussner
fd7aa82dce
Update MSG_BED_SKEW_OFFSET_DETECTION_POINT_NOT_FOUND c=20 r=6
2021-03-19 15:00:00 +01:00
3d-gussner
1ed7d8fc4b
Update MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_RIGHT_FAR c=20 r=5
2021-03-19 14:42:17 +01:00
3d-gussner
dbec06086c
Update MSG_BED_SKEW_OFFSET_DETECTION_FAILED_FRONT_BOTH_FAR c=20 r=5
2021-03-19 14:40:04 +01:00
3d-gussner
37ec18596b
Update #MSG_USERWAIT c= value
2021-03-19 14:29:15 +01:00
3d-gussner
dd4c02aa15
Update "Heating disabled by safety timer." c= r= values
2021-03-19 14:23:46 +01:00
3d-gussner
9a719fd0b9
Update "Calibrating home" c= value
2021-03-19 14:17:30 +01:00
DRracer
8ac1d5b95e
Attempt to workaround the M73 C0|D0 visual issue ( #3067 )
...
Attempt to workaround the M73 C0|D0 visual issue
This is an attempt to enable alternation of time to print finish and time
to color change even in the last minute of time to color change, i.e. be
able to print "0:00C".
The proposed solution leverages the capability of the current FW to read
float values from the C|D parameter. This could have the raw benefit of
being able still to alternate this time on the LCD as "0:00C" (or
"<1min") if the slicer sends a non-zero but <1 time right before the
color change.
Co-authored-by: D.R.racer <drracer@drracer.eu>
Co-authored-by: 3d-gussner <3d.gussner@gmail.com>
2021-03-19 10:18:28 +01:00
D.R.racer
f31189e5be
Version changed (3.10.0-RC1 build 4078)
2021-03-17 12:30:54 +01:00
espr14
99206884b5
Calibration: detect biased PINDA and retry calibration
...
PFW-1223
2021-03-12 05:04:49 +01:00
3d-gussner
6355458052
Add def `M120_M121_ENABLED` to `Configuration_adv.h`
2021-03-11 15:00:49 +01:00
3d-gussner
832e881955
Disable M120 M121
2021-03-10 17:46:19 +01:00
espr14
eb4cf1a77f
Calibration: return XY back after Z search
...
PFW-1217
2021-03-10 10:27:57 +01:00
awenelo
9b21ebd376
Fix numbering for custum sheet hex values
2021-03-07 12:14:03 -05:00
awenelo
09b3632d43
Final changes + cleanup
2021-03-07 09:44:33 -05:00
awenelo
144fc197a5
Fix index number
2021-03-06 14:20:06 -05:00
awenelo
c777199d34
Simplify sheet numbering
2021-03-06 13:26:28 -05:00
DRracer
6489c6f17f
Merge pull request #3036 from wavexx/remove_is_buffer_empty
...
Remove duplicate function is_buffer_empty()
2021-03-05 08:28:40 +01:00
awenelo
53a3772f09
Add satin sheet
2021-03-04 10:14:29 -05:00
Alex Voinea
f0eedf301d
optiboot: check boot_app_magic as well before early exit
2021-03-03 16:31:55 +02:00
Alex Voinea
c951bea627
Remove unused/broken bootapp code
2021-03-03 16:31:30 +02:00
Alex Voinea
c95d2fcbd7
Use avr-libc wdt library
2021-03-03 16:31:06 +02:00
DRracer
073cbe0339
Merge pull request #3048 from DRracer/bootappflags-bad-addr
...
Fix flashing languages with inline wdr instructions
2021-03-03 13:46:08 +01:00
Alex Voinea
8ced0579d6
Move SerialHead declaration outside of loops
2021-03-03 14:35:37 +02:00
DRracer
c1849f5cc2
Merge pull request #2405 from leptun/MK3_NEW_SD_COMPILATION
...
⚡ ️New SD menu
2021-03-03 11:45:04 +01:00
Alex Voinea
026145b78b
Fix CFM message end pointer
2021-03-03 12:31:14 +02:00
D.R.racer
3922bf2877
Fix flashing languages with inline wdr instructions
...
A fairly mysterious situation happened recently in the MK3 branch.
After merging #3033 (change watchdogReset() into a single inline wdr instruction)
we were unable to flash languages.
Since it looked similarly suspicious like issue #2954 we started investigating deeply.
The problem was in the code as described in the comment in this PR.
2021-03-03 11:19:39 +01:00
3d-gussner
7fa93dfa1b
Fix back from submenu `Community made` to `Select language` after factory reset
2021-03-01 09:18:47 +01:00
3d-gussner
fbcbba78a3
Merge remote-tracking branch 'upstream/MK3' into MK3_Dutch
2021-03-01 09:04:10 +01:00
DRracer
e9c3becb2c
Merge pull request #2572 from wavexx/fwretract_plan_sync
...
Always sync before manipulating the planner position in FWRETRACT
2021-03-01 08:26:57 +01:00
3d-gussner
6d7d9089f7
Add defines and templates for community languages
...
Add `Community made` submenu to `Select language`
2021-03-01 08:22:43 +01:00
3d-gussner
d0d4298249
Update EEPROM documentation for Service prep
2021-02-28 18:18:06 +01:00
3d-gussner
3e06a17810
Fix LCD output
2021-02-28 18:04:07 +01:00
Alex Voinea
28f21c8630
Fix bubblesort sorting speed. ShellSort is probably broken
2021-02-26 19:17:14 +02:00
Alex Voinea
6e0ecf5cd2
Remove redundant click sound in factory reset (MK3 merge issue)
2021-02-26 18:22:32 +02:00
DRracer
f3c422c40e
Merge pull request #3039 from 3d-gussner/PFW-910
...
Fix issue #3037
2021-02-26 12:07:10 +01:00
Alex Voinea
194438c130
Fix formatting
2021-02-26 09:54:57 +02:00
Alex Voinea
7faffa539a
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2021-02-26 09:48:46 +02:00
Alex Voinea
f346125948
Use BubbleSort by default. Disable ShellSort until I fix it
2021-02-26 09:18:59 +02:00
Alex Voinea
225c456ae6
Limit progressbar to LCD_WIDTH
...
for some stupid reason bubbleSort sometimes exceeds the total value :)
2021-02-26 09:18:28 +02:00
Alex Voinea
c63f92ae52
Invert shellSort logic
2021-02-26 08:57:49 +02:00
Alex Voinea
204da1cc3f
Factory reset and check_file progress bar
2021-02-25 21:04:05 +02:00
Alex Voinea
8821439878
Cardreader progressbar code
2021-02-25 20:25:32 +02:00
Alex Voinea
afa7c7ab03
Remove forgotten (?) undef at the end of menu.cpp
2021-02-25 19:29:14 +02:00
Alex Voinea
54b2edbc8c
Update debugging code
2021-02-25 19:26:01 +02:00
Yuri D'Elia
e8f6c9fac9
Exit the _lcd_move* menus when homing/leveling
...
Instead of resetting the encoder status when homing or leveling, simply
exit the move/liveZ menu.
When transitioning from idle->printing, axis move shouldn't be allowed
as it would insert moves during a print. This is always wrong.
The menu must be always dismissed. Instead of checking all places where
the menu could be active, automatically dimiss the menu from within
_lcd_move when homing/MBL is happening. The long-push function and the
settings menu checks if "axis move" is possible, and thus
prevent the user to re-enter the menu already.
When doing the first layer calibration, the _lcd_babystep_z is
automatically brought back after MBL has completed.
Technically we should do the same when entering/exiting the paused state
in _lcd_move. However, it's better to dismiss _any_ menu in
stop_and_save_print_to_ram/restore_print_from_ram_and_continue instead.
To be done later...
2021-02-25 17:33:59 +01:00
Yuri D'Elia
b4f5633bde
Enable "Move axis" and "Disable steppers" only when idle
...
Move axis queues movements, which disrupts a normal print, homing (when
XY is combined) or MBL.
Likewise, "Disable steppers" only makes sense when the printer is fully
idle.
Only allow such actions when the printer is not active and/or in the
paused state.
2021-02-25 17:33:59 +01:00
Yuri D'Elia
14a1a93bc8
Include probing/MBL in the PRINTER_ACTIVE check
...
This prevents to perform disruptive actions during homing or between MBL
probes, which would result in a failure.
2021-02-25 17:33:59 +01:00
Yuri D'Elia
28e9c814fc
Remove code duplication for babystep insertion
2021-02-25 16:44:16 +01:00
Yuri D'Elia
019c818c05
Insert babysteps using CRITICAL_SECTION instead of cli/sei
2021-02-25 16:44:16 +01:00
Yuri D'Elia
f5e419530b
Inhibit LiveZ from the settings menu during mesh bed leveling
2021-02-25 16:44:16 +01:00
Yuri D'Elia
ff4e53d2d1
Prevent babysteps in more unsafe situations through homing_flag
...
Further restrict babystep insertion when the lcd_update is enabled by
toggling homing_flag when probing Z (where Z shouldn't be touched
anyway as it would disrupt the measurement)
Also reset the encoder value during mesh leveling.
2021-02-25 16:44:16 +01:00
Yuri D'Elia
c241adec5f
Ensure babystep_apply|undo always uses the planner
...
The code around these calls _requires_ that the steps are immediately
processed and/or added to the subsequent planner moves.
The only part that doesn't care about immediate insertion is the
direct user-insertion though the lcd encoder.
2021-02-25 16:44:16 +01:00
DRracer
ffae16bf95
Merge pull request #3033 from DRracer/wdr-inline
...
Make watchdogReset() force_inline
2021-02-25 13:53:34 +01:00
3d-gussner
d9b820690e
Merge remote-tracking branch 'upstream/MK3' into MK3_Dutch
...
fix merge issues
2021-02-25 09:56:23 +01:00
DRracer
7b22895f23
Merge pull request #3032 from DRracer/service-prep2
...
Make a special welcome message for Shipping/Service prep.
2021-02-25 08:51:47 +01:00
DRracer
9ed713ab13
Merge pull request #3015 from 3d-gussner/PFW-1174
...
PFW-1174: Add pause/resume for USB/host prints via LCD menu
2021-02-25 08:50:41 +01:00
3d-gussner
657767f073
Merge branch 'MK3' into MK3_Fix_LCD_stats
...
Fix merge issue
2021-02-24 09:01:30 +01:00
3d-gussner
076613fd97
Show `Fil. sensor` in Support::Sensor info only if IR Sensor detected
2021-02-23 15:20:08 +01:00
3d-gussner
08a6a4b25e
Enable Filament sensor action during print even if in Support::Sensor info
2021-02-23 15:19:03 +01:00
D.R.racer
734e497cd0
Move wizard msgs into messages.h/c + add more translation markers
2021-02-23 15:09:19 +01:00
3d-gussner
fdff5d84b2
Move Filament sensors to Support -> Sensor Info
2021-02-23 08:52:40 +01:00
3d-gussner
8d4176a530
Add "Fan check [On|Off]" menu to tune
...
User can en/disable the fan check during print. This is very useful in case of false positive
fan errors to let the user to decide to finish print with "faulty" fan.
2021-02-23 07:24:33 +01:00
3d-gussner
30b60e44d2
`|| isPrintPaused` is already in `PRINTER_ACTIVE`
2021-02-22 18:21:20 +01:00
3d-gussner
fd154e4b69
Again revert Settings
2021-02-22 18:10:43 +01:00
3d-gussner
5894883324
Fix USB/host FAN Error resume
...
Show Settings during Pause also for USB/host prints
2021-02-22 16:37:01 +01:00
3d-gussner
9110ffd4ae
Revert `M602`
2021-02-22 16:36:21 +01:00
3d-gussner
cbe207eb59
Fix issue #3037
...
`starttime` is only set for SD prints via gcode `M24 and M32`
2021-02-20 13:18:53 +01:00
Yuri D'Elia
461d3f6749
Remove duplicate function is_buffer_empty()
...
Use cmd_buffer_empty() instead
2021-02-19 17:06:00 +01:00
D.R.racer
87f416f303
Keep wizard flag==2 even when a user restarts during Z-calibration
...
i.e. prevent jumping into the standard wizard if reset during Z-
calibration
2021-02-18 15:39:29 +01:00
3d-gussner
495dcee066
Show LCD Settings during pause
2021-02-18 12:09:43 +01:00
3d-gussner
a109d20506
Merge remote-tracking branch 'upstream/MK3' into PFW-1174
...
Fix merge issues
2021-02-18 11:05:31 +01:00
3d-gussner
c1d8e6660b
Indentations
2021-02-18 10:07:40 +01:00
DRracer
adf347fdf1
Merge pull request #3034 from 3d-gussner/MK3_PFW-960
...
PFW-960 Improve M0/M1/M117
2021-02-18 09:59:01 +01:00
3d-gussner
291ee8e46d
Indentations
2021-02-18 09:53:14 +01:00
3d-gussner
75a385d614
Indentations
2021-02-18 09:10:28 +01:00
D.R.racer
4e768057e7
Use standard wdt_reset() from AVR lib
...
which translates to the one `wdr` instruction like before
+ wrap configuration of watchdog into cli/sei
2021-02-17 15:59:52 +01:00
3d-gussner
2b4cf8d56e
Fix FANCHECK build error
2021-02-17 13:52:31 +01:00
D.R.racer
a456c4a52d
Make watchdogReset() force_inline
...
It makes no sense keeping watchdogReset as a separate function which
must be called, since it only contains one instruction: "wdr".
Not only was the code larger by 32 bytes in total, but also much slower
(call+ret take 4 cycles together for no reason in this case).
Surprisingly, doing just this on FW 3.9.3 solves issue #2954 on the one
affected EINSY board, even though it makes not much sense (there must be
some other timing issue).
2021-02-17 13:04:46 +01:00
D.R.racer
c3bea4d71c
Make a special welcome message for shipping/service prep
...
Another request from our Service dept. - the user shall be prevented
from skipping the intro wizard, because otherwise some preset/calibrated
features will look like not done - especially live-z calibration.
And since there are users, who send a machine to service to perform 1st
layer calibration only, they must not omit the Z-calibration at the
start after shipping.
2021-02-17 12:53:56 +01:00
3d-gussner
c79bce010d
Don't show Settings during pause
2021-02-17 12:18:30 +01:00
DRracer
7a84ad71dc
Merge pull request #3023 from DRracer/service-prep
...
Add Service prep. item into Factory reset
2021-02-17 10:43:08 +01:00
D.R.racer
dbb0269bd4
Make indentation consistent with surrounding code in factory_reset()
2021-02-17 08:27:49 +01:00
3d-gussner
afc15b42bb
Indentations
2021-02-17 08:13:32 +01:00
3d-gussner
59c2b7e795
Fix Fan error issues.
2021-02-17 07:42:12 +01:00
3d-gussner
66ea1bdfba
Indentations
2021-02-16 12:31:23 +01:00
3d-gussner
d6c6517fcd
Back to Status after Resuming
2021-02-16 07:27:46 +01:00
3d-gussner
c2637d9430
Documentation Show Main Menu
2021-02-15 18:35:04 +01:00
3d-gussner
c07bcd172a
Fix NO Stop print during MBL
2021-02-15 18:34:08 +01:00
3d-gussner
583993b7e2
Back to "Status" after gcode `M0/M1`
2021-02-15 15:25:04 +01:00
3d-gussner
25928232e4
Merge remote-tracking branch 'upstream/MK3' into MK3_PFW-960
2021-02-15 13:06:47 +01:00
3d-gussner
9071a9f8fd
Gcode `M1` must have a string while `M0` it is optional
...
As the `M0/M1` moved to the beginning of the parser
- parser would not be able to "find" `M1nn` command if the query was `M1` instead of `M1 `
- to be able to "stop/halt" without sending a string and display default message use gcode `M0`
- as there are no `M0nn` gcodes the parser can query `M0` without additional space needed as in `M1 `
2021-02-15 12:51:12 +01:00
3d-gussner
fc270a356a
Fix indentations
2021-02-15 12:50:40 +01:00
DRracer
86e117679c
Merge pull request #3011 from 3d-gussner/MK3_translation_0121
...
Fix few translations introduced with #2982
2021-02-15 11:16:54 +01:00
3d-gussner
c95a8e13d7
Fix indentations to 4 spaces per tab
2021-02-12 11:47:02 +01:00
3d-gussner
f810047a5c
Switch between Remaing and Change time every few seconds
...
- If `M73` `R,S,C,D` values set the LCD Info screen clock switchs between Remaining and Change time
- If Remaining time is 0 while Change time is >0 the clock switchs between Change time and actual printing time
- If Change is 0 while Remaining time is >0 the clock shows the Remaining time
- If both are 0 the clock shows the actual printing time
- `M73 C` values are shown in "Normal" mode
- `M73 D` values are shown in "Stealth" mode
- Changing the speed will try to calculate the espected times and show `?` behind `R` or `C`
2021-02-12 11:29:47 +01:00
3d-gussner
d2e60aee90
Use `CLOCK_INTERVAL_TIME`
2021-02-11 10:45:26 +01:00
3d-gussner
cf982b0d4d
Fix timer issue
...
The remaining time stays for ~5 seconds while the change time stays just for ~1 second
2021-02-11 10:20:06 +01:00
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
b13d4b71d4
Add Change time behind existing message
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
83e791cbbe
Fix temp Build number
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
f4ca6ee59d
Fix typo
2021-02-11 07:47:43 +01:00
3d-gussner
cca90da64b
Include silent mode on time change
...
- depends on difference between print time remaining NORMAL vs SILENT mode
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
Alex Voinea
1c1ff722c0
Move sort_order to stack during ::presort
2021-02-10 18:16:26 +02:00
Alex Voinea
8397dae386
Remove comment
2021-02-10 18:15:18 +02:00
Alex Voinea
b4de57c365
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2021-02-10 17:08:28 +02:00
Yuri D'Elia
e010ca8ceb
Fix conflicting extern/inline declarations
...
The functions find_bed_induction_sensor_point_* have conflicting
extern and inline declarations.
These are used outside of the compilation unit only, and thus there's no
point in defining them inline.
This causes a compilation failure at O1 and above, which is strangely
avoided at Os.
2021-02-10 14:50:13 +01:00
Alex Voinea
a95d497289
Remove commented out code and deprecated comments
2021-02-10 13:45:30 +02:00
Alex Voinea
8a068d4d36
Remove redundant position=0 in ::presort
2021-02-10 13:44:39 +02:00
Alex Voinea
b72ce00183
Reduce reserved space on stack for LONG_FILENAME_LENGTH by 1 in presort
...
LONG_FILENAME_LENGTH already includes a +1 for the \0 string termination
2021-02-10 13:43:46 +02:00
D.R.racer
7ad922e87b
Report fname instead of name
...
looks like being omitted in MK3 upstream fixes
2021-02-10 12:38:04 +01:00
D.R.racer
8d39880abf
Fix compilation against latest MK3 branch
2021-02-10 12:23:02 +01:00
DRracer
7aa4595211
Merge branch 'MK3' into thumbnails2
2021-02-10 12:15:57 +01:00
D.R.racer
c1ead75a73
Remove commented debug code
...
the whole PR is ready for review after successfull tests
2021-02-10 11:18:59 +01:00
3d-gussner
8bc46248f6
avoid having the block body twice in the code. Thanks to @DRracer
2021-02-10 11:09:29 +01:00
3d-gussner
e5711ea84f
Indentation to 4 spaces for tabs
2021-02-10 11:03:23 +01:00
Alex Voinea
a830d5b6b7
getfilename_next
2021-02-09 20:31:02 +02:00
Alex Voinea
8d1c5cbb27
Fix position table offset
2021-02-09 20:29:06 +02:00
Alex Voinea
e6ffc99ff5
Fix compiler bug ... again ...
...
:endit: :blobhydraulicpress:
2021-02-09 16:28:13 +02:00
Alex Voinea
d2a7c62b50
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2021-02-09 16:17:43 +02:00
DRracer
a47c971c75
Merge pull request #3010 from leptun/MK3_fix_M23
...
Fix M23
2021-02-09 15:06:51 +01:00
Alex Voinea
4fcbf95db6
apply RAII principle on the lsDive recursion limiter
2021-02-09 15:00:46 +02:00
D.R.racer
9ccda4c57f
Optimize code size
...
... looks like I've been able to reduce the code by 80B by using the
clamp999() function. There are other spots this function can be used as
well, I didn't touch those yet.
2021-02-09 09:10:23 +01:00
DRracer
e491b53f48
Merge branch 'MK3' into MK3_Fix_LCD_stats
2021-02-09 08:53:32 +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
DRracer
d5d44d30a7
Merge pull request #2305 from 3d-gussner/MK3-Fix_M120_M121
...
Follow RepRap Wiki G-codes documentation
2021-02-09 07:52:14 +01:00
D.R.racer
3668cdeb30
Add Service prep. item into Factory reset
...
upon request from our Service dept. - it is to do the same stuff like
Shipping prep., but keep the printer's stats intact. Still, this has to
be verified and may undergo some further changes.
2021-02-08 17:27:32 +01:00
D.R.racer
5f49d65546
Farmers' request - allow file sorting menu item
2021-02-08 15:43:08 +01:00
3d-gussner
92db282eca
Merge remote-tracking branch 'upstream/MK3' into PFW-960
2021-02-08 12:48:27 +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
3d-gussner
fb39e7296b
Uniform message `Press the knob`
2021-02-08 10:58:41 +01:00
Alex Voinea
c739aa9003
M23 full path support.
2021-02-07 21:51:44 +02:00
Alex Voinea
f5cde38a7c
Remove duplicit debug line
2021-02-06 21:06:37 +02: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
Voinea Dragos
f343e6432a
Fix diveSubfolder string termination
2021-02-06 12:55:51 +02:00
DRracer
2dfe21358f
Merge pull request #2838 from wavexx/m204_travel_acceleration
...
Implement M204 T (separate travel acceleration)
2021-02-05 16:27:50 +01:00
DRracer
77eb10000c
Merge pull request #2948 from 3d-gussner/PFW-1168
...
PFW-1168 Move Z up running xyz calibration
2021-02-05 16:18:07 +01:00
Alex Voinea
84d043d41b
Fix WorkDirDepth limit (for good this time)
2021-02-04 17:52:42 +02:00
Alex Voinea
90c0f33bc5
Fix farm filename when LFN is missing
2021-02-04 16:40:15 +02:00
Alex Voinea
080c44cb2e
Undo stupid hack for an error because of some compiler issue in the past
2021-02-04 16:37:24 +02:00
Alex Voinea
df163066fb
Fix "sorting files" messages for both ShellSort and BubbleSort
2021-02-04 15:44:15 +02:00
Alex Voinea
279c0aaa21
Fix double '>' bug and brutal refactoring
2021-02-04 14:21:37 +02:00
Yuri D'Elia
640e8d899b
Don't scroll one character past the filename end
2021-02-04 13:33:20 +02:00
Alex Voinea
8445f76eb9
Restructure for loop to work correctly in reverse
2021-02-04 13:26:15 +02:00
Alex Voinea
3c5c1e5167
Use enum for menu state code readability
2021-02-04 13:19:22 +02:00
Alex Voinea
ffc3a445ca
Remove even more dead code
2021-02-04 11:35:15 +02:00
Alex Voinea
d25b4a6bc9
Remove dead code (SDSORT_GCODE)
2021-02-03 19:18:13 +02:00
Alex Voinea
e52e68d4c1
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2021-02-03 18:30:36 +02:00
Alex Voinea
4c977cc335
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2021-02-03 18:28:18 +02:00
Yuri D'Elia
186ce0f4b3
Handle acceleration settings in UVLO/power panic
...
Acceleration settings need to be saved in UVLO, since these are often
changed/set during a print. This is especially important for travel and
retract acceleration, which is usually set once per-print.
Saving and restoring is not 100% correct.
We save the current front-end value, which might ahead of the backend
when UVLO is triggered. Print acceleration, likely the most significant,
should be saved in the block buffer to be accurate.
Acceleration needs to be restored after the UVLO Z repositioning is
performed, using an M204 command. This is correct, however we don't save
the _temporary_ max acceleration limits set via M201, which could be
higher than the saved limits (via M500). This could result in lower
clamped values compared to the original print.
Maximum acceleration/jerk/feedrate limits should _all_ be saved in UVLO
in the future.
2021-02-03 11:28:51 +01:00
Yuri D'Elia
f7542aa064
Report travel acceleration in M503
...
Use the new M204 format consistently also in M503's output
2021-02-03 11:20:28 +01:00
Yuri D'Elia
76911f67db
Take advantage of the new is_uninitialized function
...
Save some space and perform some cleanup
2021-02-03 11:20:28 +01:00
Yuri D'Elia
45811f82aa
Initialize default travel_acceleration from EEPROM
...
When reading uninitialized memory, preset the travel acceleration to be
the same as the default acceleration.
2021-02-03 11:20:28 +01:00
Yuri D'Elia
5589954b77
Add DEFAULT_TRAVEL_ACCELERATION in all variants
...
Use the same value as DEFAULT_ACCELERATION for compatibility.
2021-02-03 11:20:28 +01:00
Yuri D'Elia
1c76152e62
Implement separate travel acceleration (M204 T)
...
Allow to separate extrusion and travel acceleration settings using M204,
as Marlin 1.1.x and 2.x does using M204 T.
This allows to reduce the number of instructions required during
printing, since resetting the acceleration for travel moves is no longer
required and can be done a single time during the print.
Provision for this parameter was pre-existing, but not implemented.
M204 has two forms: the lagacy format (Marlin <1.1):
M204 S[print-acc] T[retract-acc]
and the newer format:
M204 P[print-acc] R[retract-acc] T[travel-acc]
The distinction in the MK3 FW is done based on the presence of the P
parameter. If P is seen, the new format is adoped. In the new format
however, M204 T was ignored until this change.
To keep backward compatibility, M204 S[acc] will set both print and
travel acceleration, which is identical in behavior to recent versions
of Marlin.
2021-02-03 11:20:28 +01:00
3d-gussner
2ba24fe0d4
Add pause/resume to USB/host prints via LCD menu
...
Depending if SD or USB/host print the firmware sends
- SD print: `// action:paused` or `// action:resumed` are send to inform USB/Host
- USB/host print: `// action:pause` or `// action:resume` are send to trigger the USB/host to handle it
- USB/host must handle `// action:pause` and `// action:resume` correctly to work
- Tested with Octoprint
- It handles every thing correctly
- Any combination of Octoprint and/or LCD `pause` and `resume` working correctly
- Tested with Pronterface
- It pauses BUT doesn't send the printer in pause position, and so it is not possible to `resume` from LCD menu
- I guess some Macros can fix that.
- Repetier Host/Server documentation shows that it should work. Not tested.
Could save 56 bytes in first step and additional 38 bytes adding `MSG_PAUSE_PRINT` to messages.c/.h
Updated `lang_en*.txt`
@todo Polish translation is 19 characters long (it still fits) BUT should be corrected to 18 chars.
2021-02-03 11:00:26 +01:00
Alex Voinea
896f4e1dd1
Fix compile error
2021-02-02 19:14:05 +02:00
Alex Voinea
f6ae379077
Fix dir_names array definition. Prevents overrun
2021-02-02 19:08:44 +02:00
Alex Voinea
5c9d202871
Change MAX_DIR_DEPTH from 10 to 6
...
You can't run M23 with so many directories as the length of the command will exceed the maximum allowed by cmdqueue
2021-02-02 19:08:19 +02:00
3d-gussner
57e730c80c
Merge remote-tracking branch 'vojtech-pavlik/MK3' into MK3_Test_PRs
...
Fix merge issues PR1900
2021-02-02 13:49:34 +01:00
Alex Voinea
647cde0cae
Add documentation
2021-02-02 13:38:20 +02:00
Alex Voinea
2f4119a6d7
M552 - Printer IP address
2021-02-02 13:21:16 +02:00
DRracer
2b81abb24c
Merge pull request #2814 from wavexx/MK3_PAT9125_I2C
...
Use hardware TWI for the PAT9125 (optical) filament sensor
2021-02-02 09:15:35 +01:00
D.R.racer
15d76a7501
Remove duplicit incrementation of consecutive comment lines
...
It was left in the code in one of the refactoring/optimization passes.
It really didn't do any harm, but was limiting the performance of the
skipping algorithm.
+ some verification code added - will be removed after successful tests
2021-02-02 07:57:06 +01:00
DRracer
40e45c5eaa
Merge pull request #3009 from leptun/PFW-1144-LongPathName
...
"M27 P" support. Get current file absolute filename (file path)
2021-02-01 14:41:15 +01:00
DRracer
58c217a340
Merge pull request #2988 from leptun/PFW-1171-EEPROM_SN
...
Cache SN to EEPROM on startup
2021-02-01 14:24:13 +01:00
Alex Voinea
7e09df6a34
Add documentation
2021-02-01 14:54:44 +02:00
Alex Voinea
b6d56bc0f4
Change M27 argument from L to P as that makes more sense (path vs LFN))
2021-02-01 14:54:37 +02:00
Yuri D'Elia
ec4c1be058
Silence bUpdateEEPROM unused warning in MK3 variant
2021-02-01 07:09:44 +01:00
Voinea Dragos
30131c9ab5
Patch broken string PROGMEM transition with setTargetedHotend() error
2021-02-01 06:12:37 +01:00
Voinea Dragos
ea44d78d68
Merge branch 'MK3' into PFW-1171-EEPROM_SN
2021-01-31 17:19:00 +02:00
Voinea Dragos
698499f00d
split timer0 and timer2 initialization. Move timer2 init early
2021-01-31 17:18:32 +02:00
Voinea Dragos
6b6205d2f6
M27 refactoring and M27 L initial implementation
2021-01-31 15:06:20 +02:00
Yuri D'Elia
b8b75186fe
Remove the extra copy of CRITICAL_SECTION from fastio
2021-01-29 18:30:16 +01:00
Yuri D'Elia
31b3ad0613
Merge remote-tracking branch 'upstream/MK3' into MK3_PAT9125_I2C
2021-01-29 18:28:55 +01:00
Yuri D'Elia
2d71a071f0
Switch twi.c to fastio
2021-01-29 17:51:38 +01:00
Yuri D'Elia
1fa7b8cd8d
Move SDA/SCL pins into pins.h for fastio compatibility
...
fastio relies on macros for pin definitions, so we cannot use the const
declaration in Sd2PinMap or the arduino's definition.
Declare SDA/SCL_PIN into pins.h based on the current MCU, which is
identical in all our variants.
Remove the conflicting/unused declaration in Sd2PinMap.
2021-01-29 17:48:59 +01:00
Yuri D'Elia
30262b0a6e
Remove redundant definitions of CRITICAL_SECTION_*
...
Move CRITICAL_SECTION_START/END into fastio.h, where it's needed.
2021-01-29 17:30:04 +01:00
3d-gussner
d75a0fdcbd
Merge remote-tracking branch 'upstream/MK3' into MK3_translation_0121
2021-01-29 15:38:48 +01:00
DRracer
42311db5f1
Merge pull request #2789 from wavexx/MK3_TMC2130_DEDGE
...
Use/enable TMC2130 DEDGE support in MK3/MK3S
2021-01-29 11:13:09 +01:00
D.R.racer
caf58b16b6
Fix handling EOF
...
+ save ~160B by using local variables
+ rename some of the vars to more descriptive names
+ remove consecutiveEmptyLines handling from cmdqueue
2021-01-29 08:29:51 +01:00
Yuri D'Elia
e9d5c44732
Also toggle pins efficiently in sm4.c
...
Use the same technique used in fastio to toggle pins efficiently in sm4
when DEDGE is used.
2021-01-29 00:13:49 +01:00
D.R.racer
6c9c1423c6
Remove temporary changes from SdBaseFile.h
2021-01-28 09:42:50 +01:00
D.R.racer
71d825d0f2
Return SdBaseFile into previous state
...
no changes necessary afterall
2021-01-28 09:41:30 +01: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
c05b625b1c
Fix occasionally skipped valid G-code lines
...
which also allowed for removal of the pre-increment -> post-increment
workaround
2021-01-28 08:13:16 +01:00
D.R.racer
d1fd5a555f
Clean up gfReset()
2021-01-27 14:12:11 +01:00
D.R.racer
b2cf5b7b6c
Fix seekSetFilteredGcode()
...
+some more debug code which will vanish after all is done and verified
2021-01-27 13:01:25 +01:00
D.R.racer
b6c59e08ac
Workaround ++gfCacheP into postincrement ld r22, Z+
...
TODO: ideally improve the automaton to work with postincrement only, at
least in this case.
2021-01-27 09:52:20 +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
dcc6605809
Workaround for skipping large comment blocks
...
If there are large blocks of comments in the G-code,
the printer may get shot down by its own watchdog.
Watchdog is generally set to 4s and updated only
in manage_heaters (and some other spots in some specific cases).
So far, the code reading the file and feeding it into Marlin
cycles indefinitely until it finds valid G-code lines and fills up the
command queue.
If the block is large enough, the printer cannot read it completely
within those 4s.
A simple workaround - bail out after some consecutive empty/comment
lines to enable other parts of code do their job (especially
manage_heaters).
Tested on MK404, previous FW fails with 600KB of comment lines at the
beginning, this patch survives. The printer even draws some update
on its status screen before starting a real print.
2021-01-27 07:03:51 +01:00
Yuri D'Elia
a9625747db
Reinstate the nop instruction as delay in non-DEDGE
...
When TMC2130_MINIMUM_PULSE is 0 a minimum delay is implied.
In this case, use a single "nop" instruction.
2021-01-26 19:43:29 +01:00
Yuri D'Elia
d3734b02cc
Also fix delay instances inside unused BACKLASH_[XY]
2021-01-26 16:18:23 +01:00
Yuri D'Elia
b17cdcd4d7
Ensure MINIMUM_PULSE is always 0 in DEDGE mode
...
This ensures delays are always properly elided without having to check
for DEDGE all over the place.
2021-01-26 16:12:59 +01:00
Yuri D'Elia
2a6989ecd5
Remove TMC2130 special-cases
...
With the new STEPPER_MINIMUM_DELAY being automatically removed for
TMC2130 we no longer need to add specialized #ifdefs for DEDGE in
babystep.
2021-01-26 16:09:23 +01:00
Yuri D'Elia
4fed728e08
Elide delayMicroseconds for TMC2130 in non-DEDGE mode
...
Introduce new macros TMC2130_MINIMUM_DELAY/STEPPER_MINIMUM_DELAY for
blocking pauses.
If MINIMUM_PULSE has defined to be zero, avoid the delay call entirely.
2021-01-26 16:02:53 +01:00
3d-gussner
f40c593d11
Fix few translations not being used due to spaces or upper case
2021-01-26 14:15:34 +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
ad5d068690
Update char lengths part 1
...
Fix some too long translations
2021-01-26 12:09:35 +01:00
DRracer
891f37a622
Merge pull request #2982 from DRracer/codesize
...
Reduce code size and RAM usage
2021-01-26 12:04:39 +01:00
3d-gussner
c555907a12
Remove duplicate string `G-code sliced for a different printer type. Please re-slice the model again. Print cancelled.` using `MSG_GCODE_DIFF_PRINTER_CANCELLED`
2021-01-26 11:01:50 +01:00
3d-gussner
51d1e0bd8a
Remove duplicate string `G-code sliced for a different printer type. Continue?` using `MSG_GCODE_DIFF_PRINTER_CONTINUE`
2021-01-26 10:42:56 +01:00
3d-gussner
7916f8b9e8
Merge branch 'codesize' of https://github.com/DRracer/Prusa-Firmware into DRracer_codesize
2021-01-26 10:13:11 +01:00
D.R.racer
0eb7261e29
Save ~100B on menu implementation
2021-01-26 09:29:17 +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
DRracer
f4cee7ce84
Merge pull request #2983 from leptun/MK3_fix_sm4.h_line_ending
...
Fix sm4.h line ending
2021-01-26 08:45:07 +01:00
DRracer
bce9f8c949
Merge pull request #2984 from leptun/MK3_Serial_LF_only
...
Do not send CR on the serial line
2021-01-26 08:42:47 +01:00
DRracer
c465417f50
Merge pull request #2987 from leptun/PFW-1144-LongPathName
...
"M20 L" support. Print long filenames
2021-01-26 08:40:26 +01:00
3d-gussner
84ed0725f2
Merge branch 'codesize' of https://github.com/DRracer/Prusa-Firmware into DRracer_codesize
2021-01-26 08:32:03 +01:00
3d-gussner
bce8501eea
Remove duplicate string `Extruder` using `MSG_Extruder`
2021-01-26 08:31:21 +01:00
Voinea Dragos
c6588193ad
Fix some more stuff in cardreader.cpp
...
Saved 4B of flash and 60B of RAM
2021-01-26 09:25:41 +02:00
3d-gussner
ab18a3ccc3
Merge branch 'codesize' of https://github.com/DRracer/Prusa-Firmware into DRracer_codesize
2021-01-26 08:24:11 +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
D.R.racer
348902240e
Fix code_seen_P("fv") broken by one of the merges
2021-01-26 08:02:33 +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
Voinea Dragos
2b3729125d
Prevent wdt reset during file listing
2021-01-25 11:46:51 +02: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
4f769f0faa
PRUSA RESET safety precaution
2021-01-25 09:58:12 +02:00
Voinea Dragos
9fa9d6b063
Move farm strings to PROGMEM
2021-01-25 09:48:17 +02:00
D.R.racer
6a62674bd8
Keep PRUSA RESET available even in non-farm mode
2021-01-25 08:43:37 +01: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
e8e4aabfdb
Add gcode documentation
2021-01-22 21:07:14 +02: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
Voinea Dragos
4d3f056b81
Fix factory reset menu rendering
2021-01-22 20:07:27 +02:00
Voinea Dragos
37c431abd9
another lcd_puts_at_P
2021-01-22 19:44:46 +02:00
D.R.racer
3ccd1b2b2b
Refactor lcd_set_cursor + lcd_puts_P -> lcd_puts_at_P
...
saves considerable amount of flash
2021-01-22 18:34:47 +01:00
Voinea Dragos
bc7d36b6ff
Fix sm4.h line ending
2021-01-22 18:57:24 +02:00
Voinea Dragos
da21916473
Change printf_P without format arguments and NL to puts_P only
2021-01-22 18:56:05 +02:00
D.R.racer
9b34789398
Cleanup reset_menu()
2021-01-22 17:54:44 +01:00
D.R.racer
90d22a376d
Remove unused vars in xyzcal.cpp
2021-01-22 17:50:08 +01:00
D.R.racer
2780a03967
Improve duplicate_Tcode_ignored
...
kudos to @leptun
2021-01-22 17:47:44 +01:00
D.R.racer
3dc85b319c
Marlin_main.cpp hacks
...
- code_seen("string") -> code_seen_P(PSTR("string")) saved >100B of RAM!
- serial print "." -> '.' saved some code
- extract commonly used string
- SERIAL_PROTOCOLLN("") -> SERIAL_PROTOCOLLN() as no argument is
necessary
2021-01-22 17:15:36 +01:00
D.R.racer
4dec171266
Reduce code by 104 bytes in xyzcal.cpp
...
Extract CLAMP_median into a non-inline function.
The extra instructions to call that function do not matter from the
speed perspective
2021-01-22 17:13:28 +01:00
D.R.racer
c710253cca
Code cleanup and size reduction and RAM optimization
...
Replase single character strings with single characters when calling
lcd_print
2021-01-22 17:11:51 +01:00
Voinea Dragos
9fda6b774d
Do not send CR on the serial line
2021-01-22 17:58:01 +02:00
DRracer
f809691003
Merge pull request #2968 from espr14/PFW-1186
...
Calibration: reduce code size PFW-1186
2021-01-22 14:05:13 +01:00
DRracer
eceb7b4e5f
Merge pull request #2981 from 3d-gussner/PFW-1140-2
...
PFW-1140 Add fan speed and position auto report
2021-01-22 13:00:23 +01:00
DRracer
defbaa6ff8
Merge branch 'MK3' into PFW-1186
2021-01-22 12:46:25 +01:00
DRracer
4c952a0a9c
Merge pull request #2962 from espr14/PFW-1178
...
Calibration: code cleaning PFW-1178
2021-01-22 12:41:24 +01:00
3d-gussner
008c6a2590
Remove defines
2021-01-22 12:26:29 +01:00
DRracer
ab59449b7c
Merge pull request #2961 from espr14/PFW-1179
...
Calibration: print skew results PFW-1179
2021-01-22 12:24:52 +01:00
DRracer
85f2c29dfe
Merge pull request #2960 from espr14/PFW-1169-3
...
Calibration: more accelerations, fix scan, more robust circle search PFW-1169
2021-01-22 12:20:35 +01:00
3d-gussner
ede3f34051
Documentation
2021-01-22 10:40:29 +01:00
Voinea Dragos
ced3d9fa77
"M20 L" support. Print long filenames
2021-01-22 11:13:44 +02:00
D.R.racer
31951fe8c9
Code refactoring
...
Motivation:
- save some RAM joining the autoreport flags into 1 byte
- encapsulate the magic of setting bit masks/features into a class with
a stable public interface
2021-01-20 11:46:25 +01:00
Voinea Dragos
70d254a1fc
Allow resetting when not in farm mode
2021-01-19 13:39:21 +02:00
Voinea Dragos
48b4bdfe8e
Make the PRUSA RESET command functional on the miniRambo
2021-01-19 13:36:08 +02:00
Voinea Dragos
542677c080
Prevent switching to serial port 1 on miniRambo and such
2021-01-19 13:11:48 +02:00
Voinea Dragos
9b847715ac
Rename F0 to FRM on the status screen
2021-01-19 13:11:25 +02:00
Voinea Dragos
3f5cfc4e61
Move the change filament button to the main menu when farm printing
...
PFW-945
2021-01-19 13:06:23 +02:00
D.R.racer
a9d8ddc89c
Farmers' requests 1
...
- remove the UI and related stuff to setting a farm number (the
communication protocol must remain intact)
- remove confirmation after print finished ("Print OK")
Both requests are highly welcome, since they allow for lowering the code
size by >1KB
PFW-963, PFW-927
2021-01-19 09:58:02 +01:00
3d-gussner
9264454d3a
Gcode `M123` only if FANCHECK and TACHOs are defined
...
Gcode `M155` added parameter "C" to activate auto-report for temperatures, fans and positions
Updated doxygen
@todo Update RepRap Wiki
@todo improve code
2021-01-19 09:01:46 +01:00
espr14
735895c6bc
Use fabs
2021-01-14 16:38:34 +01:00
espr14
ca4e638ea2
Don't use extrusion in XYZ calibration
2021-01-14 13:19:30 +01:00
Alex Voinea
20c3f4cb77
Update comments
2021-01-14 12:53:12 +02:00
Voinea Dragos
dea3f23a69
PRUSA SN in eeprom
2021-01-14 11:52:22 +02:00
espr14
9867ecd3f9
Reduce unnecessary code
2021-01-13 13:59:20 +01:00
espr14
21d6f970ef
Fix build
2021-01-12 16:26:46 +01:00
espr14
f3faf651c5
Move down before scanning
2021-01-12 16:12:34 +01:00
espr14
9dceb488b6
Revert double scanning
2021-01-12 16:04:04 +01:00
espr14
546812294e
Clean serial output
2021-01-12 00:34:28 +01:00
espr14
d7507649d8
Remove degree char
2021-01-12 00:28:46 +01:00
espr14
180af46fe4
Try double height
2021-01-12 00:27:06 +01:00
espr14
333526f65d
Single skew output
2021-01-11 23:14:12 +01:00
espr14
e6e44fe188
Convert to degrees
2021-01-11 23:13:08 +01:00
espr14
b8443b00ad
Reverse reverse
2021-01-11 22:18:50 +01:00
espr14
09892bec52
Reverse
2021-01-11 18:46:56 +01:00
Yuri D'Elia
78f8f1e8f9
Remove stray serial newlines in fsensor autoload messages
2021-01-11 18:31:36 +01:00
espr14
211e5f5f37
Define DBG output
2021-01-11 17:31:26 +01:00
espr14
904a23b69e
Report calibration results
2021-01-11 17:02:41 +01:00
espr14
2e40a27460
Alignment, comments
2021-01-11 15:40:12 +01:00
DRracer
4728bf2182
Merge pull request #2875 from wavexx/raise_while_preheating
...
Raise Z while preheating when auto/[un]loading the filament
2021-01-11 07:45:54 +01:00
DRracer
1a6b6fb491
Merge pull request #1776 from wavexx/unused_tmc_defines
...
Remove an unused define
2021-01-11 07:43:44 +01:00
DRracer
ef51652e39
Merge pull request #1758 from wavexx/disable_filament_checks_in_extr_menu
...
Disable filament checks inside the Move -> Extruder menu
2021-01-11 07:42:25 +01:00
3d-gussner
a064ce4722
Add gcode `M123` Tachometer value
2021-01-10 15:15:44 +01:00
D.R.racer
8a083c9970
Add PVB preheat and 0.8mm nozzle presets
...
minor features reflecting the latest announcement
Needs some 300B of CPU flash though, after 3.9.3 we need to optimize code
size again.
2021-01-08 13:52:39 +01:00
DRracer
5c3513a6cc
Merge pull request #2397 from odaki/flashair_display_ip
...
Show the FlashAir IP address
2021-01-08 12:20:12 +01:00
espr14
584177e8fd
Fix E mask
2021-01-08 10:24:36 +01:00
DRracer
f549ce690a
Merge pull request #2949 from prusa3d/MK3_3.9.3
...
Merge 3.9.3 back into MK3
2021-01-08 10:20:40 +01:00
3d-gussner
3329d34ce4
Fix doxygen issue with "^" and "|" only in one line
...
Doxygen 1.8.13 had no issues but newer doxygen version are failing
to build tables, if a line only consists of "^" and "|"
2021-01-08 09:40:13 +01:00
DRracer
0ed6b537a8
Merge branch 'MK3' into MK3_3.9.3
2021-01-07 13:27:51 +01:00
D.R.racer
603d704178
Version changed (3.9.3 build 3556)
2021-01-07 12:50:58 +01:00
3d-gussner
8a27b6abdb
Move Z up before xy home running xyz calibration
...
to prevent scratches on bed and sheet
2021-01-07 11:45:40 +01:00
espr14
2981b9e9c5
OctoPrint needs new lines
2021-01-04 14:59:12 +01:00
espr14
cc9e7b9376
Fix comments, remove unused
2021-01-04 13:01:06 +01:00
espr14
49d57ed621
Median dynamic circle
2020-12-30 17:02:31 +01:00
espr14
a9fd09ca3f
Implement median
2020-12-30 15:15:17 +01:00
espr14
13fefaa1bf
Fix typo
2020-12-30 15:01:32 +01:00
espr14
03b87ae68b
Add 8 pixel circle pattern
2020-12-30 13:08:47 +01:00
espr14
c14e725574
Fix moves
2020-12-29 18:27:33 +01:00
espr14
c2ab8785f4
Revert Manhattan
2020-12-29 17:31:34 +01:00
espr14
c1e6567461
Fix step axis coding
2020-12-29 17:17:32 +01:00
espr14
922769cefb
axis -> axes
2020-12-29 17:14:18 +01:00
espr14
a01dfe26fe
Add Manhattan movement
2020-12-29 17:13:11 +01:00
espr14
6461206e08
Fix direction setting
2020-12-29 14:19:05 +01:00
espr14
b6e78bf900
Fix direction
2020-12-29 14:08:30 +01:00
espr14
c11e8654da
Revert both directions, refactor code
2020-12-29 12:39:35 +01:00
espr14
e86ba5e26d
Scan only once
2020-12-28 16:45:39 +01:00
D.R.racer
7e02a7f118
Version changed (3.9.3-RC1 build 3555)
2020-12-26 15:45:34 +01:00
DRracer
d61cdf2b88
Merge pull request #2932 from espr14/PFW-1165-2
...
Calibration: Turn off speed optimization due to MK2.5 PFW-1165
2020-12-25 18:22:04 +01:00
espr14
80e32ce1a5
Turn off speed optimization due to MK2.5
2020-12-25 15:27:42 +01:00
3d-gussner
12f4102272
Group PINDA defines
2020-12-23 21:00:02 +01:00
3d-gussner
76eb743139
Set default SuperPINDA toggle on MK2.5/S to NO
2020-12-23 20:59:33 +01:00
3d-gussner
4b510fef0a
Add PINDA_TEMP_COMP variable to enable SuperPINDA toggle menu/function
2020-12-23 20:59:08 +01:00
3d-gussner
a97587f373
Changed PINDA_MINTEMP having own value
...
Prevent bad readings/issues if someone changes the bed thermistor that is "better" with lower min values and creates a custom firmware.
The firmware will now be in the range of the PINDAv2 thermistor independant from the bed thermistor (which may change and need adjustments)
2020-12-23 20:58:44 +01:00
3d-gussner
732b6e0cad
Cleanup
2020-12-23 20:58:20 +01:00
3d-gussner
62c36f718b
Add SuperPINDA support for MK2.5/S
...
- Changed DETECT_SUPERPINDA to SUPERPINDA_SUPPORT as on miniRAMo the thermistor readings below 30°C
aren't accurate egnough to determine if SUPERPINDA is connected or not
- Add LCD toggle menu Settings -> HW Setup -> SuperPINDA [Yes/No] to overwrite SuperPINDA detection
- If EEPROM_PINDA_TEMP_COMPENSTATION is empty = 0xff then detect SuperPINDA by checking thermistor
- If EEPROM_PINDA_TEMP_COMPENSTAION is 0 then forec enable for temperature compensation menues and functions
- If EEPROM_PINDA_TEMP_COMPENSATION is 1 then force disable for temperature compensation menues and functions
2020-12-23 20:56:50 +01:00
espr14
e6eb3be247
Set jerk = 1, accel. = 1000
2020-12-23 16:56:04 +01:00
espr14
979525f028
Add more restarts
2020-12-22 19:34:12 +01:00
espr14
25d138d198
Revert max.speed
2020-12-22 15:10:01 +01:00
espr14
e24a763e46
Cleanup
2020-12-22 14:45:55 +01:00
espr14
8df2eccf45
Remove defines and unused vars
2020-12-22 14:36:37 +01:00
espr14
25d6e24778
Add comments
2020-12-22 14:16:20 +01:00
espr14
90c8045f7d
Clean the code
2020-12-22 13:59:50 +01:00
espr14
20659ec818
Add debug output
2020-12-22 12:51:22 +01:00
espr14
c397e9249a
Restart scanning
2020-12-21 19:33:36 +01:00
espr14
1610c96fc4
Fix and report circle divergence
2020-12-21 18:05:52 +01:00
espr14
744763f0a9
Fix diagonal movement
2020-12-21 17:34:54 +01:00
espr14
de23a845b4
Remove unused
2020-12-21 15:53:51 +01:00
espr14
3c9168f8f6
Optimize diagonal
2020-12-21 15:52:25 +01:00
espr14
9a59369c77
Diagonal acceleration
2020-12-21 15:32:09 +01:00
espr14
27ff6b0057
Fix build
2020-12-21 13:11:48 +01:00
espr14
9b55ff9de1
Acceleration up and down
2020-12-21 13:05:26 +01:00
espr14
f39a0999e1
Prepare full acceleration control
2020-12-18 21:33:43 +01:00
espr14
ccf26e4e7a
Basic acceleration
2020-12-18 20:04:00 +01:00
espr14
a8f4207df9
New XYZ calibration algorithm
2020-12-17 18:19:36 +01:00
Alex Voinea
2ac106d9fe
Merge branch 'MK3' into MK3_random_patches
2020-11-30 09:14:58 +02:00
odaki
61c48df0bd
Merge remote-tracking branch 'upstream/MK3' into flashair_display_ip
2020-11-23 15:53:03 +09:00
Voinea Dragos
f96f75bd17
Fix warning and a bit of indentation
...
Saved 64B of flash and 1B of SRAM
2020-11-16 10:58:26 +02:00
Voinea Dragos
f3953d7c83
Merge branch 'MK3' into MK3_random_patches
2020-11-16 09:11:12 +02:00
odaki
c0070506fb
Merge branch 'MK3' into flashair_display_ip
2020-11-13 22:28:22 +09:00
DRracer
d013abfd52
Merge pull request #2890 from prusa3d/MK3_3.9.2
...
Merge MK3_3.9.2 into MK3
2020-11-13 13:03:35 +01:00
Alex Voinea
807eddafb0
Remove debugging code
2020-11-13 12:12:18 +02:00
Alex Voinea
43ace00a24
Fill the progress bar at the end and code optimizations
2020-11-12 18:43:48 +02:00
Alex Voinea
5ad125cbed
Merge branch 'MK3' into MK3_filecheck_progress_bar
2020-11-12 15:53:33 +02:00
D.R.racer
396ee0fde2
Version changed (3.9.2 build 3524)
2020-11-10 10:27:18 +01:00
Voinea Dragos
176e2674b9
Fix M105 ok hack
2020-11-09 21:49:56 +02:00
Voinea Dragos
023ccb0e89
Fix double ok in M603
2020-11-09 21:49:56 +02:00
Alex Voinea
0c305ee5f5
Fix warning
2020-11-09 21:49:56 +02:00
Alex Voinea
4abf1f436a
Gracefully dump the queue + fixes to fancheck
2020-11-09 21:49:56 +02:00
Alex Voinea
fdbbc7d62a
Terminate last line from the SD card even if it doesn't have a \n
2020-11-09 21:49:56 +02:00
Alex Voinea
ff56ece6f8
Remove redundant get_command prototype
2020-11-09 21:49:56 +02:00
Alex Voinea
5f0e4a1cac
Temporary M602 patch. Needs more work
2020-11-09 21:49:56 +02:00
Alex Voinea
6873a9d28e
Only send capabilities when M115 is run without arguments
2020-11-09 21:49:56 +02:00
Alex Voinea
0ee8e1f424
Fix missing ok in M601
2020-11-09 21:49:56 +02:00
Alex Voinea
e5ebf7c67f
Fix missing keep-alive messages
2020-11-09 21:49:56 +02:00
Alex Voinea
26f62f042e
Use the longest filename instead of just using the long filename in M27
2020-11-09 21:49:56 +02:00
D.R.racer
4747c8c9f5
Increase top Z-offset limit based on some test results
2020-11-09 12:29:19 +01:00
D.R.racer
5184910ef9
Try harder finding the calibration center
...
with alternative PINDAs it looks like their properties vary a lot
and searching for the calibration center requires trying different
Z levels.
2020-11-09 06:33:41 +01:00
D.R.racer
cd4e16ef9f
XYZ calibration tune
...
PFW-1159
2020-11-06 08:25:56 +01:00
Yuri D'Elia
f37f132ee4
Allow all microstep resolutions for all axes
2020-11-04 16:07:00 +01:00
Yuri D'Elia
e28159122f
Make MIN_Z_FOR_LOAD/UNLOAD the same
...
When unloading + preheat immediately followed by a load, the carriage is
raised first up to 20mm, then again to 50mm.
With PR #2318 it makes sense to make more space for the extra extrusion
anyway, so make them the same. This moves the carriage only once _while_
preheating, which is nice.
2020-10-29 15:30:16 +01:00
Yuri D'Elia
5f23474c95
Raise Z while preheating when auto/[un]loading the filament
...
Preheating already raised Z to avoid scorching the PEI sheet, as does
filament loading/unloading to allow for excess material to be removed.
However, when loading/autoloading/unloading via the LCD with a cold
nozzle the preheating menu is performed before the carriage is raised,
leaving the carriage close to the sheet while heating the nozzle.
Pre-raise the carriage already while waiting, so that the subsequent
move is automagically skipped.
Set bFilamentWaitingFlag only once to perform both the LCD
initialization and raising to the appropriate height.
Should fix #2761
2020-10-28 20:49:28 +01:00
DRracer
c05d4c9112
Update messages.h
...
cleanup space
2020-10-21 17:04:20 +02:00
MartinPoupa
a84d7ef8d6
corectino of declaration
2020-10-13 16:56:57 +02:00
MartinPoupa
c8c7563e8a
LCD status changed
...
When the lcd status changed it will be printed "LCD status changed" to serial line.
2020-10-07 17:44:17 +02:00
Yuri D'Elia
df824414ef
Fix probing in IR_SENSOR
2020-09-28 21:02:06 +02:00
Yuri D'Elia
c2e8d229a7
Be more compliant in the I2C protocol
...
- Enter a repeated-start for reading data
- Write in the same session
2020-09-28 20:21:07 +02:00
odaki
ebc987bd23
Merge branch 'MK3' into flashair_display_ip
2020-09-28 21:19:44 +09:00
Yuri D'Elia
384f40956c
Remove obsolete cbi/sbi
2020-09-27 16:42:20 +02:00
Yuri D'Elia
6d476d7144
Still use SWI2C on RAMBo10a boards
...
The wiring for the PAT9125 on RAMBo10a boards is not directly connected
to the SCL pin and requires the sw mode.
Detect this requirement by checking the definition for the SWI2C_SCL pin
in the board definition.
Remove SWI2C_SCL/SDA from the other boards to use the HW mode.
2020-09-27 14:29:07 +02:00
DRracer
134f841380
Merge pull request #2841 from leptun/MK3_SD_REMOVED_MESSAGE
...
SD card released message
2020-09-23 10:22:04 +02:00
DRracer
95e2e2f69c
Merge pull request #2832 from leptun/MK3_AUTO_REPORT_TEMPERATURES
...
Mk3 auto report temperatures
2020-09-23 08:51:26 +02:00
DRracer
ef0840f587
Merge pull request #2786 from leptun/MK3_M115_Capabilities_report
...
Printer Capabilities framework + Macros + Code cleanup
2020-09-23 08:37:03 +02:00
Alex Voinea
d9fa44c142
Document M155 command
2020-09-23 09:14:35 +03:00
DRracer
e24466f22e
Merge pull request #2837 from prusa3d/MK3_3.9.1
...
Merge MK3_3.9.1 into MK3
2020-09-22 10:43:59 +02:00
odaki
4c7100985e
Merge branch 'MK3_3.9.1' into flashair_display_ip
2020-09-22 11:59:05 +09:00
D.R.racer
7278458316
Version changed (3.9.1 build 3518)
2020-09-18 16:59:22 +02:00
3d-gussner
bd7bb5acb3
Update new messages and their translations ( #2835 )
...
* Add missing translations
* Add missing CZ and IT translations
* Update CZ, FR, IT, ES translations
CZ thanks to @DRracer
FR thanks to Carlin Dcustom
ES tried myself
IT thanks to @wavexx
Only missing is PL
* Improve wording +change keys
* Add missing PL translations
* Fix copy paste error in Italian
fix double translations
* Make PL translation shorter
* Fix some length issues and capital letters
* Fixed again translations length issues
updated po files
* Update FR translation - thanks @awenelo
* Fix execution of lang-check.py
- Make lang-check.py executable
- Execute directly instead of specifying the python interpreter manually
("python" is no longer available on Debian, and would default to
version 2 prior to that despite being written for python 3)
* Fix permissions of translation files
Co-authored-by: D.R.racer <drracer@drracer.eu>
Co-authored-by: Yuri D'Elia <wavexx@thregr.org>
2020-09-18 16:50:25 +02:00
Voinea Dragos
2f5083daa7
quickfix to mistake made in the experimental menu visibility code
...
Fix indentation
2020-09-15 18:56:39 +03:00
DRracer
9fb6efc435
Add newline at the end of file
2020-09-15 14:56:41 +02:00
Voinea Dragos
c0fced2f3c
Fix typo
2020-09-15 14:21:21 +03:00
Voinea Dragos
e2ef5af40e
Add capability line
2020-09-15 14:21:09 +03:00
Voinea Dragos
a1dfbffedb
Merge branch 'MK3_M115_Capabilities_report' into MK3_AUTO_REPORT_TEMPERATURES
2020-09-15 13:39:00 +03:00
Voinea Dragos
073eadff7e
Merge branch 'MK3' into MK3_AUTO_REPORT_TEMPERATURES
2020-09-15 13:38:47 +03:00
DRracer
3093c8c7f6
Merge pull request #2829 from wavexx/la10_15_readjust
...
Re-adjust LA10->15 conversion
2020-09-15 11:59:07 +02:00
Alex Voinea
6bc59197ad
Merge branch 'MK3' into MK3_NEW_SD_COMPILATION
2020-09-12 08:28:13 +03:00
Alex Voinea
c158259970
Remove unused where C++ alternative can be used
2020-09-11 20:04:06 +03:00
Alex Voinea
44b1b1c219
More macros
2020-09-11 18:48:44 +03:00
Alex Voinea
c3abd4ffe6
Remove io_atmega2560.h and some more macros
2020-09-11 17:43:38 +03:00
Alex Voinea
eb007c35d2
Macros initial
2020-09-11 16:12:49 +03:00
Alex Voinea
160af0a624
Printer capabilities
2020-09-11 16:11:28 +03:00
3d-gussner
fef5b02010
Tag as community contribution
2020-09-09 12:34:25 +02:00
3d-gussner
4d3aa1b59a
Merge remote-tracking branch 'upstream/MK3' into MK3_Dutch
...
Merge upstream/MK3
Fix conflicts
update Dutch translation
2020-09-09 11:37:35 +02:00
DRracer
f145769e98
Merge pull request #2807 from leptun/MK3_Polling
...
M220 M221 polling of values
2020-09-09 10:25:36 +02:00
DRracer
763d2d9849
Merge pull request #2806 from leptun/MK3_PRUSA_SN
...
Make the serial number available to the user
2020-09-09 09:54:29 +02:00
DRracer
a0420c7928
Merge pull request #2619 from 3d-gussner/MK3_G21
...
Add dummy G21 to prevent UNKOWN warnings in serial
2020-09-09 09:22:07 +02:00
DRracer
b82ee3fc06
Merge pull request #2811 from leptun/MK3_fastio_timer_patch
...
Fix fastio extra parenthesis
2020-09-09 08:57:37 +02:00
DRracer
a2db9e8f6b
Merge pull request #2585 from leptun/MK3_FEEDRATE
...
🐛 ♻️ Update the feedrate percentage before drawing the screen
2020-09-09 08:56:46 +02:00
Yuri D'Elia
26e900896a
Re-adjust LA10->15 conversion
...
After fixing some LA15 issues, the strenght of LA15 increased.
As such, re-adjust the conversion factor so that:
Start K10 => 0.01 (previous minimum was K15)
PLA K30 => 0.05 (was 0.07, optimal 0.045-0.06)
PETG K45 => 0.08 (was 0.13, optimal 0.07-0.11 depending on material/temp)
2020-09-07 21:44:34 +02:00
Alex Voinea
7ac16d5f04
Menu view return patch
2020-09-07 19:42:53 +03:00
D.R.racer
02891f6bb8
Version changed (3.9.1-RC1 build 3512)
2020-09-02 11:56:53 +02:00
Alex Voinea
3e7bba54e0
SD card released message
2020-08-28 17:32:07 +03:00
Yuri D'Elia
e37cdab38f
PAT9125_I2C: accept either NACK or ACK in receive
...
Both would be technically correct.
2020-08-25 12:15:55 +02:00
Yuri D'Elia
d8a8837938
Document the 3 possible modes
2020-08-25 11:32:05 +02:00
Alex Voinea
1659f61dd5
Fix fastio extra parenthesis
2020-08-21 10:51:46 +03:00
Yuri D'Elia
30e7b777e0
Error-out with PAT9125_SWSPI (not fully implemented)
...
.. and likely will never was/be.
2020-08-20 22:13:13 +02:00
Yuri D'Elia
7f425120f0
Strip down the TWI code
...
- Only implement a single syncronous read/write function to read a byte,
since that's all we need currently
- Implement a compact IR_SENSOR probe for PAT9125
- Saves 242 bytes compared to PAT9125_SWI2C
2020-08-20 22:13:04 +02:00
DRracer
772844678f
Merge pull request #2809 from leptun/PFW-1134-ALTFAN_KILLSWITCH
...
Pfw 1134
2020-08-20 15:42:03 +02:00
Yuri D'Elia
240dc1132e
Include initial implementation based on Arduino's twi
2020-08-20 15:34:46 +02:00
Yuri D'Elia
502bc8c72d
Isolate more pat9125 code
...
Remove probing from Marlin_main and move it into pat9125_probe so that
it can support the various variants.
2020-08-20 15:34:46 +02:00
3d-gussner
90c36a5887
Update ALTFAN eeprom documentation
...
EEPROM_ALTFAN_OVERRIDE and EEPROM_EXPERIMENTAL_VISIBILITY are compared to 0xFF in the code that's why I keep the uint8.
2020-08-20 15:14:39 +02:00
Alex Voinea
2c2926882a
Don't switch unnecessarily. Also "\n" the ";S" request
2020-08-18 19:29:18 +03:00
Alex Voinea
8d9dc73d1b
Fix compile error
...
fix compile
Fix compile error
2020-08-12 17:25:49 +03:00
Alex Voinea
5530b99882
Reboot after factory reset
2020-08-12 12:46:35 +03:00
Alex Voinea
6b853a4cc3
Auto-detect ALTFAN after fw. update
2020-08-12 12:19:08 +03:00
Alex Voinea
96435ad084
Move experimental menu to HW setup
2020-08-12 08:48:12 +03:00
DRracer
008d3b0e65
Merge pull request #2792 from wavexx/MK3_fix_high_speed_deceleration
...
Mk3 fix high speed deceleration
2020-08-06 13:27:52 +02:00
DRracer
89ecf2ce3a
Merge pull request #2791 from wavexx/stack_protect_reentrant_isr
...
Fix stack smashing in temperature/fsensor ISR
2020-08-06 13:26:33 +02:00