mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c

Dependents:   Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay

Fork of mbed-dev by mbed official

Revision:
153:fa9ff456f731
Parent:
150:02e0a0aed4ec
Child:
165:e614a9f1c9e2
diff -r 9a67f0b066fc -r fa9ff456f731 targets/TARGET_Freescale/mbed_rtx.h
--- a/targets/TARGET_Freescale/mbed_rtx.h	Thu Dec 15 11:48:27 2016 +0000
+++ b/targets/TARGET_Freescale/mbed_rtx.h	Tue Dec 20 17:27:56 2016 +0000
@@ -217,6 +217,21 @@
 #define OS_CLOCK                48000000
 #endif
 
+#elif defined(TARGET_KW41Z)
+
+#ifndef INITIAL_SP
+#define INITIAL_SP              (0x20018000UL)
+#endif
+#ifndef OS_TASKCNT
+#define OS_TASKCNT              14
+#endif
+#ifndef OS_MAINSTKSIZE
+#define OS_MAINSTKSIZE          256
+#endif
+#ifndef OS_CLOCK
+#define OS_CLOCK                40000000
+#endif
+
 #elif defined(TARGET_K82F)
 
 #ifndef INITIAL_SP