Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
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>
  • Loading branch information
ABOSTM committed Feb 25, 2022
commit 8016ac2614dd11d71eebf2a60321d21468c6991c
2 changes: 1 addition & 1 deletion examples/frLiuLayland/frLiuLayland.ino
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ struct task_t {
task_t tasks1[] = {{10, 5, 2}, {15, 6, 1}};
task_t tasks2[] = {{10, 5, 2}, {15, 4, 1}};
task_t tasks3[] = {{10, 3, 3}, {13, 4, 2}, {17, 4, 1}};
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 2, 1}};
task_t tasks4[] = {{10, 3, 3}, {13, 4, 2}, {17, 1, 1}};
task_t* taskList[] = {tasks1, tasks2, tasks3, tasks4};
int taskCount[] = {2, 2, 3, 3};
//------------------------------------------------------------------------------
Expand Down