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

Dependents:   denki-yohou_b TestY201 Network-RTOS NTPClient_HelloWorld ... more

Deprecated

This is the mbed 2 rtos library. mbed OS 5 integrates the mbed library with mbed-rtos. With this, we have provided thread safety for all mbed APIs. If you'd like to learn about using mbed OS 5, please see the docs.

Revision:
68:d3d0e710b443
Parent:
65:83e169389a69
Child:
71:570e569a5b59
--- a/rtx/TARGET_CORTEX_M/RTX_CM_lib.h	Fri Feb 27 10:00:40 2015 +0000
+++ b/rtx/TARGET_CORTEX_M/RTX_CM_lib.h	Thu Mar 12 14:31:19 2015 +0000
@@ -298,6 +298,9 @@
 #elif defined(TARGET_STM32F401VC)
 #define INITIAL_SP            (0x20010000UL)
 
+#elif defined(TARGET_STM32F303RE)
+#define INITIAL_SP            (0x20010000UL)
+
 #else
 #error "no target defined"
 
@@ -471,14 +474,14 @@
   if (__low_level_init() != 0) {
     __iar_data_init3();
     mbed_sdk_init();
-    __iar_dynamic_initialization(); 
-  } 
+    __iar_dynamic_initialization();
+  }
   osKernelInitialize();
   set_main_stack();
   osThreadCreate(&os_thread_def_main, NULL);
   a = osKernelStart();
-  exit(a);  
-  
+  exit(a);
+
 }
 
 #endif