Files
machines/systems/flexibot/docs/marlin/_gcode/M034.md
T
2025-03-11 23:32:39 +01:00

1.0 KiB

tag, title, brief, author, since, requires, group, codes, notes, parameters, examples
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.