thinkyhead classicrocker883

M34 - SDCard Sorting

1.1.0 sdcard Set SDCard file sorting options. SDSUPPORT SDCARD_SORT_ALPHA

Description

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.

Notes

Requires SDSUPPORT and SDCARD_SORT_ALPHA.

Usage

M34 [F<-1|0|1>] [S<|-1|0|1|2>]

Parameters

[F<-1|0|1>]

Folder Sorting

  • F-1:

    Folders before files

  • F0:

    No folder sorting

  • F1:

    Folders after files

[S<|-1|0|1|2>]

Sorting Order

  • S:

    Default sorting (i.e., SDSORT_REVERSE)

  • S-1:

    Reverse alpha sorting

  • S0:

    FID Order (not always newest)

  • S1:

    Forward alpha sorting

  • S2:

    Alias for S-1 [deprecated]