Changes to support L152

Dependents:   L152RE_rtos_test

Fork of mbed-rtos by mbed official

Revision:
10:fcb1f103f7a1
Parent:
9:53e6cccd8782
Child:
11:db1fc233faa9
--- a/rtx/RTX_Conf_CM.c	Mon Jan 28 14:46:06 2013 +0000
+++ b/rtx/RTX_Conf_CM.c	Wed Apr 24 14:45:21 2013 +0000
@@ -51,7 +51,7 @@
 #ifndef OS_TASKCNT
 #  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
 #    define OS_TASKCNT         14
-#  elif defined(TARGET_LPC11U24)
+#  elif defined(TARGET_LPC11U24) || defined(TARGET_KL25Z)
 #    define OS_TASKCNT         6
 #  endif
 #endif
@@ -60,7 +60,7 @@
 #ifndef OS_SCHEDULERSTKSIZE
 #  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
 #      define OS_SCHEDULERSTKSIZE    256
-#  elif defined(TARGET_LPC11U24)
+#  elif defined(TARGET_LPC11U24) || defined(TARGET_KL25Z)
 #      define OS_SCHEDULERSTKSIZE    128
 #  endif
 #endif
@@ -103,7 +103,8 @@
 #ifndef OS_CLOCK
 #  if defined(TARGET_LPC1768) || defined(TARGET_LPC2368)
 #    define OS_CLOCK       96000000
-#  elif defined(TARGET_LPC11U24)
+
+#  elif defined(TARGET_LPC11U24) || defined(TARGET_KL25Z)
 #    define OS_CLOCK       48000000
 #  endif
 #endif