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