From 49755981dd37422fbed34477eb6f8926a77f9fc0 Mon Sep 17 00:00:00 2001 From: bcostm Date: Fri, 2 Dec 2016 15:16:05 +0100 Subject: [PATCH] Add this platform in mbed_rtx.h file --- targets/TARGET_STM/mbed_rtx.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/targets/TARGET_STM/mbed_rtx.h b/targets/TARGET_STM/mbed_rtx.h index d2fef8854e..4bf9880dee 100644 --- a/targets/TARGET_STM/mbed_rtx.h +++ b/targets/TARGET_STM/mbed_rtx.h @@ -392,6 +392,21 @@ #define OS_CLOCK 100000000 #endif +#elif defined(TARGET_STM32F412ZG) + +#ifndef INITIAL_SP +#define INITIAL_SP (0x20040000UL) +#endif +#ifndef OS_TASKCNT +#define OS_TASKCNT 14 +#endif +#ifndef OS_MAINSTKSIZE +#define OS_MAINSTKSIZE 256 +#endif +#ifndef OS_CLOCK +#define OS_CLOCK 100000000 +#endif + #elif defined(TARGET_STM32F446RE) #ifndef INITIAL_SP