flexi-bot/docs/marlin/_gcode/M034.md
2023-09-05 20:38:49 +02:00

1.0 KiB

tag title brief author since requires group codes notes parameters examples
m0034 SDCard Sorting Set SDCard file sorting options. thinkyhead 1.1.0 SDSUPPORT,SDCARD_SORT_ALPHA sdcard
M34
Requires [`SDSUPPORT`](/docs/configuration/configuration.html#sd-card) and `SDCARD_SORT_ALPHA`.
tag optional description values
S true Sorting on/off
type
bool
tag optional description values
F true Folder Sorting
tag description
-1 Folders before files
tag description
0 No folder sorting
tag description
1 Folders after files

Marlin now contains support for SDCard alphabetical file sorting in the LCD menus. This feature uses free SRAM to create a sorting index for up to the first 256 files in the current folder, and (if you have lots of SRAM) can optionally cache file listings for a more responsive UI. Buffering only occurs during file browsing. Otherwise the SRAM is freed.