This is sample program for Nucleo L152RE (and F401RE & F411RE) mbed-rtos. You need to modify mbed-src and mbed-rtos before compile it.

Dependencies:   mbed-rtos mbed-src SetRTC

Fork of GR-PEACH_test_on_rtos_works_well by Kenji Arai

Please refer below link.
/users/kenjiArai/notebook/necleo-l152re-rtos-sample-also-for-f401re--f411re-/

Revision:
3:989d13762f43
Parent:
2:3747397a1618
Child:
4:76b3113c79ff
--- a/main.cpp	Thu Dec 04 12:03:04 2014 +0000
+++ b/main.cpp	Thu Dec 04 12:07:23 2014 +0000
@@ -21,7 +21,7 @@
 #define LED_NAME
 //#define LED_COLOR
 
-//#define DISP_COM
+#define DISP_COM
 
 // Com
 #ifdef DISP_COM