Modified for BG96

Fork of mbed-dev by mbed official

Revision:
187:0387e8f68319
Parent:
186:707f6e361f3e
--- a/targets/TARGET_ARM_FM/mbed_rtx.h	Fri Jun 22 16:45:37 2018 +0100
+++ b/targets/TARGET_ARM_FM/mbed_rtx.h	Thu Sep 06 13:40:20 2018 +0100
@@ -16,13 +16,15 @@
 
 #ifndef MBED_MBED_RTX_H
 #define MBED_MBED_RTX_H
+#include "memory_zones.h"
 
 #if defined(TARGET_FVP_MPS2)
 
 #ifndef INITIAL_SP
-#define INITIAL_SP              (0x20020000UL)
+#define INITIAL_SP   (ZBT_SRAM2_START + ZBT_SRAM2_SIZE)
 #endif
 
+
 #endif /* defined(TARGET_...) */
 
 #endif  /* MBED_MBED_RTX_H */