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
Christopher Pepper
44b0c186a6
HAL for Re:ARM (LPC1768) architecture
7 years ago
Scott Lahteine
e94f79ccea
Patch some serial macros
8 years ago
Scott Lahteine
081bf1f879
Patch #else / #endif comments
8 years ago
Scott Lahteine
1196e3ca59
SDCard print completion can use "M0"
8 years ago
Scott Lahteine
c12bc51a59
cardreader.cpp spacing tweak
8 years ago
Bob-the-Kuhn
1b12fea0fa
simplified M20 with size
8 years ago
Scott Lahteine
e244399766
Additional cleanup of UBL code
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
AnHardt
fa26767efe
Replace all remaining 'boolean' with 'bool'
8 years ago
Scott Lahteine
4cd73e183d
Hide hidden files and folders
8 years ago
Scott Lahteine
5f5a55a0de
Add a ZERO macro to clear arrays
8 years ago
Scott Lahteine
d963020532
Sort out some header dependencies
8 years ago
Scott Lahteine
192ac2dfd7
Squish some CardReader code
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
b63d70b186
Fix serial output for MBL, M303
8 years ago
Scott Lahteine
229f70f194
Only report finished prints longer than 1 min
8 years ago
Scott Lahteine
b73203a0b7
Move some includes around to uncover missing deps
8 years ago
Scott Lahteine
34da77dad3
Simply run M31 at the end of an SD print
8 years ago
AnHardt
87957c7b44
Finalalize MSG_SD_WRITE_TO_FILE message with a \n
Finalalize MSG_SD_WRITE_TO_FILE message with a \n
else RH hangs.
8 years ago
Scott Lahteine
bd491818d6
Reduce storage requirements for strings, make some PGM
8 years ago
Scott Lahteine
bbf5b486c3
Add an SD Card stop function, use in ultralcd
9 years ago
Scott Lahteine
084f6b5b44
Temperature singleton class
9 years ago
Scott Lahteine
5e4e535ce8
Stepper and Endstops as singleton objects
9 years ago
Scott Lahteine
386140f361
Test time difference in safe way
9 years ago
esenapaj
f9e1a0ee6c
suppress warnings
9 years ago
Scott Lahteine
ce0a9d3dc6
A picky fix of indentation in cardreader.cpp
9 years ago
Scott Lahteine
4ed8351e3d
Revert use of enqueue_and_echo_command_now
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
6b01cf07c2
Use only as much stack as needed for the M23 command
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
04fa9d4f47
Make Autotune options into Menu Edit Items
9 years ago
Scott Lahteine
8fe7420310
Use a separate serial line buffer
9 years ago
esenapaj
609c0d46d9
Fix CardReader::lsDive()
If comparison between signed char(-128 ~ +127) and DIR_NAME_DELETED(uint8_t const 0XE5, it's +229),
it makes incorrect result.
9 years ago
Scott Lahteine
f9ded2a7c4
Wrap macros to prevent bad expansions
9 years ago
Ruwan J Egoda Gamage
b58083b0fa
Getting rid of SDEXTRASLOW, SDSLOW variables.
9 years ago
Ruwan J Egoda Gamage
1b7c443628
Adding SDULTRASLOW variable.
Instead of changing SDEXTRASLOW variable to a slower speed, the new
SDULTRASLOW is used for rigidbot panel.
9 years ago
Ruwan J Egoda Gamage
becbfe1065
Fixing Rigidbot LCD Panel Support
9 years ago
Ruwan J Egoda Gamage
2c9e0415c7
Getting rid of SDEXTRASLOW, SDSLOW variables.
9 years ago
Ruwan J Egoda Gamage
e6cc232184
Adding SDULTRASLOW variable.
Instead of changing SDEXTRASLOW variable to a slower speed, the new
SDULTRASLOW is used for rigidbot panel.
9 years ago
Ruwan J Egoda Gamage
5eeea2f611
Fixing Rigidbot LCD Panel Support
9 years ago
Scott Lahteine
0c7f7ebcfb
Styling adjustments (PR#2668 & PR#2670)
Keep "astyled" reformatting
9 years ago
Mike Cochrane
5e36b64635
SDEXTRASLOW for some SD card readers (PR#176)
Add SDEXTRASLOW which runs the SD card at SPI_QUARTER_SPEED. Quarter speed is needed for RIGIDBOT_PANEL
9 years ago