Scott Lahteine
f9b80e7217
Make getfilename_sorted standard for listings
6 years ago
TheSFReader
1fb9b299d4
Add M524 to abort SD printing ( #12155 )
6 years ago
Scott Lahteine
d26d9d5b81
Tweak IS_SD_INSERTED
6 years ago
Scott Lahteine
c6a5c74208
Add parentheses to SD macros
6 years ago
Marcio Teixeira
2067619a26
Add USB_FLASH_DRIVE_SUPPORT
6 years ago
Scott Lahteine
3019713402
Reorganize some enums
6 years ago
Scott Lahteine
065e9c3d66
Add card.longest_filename method
6 years ago
Scott Lahteine
d05e832f29
Add STM32F1 support for SD-based EEPROM
6 years ago
Scott Lahteine
1a0f4dedad
Fix and improve POWER_LOSS_RECOVERY ( #11187 )
6 years ago
Scott Lahteine
8b44745bc7
Clean up and consolidate SD-related code ( #10831 )
6 years ago
Scott Lahteine
05fca752d6
Clean up autostart handling
7 years ago
Scott Lahteine
11ab017dd0
Creality3D Power-Loss Recovery
7 years ago
TheSFReader
2e43438e0c
Add C parameter to M27 to include the long filename
In answer to #10001
Add an option to retrieve the currently open file name (long filename if possible).
7 years ago
Scott Lahteine
22a017a856
Rebuild SD file sort array on Stop SD Print ( #9976 )
Thanks Chuck Hellebuyck.
7 years ago
TheSFReader
eb079959fb
Report sd card progress [FR] #9751 ( #9832 )
* SD Status auto-report feature
Feature Request #9751
7 years ago
Scott Lahteine
382a5e3318
Clean up trailing whitespace
7 years ago
Thomas Moore
f7efac57b7
Multi-host support
7 years ago
etagle
498ea7512a
Exposed SDCard interface to the public, to USB MSD is able to read/write sectors on the SD card
7 years ago
Scott Lahteine
f90c075d1f
SD Menu patches
7 years ago
Scott Lahteine
e0d367f1fb
Fix M32 P subroutine handling
7 years ago
Scott Lahteine
9f8b4c5ee8
Patch SD lib files for readability
7 years ago
Scott Lahteine
3d2b2eb1ca
Prevent SDCARD_SORT_ALPHA from exploding
7 years ago
Scott Lahteine
12aa1b999a
Fix display issue with SD_SORT_ALPHA cached names
7 years ago
Scott Lahteine
614a86a380
SD file updates
7 years ago
Scott Lahteine
b66d65f865
Move 'sd' files
7 years ago
Bob-the-Kuhn
76da81c1de
minimize SD card reads when using SDCARD_SORT_ALPHA (Re-ARM board)
Because of the Re-ARM card's pinout there is only one SPI connected to
the RepRap Discount Full Graphic LCD display. The LCD responds to ANY
SCK transitions no matter if it's enable is inactive. The result is
garbage (usually bars) on the LCD display whenever there is SD card
activity.
This code minimizes this by only accessing the SD card when changing
directory levels if :
SDCARD_SORT_ALPHA is enabled
SDSORT_USES_RAM is true
SDSORT_CACHE_NAMES is true
The code changes result in file names being pulled from the ALPHA SORT
memory array rather than the SD card.
The code also gives the file count and file index functions their own
variables. When they shared a common variable the index function
sometimes resulted in the file count being short by 1.
=======================================================================
cardreader.cpp & pins_RAMPS_RE_ARM.h changes
Added another condition to cardreader.cpp to enable getting file names
only from RAM.
pins_RAMPS_RE_ARM.h :
Added comments about the SD card accesses and the LCD display
Combined all versions into this one.
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
8 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
Scott Lahteine
1ed3913333
Rename lastnr to autostart_index and...
Replace instances of the number 13 with FILENAME_LENGTH where
appropriate.
10 years ago