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
Please refer below link.
/users/kenjiArai/notebook/necleo-l152re-rtos-sample-also-for-f401re--f411re-/
Diff: main.cpp
- Revision:
- 9:de986e74bd93
- Parent:
- 8:4006b111c0d4
- Child:
- 10:1c0f58b9c048
diff -r 4006b111c0d4 -r de986e74bd93 main.cpp --- a/main.cpp Sat Feb 07 21:25:10 2015 +0000 +++ b/main.cpp Thu Feb 12 07:53:25 2015 +0000 @@ -156,11 +156,11 @@ void watch_time (void const *args) { uint32_t i = 0; - struct tm t; time_t seconds; char buf[64]; +#if 0 + struct tm t; -#if 1 t.tm_year = 15 + 100; t.tm_mon = 2 - 1; t.tm_mday = 7;