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
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
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
5f49d65546
Farmers' request - allow file sorting menu item
2021-02-08 15:43:08 +01:00
3d-gussner
aecbd7ab49
Fix c=aa
location in lang files
...
Fix too long translations in Spanish and Italian
2021-02-08 12:17:41 +01:00
3d-gussner
214695105c
Fix issue #2958
2021-02-08 11:33:46 +01:00
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
DRracer
0bda4504c1
Merge pull request #3013 from leptun/MK3_DIR_DEPTH
...
DIR depth adjustments
2021-02-02 20:20:25 +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
DRracer
f7fd7a5331
Merge pull request #3012 from leptun/MK3_IP_support
...
M552 - Printer IP address
2021-02-02 15:42:04 +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
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