forked
Fork of mbed-rtos by
Diff: rtx/TARGET_CORTEX_M/RTX_CM_lib.h
- 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
