Scott Lahteine
a6ee4a0468
Apply SDCARD_SORT_ALPHA changes from 2.0.x
7 years ago
Scott Lahteine
d3b8f30818
Fix M32 P subroutine handling
7 years ago
Scott Lahteine
2390f6d3ab
Cleanup, apply standards to SD lib, cardreader
7 years ago
Scott Lahteine
a7398a0459
Prevent SDCARD_SORT_ALPHA from exploding
7 years ago
Scott Lahteine
a6e95c7d25
Fix display issue with SD_ALPHA_SORT caching
7 years ago
Thomas Moore
257b693ab0
Advanced pause fixes ( #7518 )
...
* Disallow filament change while paused
* Use kinematic movemements in pause_print and resume_print
7 years ago
Scott Lahteine
081bf1f879
Patch #else / #endif comments
8 years ago
Scott Lahteine
47f9883b0f
Dynamic allocation for SDCARD_SORT_ALPHA
8 years ago
Scott Lahteine
a561bd5e3a
New feature: SDCARD_SORT_ALPHA
8 years ago
Scott Lahteine
61932b859e
Fix bug in CardReader::stopSDPrint
...
If the SD print is paused, it cannot be stopped
8 years ago
Scott Lahteine
b73203a0b7
Move some includes around to uncover missing deps
8 years ago
João Brázio
3ebad4e020
Moves all global enums to a central file
8 years ago
Scott Lahteine
bbf5b486c3
Add an SD Card stop function, use in ultralcd
9 years ago
Scott Lahteine
70d1d4de5f
Small code spacing adjustments
9 years ago
Scott Lahteine
0385acea7a
Fix workDirParents -> getAbsFilename relationship
9 years ago
Scott Lahteine
27d70599d4
Change openFile default to "not-push" instead of "do-replace"
9 years ago
Scott Lahteine
372f93cc7a
Rename "filenames" to "proc_filenames"
9 years ago
Scott Lahteine
0da744b7b0
Further cleanup of comments, partial Doxygen-style
...
Following up on #3231
9 years ago
jbrazio
5e5d250832
Added gplv3 header to all Marlin files
9 years ago
Scott Lahteine
8fe7420310
Use a separate serial line buffer
9 years ago
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
...
Keep "astyled" reformatting
9 years ago
Scott Lahteine
270c766de2
SDCARDDETECT -> SD_DETECT, added docs
...
- `SD_DETECT_PIN` replaces `SDCARDDETECT`
- `SD_DETECT_INVERTED` replaces `SDCARDDETECTINVERTED`
- Revise the description of `SD_DETECT_INVERTED`
- Add a note about the override of `SD_DETECT_INVERTED` in
`Conditionals.h`
9 years ago
Scott Lahteine
8d3b74cc6e
Rename SDCARDDETECT to SDCARDDETECT_PIN
...
- Rename the pin so it can be tested with `PIN_EXISTS`
- Fix some incorrect tests for `SDCARDDETECT`
9 years ago
Scott Lahteine
58cfcd4239
Overridable Options - Part 5
...
Apply `ENABLED` / `DISABLED` macros to files needing only a small
number of changes.
9 years ago
Scott Lahteine
0f2c9bacfd
M33 LONG_FILENAME_HOST_SUPPORT
10 years ago
Scott Lahteine
ccddc280be
Apply three more commits
10 years ago
Scott Lahteine
f171656f8e
Cleanup of cardreader.*
...
- Apply standards to cardreader.*
- Fix minor issues with cardreader.cpp
- Apply standards to some other stale regions
10 years ago
Scott Lahteine
03c9cb60e8
Rename lastnr to autostart_index and...
...
Replace instances of the number 13 with FILENAME_LENGTH where
appropriate.
10 years ago
daid
17de96ace7
Merge branch 'Marlin_v1' into revert-1154-sd_sorting
...
Conflicts:
Marlin/cardreader.cpp
Marlin/cardreader.h
10 years ago
Scott Lahteine
f21cce0b28
Rebase to Marlin_v1
10 years ago
alexborro
ab355a90d3
Revert "SD Sort and Buffer"
10 years ago
Scott Lahteine
6599adc184
Polish up a little...
10 years ago
Scott Lahteine
b6ffea612a
Expand on More RAM concept, address minor bugs
10 years ago
Scott Lahteine
8196b36ad9
SD Card Alpha Sorting
...
First iteration of alphabetical sorting for SD cards, both
slow+efficient and fast+rammy. Option for folders to sort first, last,
or not at all.
10 years ago
Scott Lahteine
cf749dbeda
Completed SORT_USES_MORE_RAM implementation
...
For the MORE_RAM option we need to buffer both the short and long
names, even though long names are sometimes redundant. Worst case, all
the names are max length. We can save some RAM by not storing these. We
could save more RAM by only storing the visible part of the long name.
10 years ago
Scott Lahteine
ae081d0fe0
Improvements, more SORT_USES_MORE_RAM
...
With this option, always keeps the dir in RAM, doubling as a cache for
getfilename. A board with only 8K of SRAM is cutting it very close.
10 years ago
Scott Lahteine
0cbbba08bd
SD Card Alpha Sorting
...
First iteration of alphabetical sorting for SD cards, both
slow+efficient and fast+rammy. Option for folders to sort first, last,
or not at all.
10 years ago
bkubicek
39d88bcccb
preparation for hibernation
...
If a print is stopped, it would be nice in the future to write a file with the printer state, the filename of the print, and the position within the print.
this file could be read, to continue a previously stopped print.
not finished yet.
11 years ago
bkubicek
ab965376ff
Sub-file calls.
...
by overloading M32 it is now possible to execute gcode files from other gcode files, with a fixed recursion level.
This can be used e.g. for having a real start.g and end.g somewhere on the sd card, which are then called from the normal print file.
Another usecase would be to have macro-files for nozzle-change and layerchange.
I have not tested the speedwise performance. The testing was done with pronterface.
syntax:
normal call from sd card will open the new file and continue executing there.
M32 !/path/filename#
this however will call the new file and return to the caller file.
M32 P !/path/filename#
with the optional "S<position>" the file starting position can be set.
this is for continuing prints from a previous location.
11 years ago
Scott Lahteine
a5cd582665
Support for 10 level deep SD folder hierarchy
12 years ago
Bart K
4fa2260a59
Fixed cardreader.h to resolve issue #440 (Pull Request #425 missing file)
12 years ago
daid303
1a8f54cea1
The big LCD code update. This splits the display and menu implementation. Paving the way for future different displays. It also makes it easier to modify the menu structures while keeping everything consistant. Note that this most likely breaks the translations, which need to be updated.
12 years ago
daid303
6a9bee27cc
Changed the naming of some LCD functions, so the names match better what the function does. Also moved around some prototypes for general cleanup.
12 years ago
daid303
94ea26ff46
Some minor changes on code style. And a bugfix where the counters for positioning in the stepper where wrong depending on compiler settings. (Caused strange values to reported back with M114 and endstop triggers). Also fixed compiling with FWRETRACT enabled.
12 years ago
daid303
6c51fe5039
Fix the bug where the SD percentage calculation is wrong when the file is larger then 42MB
12 years ago
daid
b69e75c89a
Added long filename support.
12 years ago
Bernhard
0c123950e9
__ header file replace
13 years ago
Bernhard
1532200435
found error in filenames.
...
One array was too short. This had nothing to do with long filenames, other than if they were 12 characters exactly, which could only happen if the extension and the text before were filled completely
13 years ago
Erik van der Zalm
632528aa95
merging with SCUBA82
13 years ago
Christian Thalhammer
fde51084f3
set SD file delete to M30; switch printime output to M31
13 years ago