A re-written SDFileSystem library with improved compatibility, CRC support, and card removal/replacement support.

Dependencies:   FATFileSystem

Dependents:   demo_gps_sdcard zeus

Fork of SDFileSystem by Neil Thiessen

Files at this revision

API Documentation at this revision

Comitter:
ftagius
Date:
Tue Jun 16 12:02:43 2015 +0000
Parent:
16:c2c1f0b16380
Commit message:
updates for use with frdm-kl25z

Changed in this revision

SDFileSystem.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/SDFileSystem.cpp	Mon Jan 05 18:43:29 2015 +0000
+++ b/SDFileSystem.cpp	Tue Jun 16 12:02:43 2015 +0000
@@ -37,11 +37,11 @@
 
     //Configure the card detect pin
     if (cdtype == SWITCH_POS_NO) {
-        m_Cd.mode(PullDown);
+        m_Cd.mode(PullNone);
         m_CdAssert = 1;
         m_Cd.fall(this, &SDFileSystem::onCardRemoval);
     } else if (cdtype == SWITCH_POS_NC) {
-        m_Cd.mode(PullDown);
+        m_Cd.mode(PullNone);
         m_CdAssert = 0;
         m_Cd.rise(this, &SDFileSystem::onCardRemoval);
     } else if (cdtype == SWITCH_NEG_NO) {