Compare commits
No commits in common. "78026c5c4167f096acc81c2dc3a93271b9f11501" and "e0dea9e78e3f9005e05ba81951acd26ec2429ba6" have entirely different histories.
78026c5c41
...
e0dea9e78e
@ -2,16 +2,33 @@
|
||||
|
||||
Task_Runtime_t task_runtime;
|
||||
|
||||
// 定义任务属性
|
||||
const osThreadAttr_t attr_init = {
|
||||
.name = "Task_Init",
|
||||
.priority = osPriorityRealtime,
|
||||
.stack_size = 256 * 4,
|
||||
};
|
||||
|
||||
//用户自定义任务
|
||||
|
||||
const osThreadAttr_t attr_user_task = {
|
||||
.name = "Task_User",
|
||||
const osThreadAttr_t attr_can = {
|
||||
.name = "Task_Can",
|
||||
.priority = osPriorityRealtime,
|
||||
.stack_size = 128 * 4,
|
||||
};
|
||||
|
||||
const osThreadAttr_t attr_disp = {
|
||||
.name = "Task_Disp",
|
||||
.priority = osPriorityRealtime,
|
||||
.stack_size = 1024 * 4,
|
||||
};
|
||||
|
||||
const osThreadAttr_t attr_monitor = {
|
||||
.name = "Task_Monitor",
|
||||
.priority = osPriorityRealtime,
|
||||
.stack_size = 128 * 4,
|
||||
};
|
||||
|
||||
const osThreadAttr_t attr_pc = {
|
||||
.name = "Task_PC",
|
||||
.priority = osPriorityRealtime,
|
||||
.stack_size = 128 * 4,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user