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-/

History

change L152 System clock (PLL VCO=96MHz) ->32MHz Clock default tip

2015-05-20, by kenjiArai [Wed, 20 May 2015 10:49:02 +0000] rev 13

change L152 System clock (PLL VCO=96MHz) ->32MHz Clock


updated comments in "modification_notice.h"

2015-05-19, by kenjiArai [Tue, 19 May 2015 23:32:57 +0000] rev 12

updated comments in "modification_notice.h"


Modified based on mbed-rtos Rev.77. The mbed-rtos officially supported L152RE but still have a problem System Clock definition. Current definition in the file is 32MHz but need to set to 24MHz. Also F411RE clock sets 100MHz but 96MHz is right.

2015-05-16, by kenjiArai [Sat, 16 May 2015 02:27:03 +0000] rev 11

Modified based on mbed-rtos Rev.77. The mbed-rtos officially supported L152RE but still have a problem System Clock definition. Current definition in the file is 32MHz but need to set to 24MHz. Also F411RE clock sets 100MHz but 96MHz is right.


Sample program for mbed-src usage sample. You need to modify both mbed-rtos and mbed-src before compile it.

2015-05-16, by kenjiArai [Sat, 16 May 2015 00:43:39 +0000] rev 10

Sample program for mbed-src usage sample. You need to modify both mbed-rtos and mbed-src before compile it.


use standard library mbed & mbed-rtos

2015-02-12, by kenjiArai [Thu, 12 Feb 2015 07:53:25 +0000] rev 9

use standard library mbed & mbed-rtos


use mbed-src latest version and everything works well (Fix most of BUGs)

2015-02-07, by kenjiArai [Sat, 07 Feb 2015 21:25:10 +0000] rev 8

use mbed-src latest version and everything works well (Fix most of BUGs)


delete SPI LCD lib.

2015-01-10, by kenjiArai [Sat, 10 Jan 2015 04:59:10 +0000] rev 7

delete SPI LCD lib.


more simple but problem is there (delete SPI LCD control)

2015-01-10, by kenjiArai [Sat, 10 Jan 2015 04:57:33 +0000] rev 6

more simple but problem is there (delete SPI LCD control)


modified more simple way

2015-01-08, by kenjiArai [Thu, 08 Jan 2015 13:03:16 +0000] rev 5

modified more simple way


Check rtos functions on GR-PEACH. Does NOT work on GR-PEACH but does work on LPC1768, F401RE and L152RE.

2014-12-14, by kenjiArai [Sun, 14 Dec 2014 09:17:01 +0000] rev 4

Check rtos functions on GR-PEACH. Does NOT work on GR-PEACH but does work on LPC1768, F401RE and L152RE.