Add support new target: ST Nucleo-L152RE Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard.

Fork of mbed-rtos by mbed official

Files at this revision

API Documentation at this revision

Comitter:
bogdanm
Date:
Wed Sep 11 20:15:08 2013 +0100
Parent:
13:869ef732a8a2
Child:
15:29007aef10a4
Commit message:
Synchronized with git revision 6eec86cbbf5003a2f9193a2d06d9a60b51c309c5

Changed in this revision

rtx/RTX_CM_lib.h Show annotated file Show diff for this revision Revisions of this file
rtx/RTX_Conf_CM.c Show annotated file Show diff for this revision Revisions of this file
--- a/rtx/RTX_CM_lib.h	Mon Aug 05 14:12:52 2013 +0300
+++ b/rtx/RTX_CM_lib.h	Wed Sep 11 20:15:08 2013 +0100
@@ -208,6 +208,9 @@
 #elif TARGET_LPC1114
 #define INITIAL_SP            (0x10001000UL)
 
+#elif TARGET_LPC812
+#define INITIAL_SP            (0x10001000UL)
+
 #elif TARGET_KL25Z
 #define INITIAL_SP            (0x20003000UL)
 
--- a/rtx/RTX_Conf_CM.c	Mon Aug 05 14:12:52 2013 +0300
+++ b/rtx/RTX_Conf_CM.c	Wed Sep 11 20:15:08 2013 +0100
@@ -51,7 +51,7 @@
 #ifndef OS_TASKCNT
 #  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC1347)
 #    define OS_TASKCNT         14
-#  elif defined(TARGET_LPC11U24) || (TARGET_LPC1114) || defined(TARGET_KL25Z)
+#  elif defined(TARGET_LPC11U24) || (TARGET_LPC1114) || (TARGET_LPC812) || defined(TARGET_KL25Z)
 #    define OS_TASKCNT         6
 #  endif
 #endif
@@ -60,7 +60,7 @@
 #ifndef OS_SCHEDULERSTKSIZE
 #  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368) || defined(TARGET_LPC4088) || defined(TARGET_LPC1347)
 #      define OS_SCHEDULERSTKSIZE    256
-#  elif defined(TARGET_LPC11U24) || (TARGET_LPC1114) || defined(TARGET_KL25Z)
+#  elif defined(TARGET_LPC11U24) || (TARGET_LPC1114) || (TARGET_LPC812) || defined(TARGET_KL25Z)
 #      define OS_SCHEDULERSTKSIZE    128
 #  endif
 #endif
@@ -110,6 +110,9 @@
 #  elif defined(TARGET_LPC11U24) || (TARGET_LPC1114) || defined(TARGET_KL25Z)
 #    define OS_CLOCK       48000000
 #
+#  elif defined(TARGET_LPC812)
+#    define OS_CLOCK       36000000
+#
 #  elif defined(TARGET_LPC4088)
 #    define OS_CLOCK       120000000
 #  endif