June 30

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
chaithanyarss
Date:
Sat Jul 02 13:36:18 2016 +0000
Parent:
190:28a07943dded
Commit message:
;

Changed in this revision

Flash.h Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 28a07943dded -r d14b1c783736 Flash.h
--- a/Flash.h	Sat Jul 02 10:48:30 2016 +0000
+++ b/Flash.h	Sat Jul 02 13:36:18 2016 +0000
@@ -1,4 +1,4 @@
-#include "FreescaleIAP.h"
+//#include "FreescaleIAP.h"
 
 int strt_add = flash_size() - (4*SECTOR_SIZE);  
 uint32_t flasharray[256+(3*1024)];
diff -r 28a07943dded -r d14b1c783736 main.cpp
--- a/main.cpp	Sat Jul 02 10:48:30 2016 +0000
+++ b/main.cpp	Sat Jul 02 13:36:18 2016 +0000
@@ -1,6 +1,7 @@
 // TESTING PUSH PULL IN MAIN CPP
 
 #include "mbed.h"
+#include "FreescaleIAP.h"
 
 #define DEBUG 1
 
@@ -60,8 +61,10 @@
     gCS_RTC = 1;
     gCS_ADF = 1;
     
-    FCTN_CDMS_INIT_RTC(); /* rtc initialization*/
-    FCTN_CDMS_SD_INIT(); /*sd card initialization*/    
+   // FCTN_CDMS_INIT_RTC(); /* rtc initialization*/
+   //FCTN_CDMS_SD_INIT(); /*sd card initialization*/    
+    uint32_t lol = flash_size();
+    gPC.printf("0x%08X\n",lol);
     
     if (DEBUG)
         gPC.puts("\rwelcome to mng_22tmtc\r\n");