CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Revision:
220:2aeab83212e6
Parent:
218:c63cdba0550f
Child:
223:7c802e1ccd30
--- a/main.cpp	Sun Jul 03 15:28:43 2016 +0000
+++ b/main.cpp	Mon Jul 04 05:24:35 2016 +0000
@@ -123,7 +123,7 @@
 
 
     
-
+    CDMS_INIT();
 
     uint8_t test[512] = {0};
     disk_write(test,7000); //to be used only just before launch
@@ -165,8 +165,8 @@
     */
     // *******************INITIALISATIONS END********************
 
-    //RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic);
-    //gCDMS_HK_TIMER.start(5000);
+    RtosTimer gCDMS_HK_TIMER(FCTN_CDMS_HK_MAIN, osTimerPeriodic);
+    gCDMS_HK_TIMER.start(30000);
 
     /*starting the thread with signal*/
     //set_sig();
@@ -184,8 +184,6 @@
     break;}
     }*/
 
-
-
     while(true) {
         Thread::wait(osWaitForever);
         //state = gCOM_MNG_TMTC_THREAD->get_state() + '0';