
publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Revision 274:5c02ff05f3da, committed 2016-07-23
- Comitter:
- ee12b079
- Date:
- Sat Jul 23 09:55:17 2016 +0000
- Parent:
- 273:cfcf3b1cc886
- Child:
- 278:1d837d6dfb6e
- Commit message:
- Testing sdcard, BAE and OBSRS TCs
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Jul 22 01:30:11 2016 +0000 +++ b/main.cpp Sat Jul 23 09:55:17 2016 +0000 @@ -58,11 +58,11 @@ gCS_RTC = 1; gCS_ADF = 1; - //FCTN_CDMS_INIT_RTC();/* rtc initialization*/ + FCTN_CDMS_INIT_RTC();/* rtc initialization*/ FCTN_CDMS_SD_INIT();/* sd card initialization*/ - /*uint8_t test[512] = {0}; + uint8_t test[512] = {0}; disk_write(test,7000); //to be used only just before launch #if DEBUG @@ -92,6 +92,7 @@ master.frequency(400000); HK_counter = new RtosTimer(hk_isr, osTimerPeriodic,(void * )NULL); + gHK_THREAD->signal_set(HK_SIGNAL); //HK_counter->start(10000); sys_reset_cdms_timer = new RtosTimer(sys_pwr_reset, osTimerPeriodic, (void * )NULL); @@ -99,7 +100,7 @@ /*PL_wo_dma = new RtosTimer(payload_isr_fun_dma, osTimerPeriodic,(void * )NULL); PL_wo_dma->start(6000);*/ - /*gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL);*/ + gSCIENCE_THREAD->signal_set(SCIENCE_SIGNAL); /*Timeout flipper; flipper.attach(BAE_TC,31);*/