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: modification_notice.h
- Revision:
- 12:2db841307633
- Parent:
- 11:587b8f1bab9d
- Child:
- 13:d0d1da1fae4c
diff -r 587b8f1bab9d -r 2db841307633 modification_notice.h --- a/modification_notice.h Sat May 16 02:27:03 2015 +0000 +++ b/modification_notice.h Tue May 19 23:32:57 2015 +0000 @@ -78,6 +78,17 @@ System Clock = 24 MHz (started as 32 MHz but due to USB clock creation, changed to 24 MHz) If you would like to use 24 MHz, do NOT modify (1) and (2). +As of May 20th, 2015 +Followings are investigation result. + Case L152 (C-01 old ver with internal RC clock) + before and rev.81 20140319 -> 16000000Hz + rev.82 and after 20140407 -> 32000000Hz + Case L152 (C-02 new ver) + before and rev.81 20140319 -> 16000000Hz + rev.82 and after 20140407 -> 24000000Hz + +Currently L152RE has two type of operation, 24MHz and 32MHz. + (2) CAUTION!! for Nucleo F411RE mbed F411 med has been changed System clock = 96 MHz (former setting 100 MHz). Please modify #ifndef OS_CLOCK related part.