No description
Find a file
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.
2017-08-31 18:23:44 -05:00
.github Give a more detailed issue template 2017-06-22 18:17:02 -05:00
buildroot PlatformIO Travis test 2017-08-31 18:23:44 -05:00
Marlin minimize SD card reads when using SDCARD_SORT_ALPHA (Re-ARM board) 2017-08-31 18:23:44 -05:00
.gitattributes Add hidden option to output Bilinear grids in JSON 2017-04-05 23:43:17 -05:00
.gitignore Implement HAL and apply macros across code-base 2017-08-31 18:14:31 -05:00
.travis.yml PlatformIO Travis test 2017-08-31 18:23:44 -05:00
LICENSE Update LICENSE 2015-11-12 13:09:59 -06:00
platformio.ini Moved CMSIS and other LPC1768 dependencies 2017-08-31 18:23:44 -05:00
README.md Marlin bugfix-2.0.x Version/README 2017-08-31 17:56:08 -05:00

Marlin 3D Printer Firmware

Build Status Coverity Scan Build Status

Additional documentation can be found at the Marlin Home Page. Please test this firmware and let us know if it misbehaves in any way. Volunteers are standing by!

Marlin 2.0 Bugfix Branch

Not for production use. Use with caution!

This branch is used to accumulate patches to the latest 2.0.x release version. Periodically this branch will form the basis for the next minor 2.0.x release.

Download earlier versions of Marlin on the Releases page.

Recent Changes

  • Add a Hardware Abstraction Layer (HAL) supporting current AVR platforms
  • Planning a HAL for Re:Arm
  • Planning a HAL for STM32

Submitting Patches

Proposed patches should be submitted as a Pull Request against this branch (bugfix-2.0.x).

  • This branch is for fixing bugs and integrating any new features for the duration of the Marlin 2.0.x life-cycle.
  • Follow the Coding Standards to gain points with the maintainers.
  • Please submit your questions and concerns to the Issue Queue.

RepRap.org Wiki Page

Credits

The current Marlin dev team consists of:

License

Marlin is published under the GPL license because we believe in open development. The GPL comes with both rights and obligations. Whether you use Marlin firmware as the driver for your open or closed-source product, you must keep Marlin open, and you must provide your compatible Marlin source code to end users upon request. The most straightforward way to comply with the Marlin license is to make a fork of Marlin on Github, perform your modifications, and direct users to your modified fork.

While we can't prevent the use of this code in products (3D printers, CNC, etc.) that are closed source or crippled by a patent, we would prefer that you choose another firmware or, better yet, make your own.