F746NG fatfs and micro sd example

Dependencies:   BSP_DISCO_F746NG FatFS mbed

This is a quick and dirty example about how to use micro sd card module with FatFs on STM32746G Discovery board. I simply use the FatFs library downloaded with DFP for STM32F7. The project shows how to read PPM image file from sd card, display on LCD and writing image to sd card.

Revision:
1:28e2f24b11b3
Parent:
0:020195991898
Child:
2:19c2835ce409
--- a/main.cpp	Sat Feb 03 14:39:39 2018 +0000
+++ b/main.cpp	Sat Feb 03 14:43:35 2018 +0000
@@ -87,8 +87,6 @@
             break;
 
     }
-    pc.printf("w = %d \n",image_width);
-    pc.printf("h = %d \n",image_height);
     
     if(image_width != 480 || image_height != 272)
         pc.printf("Image size should be 272x480");
@@ -117,6 +115,8 @@
         if(res!= FR_OK)
             pc.printf("Failed to write file\n");
     }
+    
+    pc.printf("Done!\n");
     f_close(&MyFile);
     FATFS_UnLinkDriver(SDPath);