Team Fox / Mbed 2 deprecated CDMS_QM_03MAR2017_Flash_with_obsrs

Dependencies:   mbed mbed-rtos SimpleDMA FreescaleIAP eeprom

Fork of CDMS_CODE_FM_28JAN2017 by samp Srinivasan

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Thu Feb 04 14:02:12 2016 +0000
Parent:
109:78f2912e3473
Child:
111:daa937e649f5
Child:
112:b41bf1ce4bbe
Commit message:
Testing on CDMS hardware

Changed in this revision

DefinitionsAndGlobals.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
--- a/DefinitionsAndGlobals.h	Tue Jan 26 14:15:04 2016 +0000
+++ b/DefinitionsAndGlobals.h	Thu Feb 04 14:02:12 2016 +0000
@@ -4,7 +4,7 @@
 
 // DEBUG
     #define DEBUG 1
-    #define USE_SD 0
+    #define USE_SD 1
 
 // COM_RX
     #define RX_TIMEOUT_LIMIT 0.5
--- a/main.cpp	Tue Jan 26 14:15:04 2016 +0000
+++ b/main.cpp	Thu Feb 04 14:02:12 2016 +0000
@@ -24,9 +24,6 @@
 
 int main()
 {
-    #if DEBUG
-    gPC.puts("welcome to mng_tmtc\r\n");
-    #endif
     //gLEDR = 1;
     
     // ******************INITIALISATIONS START******************
@@ -42,7 +39,9 @@
     // DEBUG
     //gPC.puts("welcome to mng_tm_tc\r\n");
     gPC.baud(1200);
-    
+    #if DEBUG
+    gPC.puts("welcome to mng_tmtc\r\n");
+    #endif
     // COMMON SPI
     spi.format(8,0);
     spi.frequency(1000000);