We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc2cea6 commit 95a3baaCopy full SHA for 95a3baa
changelog.md
@@ -281,6 +281,10 @@
281
282
- 修复`OS_TmrCallback`函数中,在有延迟的周期延时没有对`.Match` `.Remain`成员变量重新赋值的问题
283
284
+### 2020-9-28
285
+
286
+- 创建任务时,将任务堆栈的首地址由`AppTask1_Stack`改为`&AppTask1_Stack[0]`以突出堆栈的首地址
287
288
289
290
@@ -480,6 +484,8 @@
480
484
481
485
**[bug fix]** 修复`OS_TmrCallback`函数中,在有延迟的周期延时没有对`.Match` `.Remain`成员变量重新赋值的问题
482
486
487
+创建任务时,将任务堆栈的首地址由`AppTask1_Stack`改为`&AppTask1_Stack[0]`以突出堆栈的首地址
488
483
489
490
491
uCOS-III_Wrapper/examples/mutex_example.c
@@ -74,7 +74,7 @@ void mutex_example (void)
74
AppTask1, /*任务函数*/
75
0, /*传递给任务函数的参数*/
76
TASK_PRIORITY, /*任务优先级*/
77
- AppTask1_Stack, /*任务堆栈基地址*/
+ &AppTask1_Stack[0], /*任务堆栈基地址*/
78
TASK_STACK_SIZE/10, /*任务堆栈深度限位*/
79
TASK_STACK_SIZE, /*任务堆栈大小*/
80
0, /*任务内部消息队列能够接收的最大消息数目,为0时禁止接收消息*/
@@ -92,7 +92,7 @@ void mutex_example (void)
92
AppTask2, /*任务函数*/
93
94
95
- AppTask2_Stack, /*任务堆栈基地址*/
+ &AppTask2_Stack[0], /*任务堆栈基地址*/
96
97
98
uCOS-III_Wrapper/examples/q_example.c
@@ -99,7 +99,7 @@ void q_example (void)
99
100
101
102
103
104
105
@@ -117,7 +117,7 @@ void q_example (void)
117
118
119
120
121
122
123
uCOS-III_Wrapper/examples/sem_example.c
@@ -117,7 +117,7 @@ void sem_example (void)
@@ -135,7 +135,7 @@ void sem_example (void)
135
136
137
138
139
140
141
@@ -154,7 +154,7 @@ void sem_example (void)
154
AppTask3, /*任务函数*/
155
156
157
- AppTask3_Stack, /*任务堆栈基地址*/
+ &AppTask3_Stack[0], /*任务堆栈基地址*/
158
159
160
uCOS-III_Wrapper/examples/suspend_example.c
@@ -60,7 +60,7 @@ void suspend_example (void)
60
61
62
63
64
65
66
@@ -78,7 +78,7 @@ void suspend_example (void)
81
82
83
84
uCOS-III_Wrapper/examples/task_sem_example.c
@@ -71,7 +71,7 @@ void task_sem_example (void)
71
thread2_entry, //任务函数
72
0, //传递给任务函数的参数
73
THREAD_PRIORITY-1, //任务优先级
- thread2_stack, //任务堆栈基地址
+ &thread2_stack[0], //任务堆栈基地址
THREAD_STACK_SIZE/10, //任务堆栈深度限位
THREAD_STACK_SIZE, //任务堆栈大小
0, //任务内部消息队列能够接收的最大消息数目,为0时禁止接收消息
@@ -89,8 +89,8 @@ void task_sem_example (void)
89
(CPU_CHAR*)"thread1", //任务名字
90
thread1_entry, //任务函数
91
- THREAD_PRIORITY, //任务优先级
- thread1_stack, //任务堆栈基地址
+ THREAD_PRIORITY, //任务优先级
+ &thread1_stack[0], //任务堆栈基地址
uCOS-III_Wrapper/examples/timer_example.c
@@ -64,7 +64,7 @@ void timer_example (void)
67
68
69
70
0 commit comments