Skip to content

Commit 8016ac2

Browse files
committed
fix: support STM32WL family
It happens on STM32WL that case 4 fails. And it seems to be linked to LiuLayland theoritical bound value, which is based on ideal system. It doesn't take into account things like RTOS task swap, ... So take more margin for case 4 by decreasing the cpu load of one task, so that global CPU moves away from theoretical bound. Signed-off-by: Alexandre Bourdiol <alexandre.bourdiol@st.com>
1 parent a08ba4d commit 8016ac2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/frLiuLayland/frLiuLayland.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ struct task_t {
3131
task_t tasks1[] = {{10, 5, 2}, {15, 6, 1}};
3232
task_t tasks2[] = {{10, 5, 2}, {15, 4, 1}};
3333
task_t tasks3[] = {{10, 3, 3}, {13, 4, 2}, {17, 4, 1}};
34-
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 2, 1}};
34+
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 1, 1}};
3535
task_t* taskList[] = {tasks1, tasks2, tasks3, tasks4};
3636
int taskCount[] = {2, 2, 3, 3};
3737
//------------------------------------------------------------------------------

0 commit comments

Comments
 (0)