Commit 40a0237
wiseconnect: Use static allocation for threads
Zephyr CMSIS implementation has some limitations with dynamically allocated
resources[1].
This patch allocates the CMSIS resources statically. Thus:
- this allows to workaround the limitation of the current CMSIS implementation
until we fix them properly
- it is possible to get rid of the dependencies to
CMSIS_V2_THREAD_DYNAMIC_MAX_COUNT and CMSIS_V2_THREAD_MAX_COUNT.
[1]: zephyrproject-rtos/zephyr#85557
Upstream-status: Inappropriate [Zephyr specific workaround for stack allocation]
Signed-off-by: Arunmani Alagarsamy <[email protected]>1 parent 69473ad commit 40a0237
File tree
2 files changed
+24
-7
lines changed- wiseconnect/components/device/silabs/si91x/wireless
- inc
- src
2 files changed
+24
-7
lines changedLines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
64 | 74 | | |
65 | 75 | | |
66 | 76 | | |
| |||
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
90 | 91 | | |
91 | 92 | | |
92 | 93 | | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
93 | 100 | | |
94 | 101 | | |
95 | 102 | | |
| |||
1055 | 1062 | | |
1056 | 1063 | | |
1057 | 1064 | | |
1058 | | - | |
1059 | | - | |
1060 | | - | |
1061 | | - | |
| 1065 | + | |
| 1066 | + | |
| 1067 | + | |
| 1068 | + | |
1062 | 1069 | | |
1063 | 1070 | | |
1064 | 1071 | | |
| |||
1070 | 1077 | | |
1071 | 1078 | | |
1072 | 1079 | | |
1073 | | - | |
| 1080 | + | |
1074 | 1081 | | |
1075 | | - | |
1076 | | - | |
| 1082 | + | |
| 1083 | + | |
1077 | 1084 | | |
1078 | 1085 | | |
1079 | 1086 | | |
| |||
0 commit comments