Skip to content

Commit 3b838d2

Browse files
bcostmadbridge
authored andcommitted
Add this platform in mbed_rtx.h file
1 parent 035c8d3 commit 3b838d2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

targets/TARGET_STM/mbed_rtx.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,21 @@
392392
#define OS_CLOCK 100000000
393393
#endif
394394

395+
#elif defined(TARGET_STM32F412ZG)
396+
397+
#ifndef INITIAL_SP
398+
#define INITIAL_SP (0x20040000UL)
399+
#endif
400+
#ifndef OS_TASKCNT
401+
#define OS_TASKCNT 14
402+
#endif
403+
#ifndef OS_MAINSTKSIZE
404+
#define OS_MAINSTKSIZE 256
405+
#endif
406+
#ifndef OS_CLOCK
407+
#define OS_CLOCK 100000000
408+
#endif
409+
395410
#elif defined(TARGET_STM32F446RE)
396411

397412
#ifndef INITIAL_SP

0 commit comments

Comments
 (0)