Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: hello SerialTestv11 SerialTestv12 Sierpinski ... more
Diff: TARGET_NUCLEO_F072RB/TARGET_STM/mbed_rtx.h
- Revision:
- 132:9baf128c2fab
- Parent:
- 128:9bcdf88f62b0
- Child:
- 140:97feb9bacc10
--- a/TARGET_NUCLEO_F072RB/TARGET_STM/mbed_rtx.h Thu Dec 15 11:17:48 2016 +0000 +++ b/TARGET_NUCLEO_F072RB/TARGET_STM/mbed_rtx.h Tue Dec 20 15:36:52 2016 +0000 @@ -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 @@ -584,7 +599,7 @@ #define OS_MAINSTKSIZE 256 #endif #ifndef OS_CLOCK -#define OS_CLOCK 24000000 +#define OS_CLOCK 32000000 #endif #elif defined(TARGET_NZ32_SC151)