SD card reader as an USB mass storage device

Dependencies:   USBDevice USBMSD_SD mbed

Fork of USBMSD_SD_HelloWorld_FRDM-KL25Z by Samuel Mokrani

Files at this revision

API Documentation at this revision

Comitter:
icserny
Date:
Thu May 26 14:01:44 2016 +0000
Parent:
0:44b579c983e0
Commit message:
First version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 44b579c983e0 -r 99b14f22f15b main.cpp
--- a/main.cpp	Fri Mar 01 13:29:13 2013 +0000
+++ b/main.cpp	Thu May 26 14:01:44 2016 +0000
@@ -1,6 +1,20 @@
+/* USBMSD_SD
+ *
+ * This is a fork of the USBMSD_SD_HelloWorld_FRDM-KL25Z program of Samuel Mokrani
+ * Link: https://developer.mbed.org/users/samux/code/USBMSD_SD_HelloWorld_FRDM-KL25Z
+ *
+ * The program implements an SD card reader which acts as an USB mass storage device.
+ *
+ * Hardware requirements:
+ *  - FRDM-KL25Z board
+ *  - SD card in a socket connected to the SPI port of the FRDM board
+ *  - USB FRDM socket should be connected to a PC (or to other USB host)
+ */
+ 
+
 #include "mbed.h"
 #include "USBMSD_SD.h"
- 
+//USBMSD_SD(PinName mosi, PinName miso, PinName sclk, PinName cs); 
 USBMSD_SD sd(PTD2, PTD3, PTD1, PTD0);
  
 int main() {