Skip to content

Commit a93b7d2

Browse files
mfiore02sg-
authored andcommitted
[XDOT_L151] add RTOS configuration for xDot
1 parent 1f40f3d commit a93b7d2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

hal/targets/cmsis/TARGET_STM/mbed_rtx.h

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -647,6 +647,21 @@
647647
#define OS_CLOCK 32000000
648648
#endif
649649

650+
#elif defined(TARGET_XDOT_L151CC)
651+
652+
#ifndef INITIAL_SP
653+
#define INITIAL_SP (0x20008000UL)
654+
#endif
655+
#ifndef OS_TASKCNT
656+
#define OS_TASKCNT 6
657+
#endif
658+
#ifndef OS_MAINSTKSIZE
659+
#define OS_MAINSTKSIZE 128
660+
#endif
661+
#ifndef OS_CLOCK
662+
#define OS_CLOCK 32000000
663+
#endif
664+
650665
#elif defined(TARGET_STM32L476VG)
651666

652667
#ifndef INITIAL_SP

0 commit comments

Comments
 (0)