use mbed-src latest version and everything works well. RTC is also fine.

Dependencies:   L3GD20 LIS3DH TextLCD mbed-rtos mbed

Use standard library mbed & mbed-rtos (GR-PEACH can run without mbed-src and special mbed-rtos).

Revision:
9:de986e74bd93
Parent:
8:4006b111c0d4
--- a/mon.cpp	Sat Feb 07 21:25:10 2015 +0000
+++ b/mon.cpp	Thu Feb 12 07:53:25 2015 +0000
@@ -266,7 +266,7 @@
     //  check and set RTC
     //---------------------------------------------------------------------------------------------
         case 'r' :
-            put_r(); 
+            put_r();
             while(true) {
                 show_flag1 = 1;
                 if ( READABLE() ) {
@@ -284,23 +284,6 @@
             msg_hlp();                 
             break;
     //---------------------------------------------------------------------------------------------
-    //  Go to special command
-    //---------------------------------------------------------------------------------------------
-        case 'x' :
-#if defined(TARGET_RZ_A1H)
-            PRINTF("Not implement yet\r\n");
-#elif defined(TARGET_LPC1114)
-            PRINTF("Not implement yet\r\n");
-#elif defined(TARGET_NUCLEO_F411RE) || defined(TARGET_STM32F401RE)
-            PRINTF("Not implement yet\r\n");
-#elif defined(TARGET_LPC1768)
-            PRINTF("Not implement yet\r\n");
-#elif defined(TARGET_K64F)
-            PRINTF("Not implement yet\r\n");
-#endif
-            PRINTF("->Came back monitor\r\n");            
-            break;
-    //---------------------------------------------------------------------------------------------
     //  Go back to main()
     //---------------------------------------------------------------------------------------------
         case 'q' :        // Quit