Official mbed Real Time Operating System based on the RTX implementation of the CMSIS-RTOS API open standard. Added Nucleo STM32F103RB board

Fork of mbed-rtos by mbed official

Files at this revision

API Documentation at this revision

Comitter:
olympux
Date:
Wed Oct 08 19:29:49 2014 +0000
Parent:
42:56a3d044541d
Commit message:
Added Nucleo STM32F030R8T6 board

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	Sat Sep 20 20:42:19 2014 +0000
+++ b/rtx/RTX_CM_lib.h	Wed Oct 08 19:29:49 2014 +0000
@@ -262,6 +262,9 @@
 # elif defined(TARGET_STM32F103RB)
 #define INITIAL_SP            (0x20002000UL)
 
+# elif defined(TARGET_STM32F030R8)
+#define INITIAL_SP            (0x20002000UL)
+
 #else
 #error "no target defined"
 
--- a/rtx/RTX_Conf_CM.c	Sat Sep 20 20:42:19 2014 +0000
+++ b/rtx/RTX_Conf_CM.c	Wed Oct 08 19:29:49 2014 +0000
@@ -55,7 +55,7 @@
 #  elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401)  || defined(TARGET_LPC11U35_501) || defined(TARGET_LPCCAPPUCCINO) || defined(TARGET_LPC1114) \
 	 || defined(TARGET_LPC812)   || defined(TARGET_KL25Z)         || defined(TARGET_KL05Z)        || defined(TARGET_STM32F100RB)  || defined(TARGET_STM32F051R8)
 #    define OS_TASKCNT         6
-#  elif defined(TARGET_STM32F103RB)
+#  elif defined(TARGET_STM32F103RB) || defined(TARGET_STM32F030R8)
 #    define OS_TASKCNT         6
 #  else
 #    error "no target defined"
@@ -70,7 +70,7 @@
 #  elif defined(TARGET_LPC11U24) || defined(TARGET_LPC11U35_401)  || defined(TARGET_LPC11U35_501) || defined(TARGET_LPCCAPPUCCINO)  || defined(TARGET_LPC1114) \
 	 || defined(TARGET_LPC812)   || defined(TARGET_KL25Z)         || defined(TARGET_KL05Z)        || defined(TARGET_STM32F100RB)  || defined(TARGET_STM32F051R8)
 #      define OS_SCHEDULERSTKSIZE    128
-#  elif defined(TARGET_STM32F103RB)
+#  elif defined(TARGET_STM32F103RB) || defined(TARGET_STM32F030R8)
 #      define OS_SCHEDULERSTKSIZE    128
 #  else
 #    error "no target defined"
@@ -149,6 +149,9 @@
 #  elif defined(TARGET_STM32F103RB)
 #     define OS_CLOCK       72000000
 
+#  elif defined(TARGET_STM32F030R8)
+#     define OS_CLOCK       48000000
+
 #  else
 #    error "no target defined"
 #  endif