|

楼主 |
发表于 2025-1-14 15:48:07
|
显示全部楼层
const osThreadAttr_t ThreadStart_Attr =
{
/* 未使用 */
// .cb_mem = &worker_thread_tcb_1,
// .cb_size = sizeof(worker_thread_tcb_1),
// .stack_mem = &worker_thread_stk_1[0],
// .stack_size = sizeof(worker_thread_stk_1),
// .priority = osPriorityAboveNormal,
// .tz_module = 0
.name = "osRtxStartThread",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal4,
.stack_size = 2048,
};
const osThreadAttr_t ThreadEthCheck_Attr =
{
.name = "osRtxEthCheckThread",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal3,
.stack_size = 1024,
};
#define ETH0_THREAD_PRIORITY osPriorityNormal3 //osPriorityAboveNormal1
#define ETH1_THREAD_PRIORITY osPriorityNormal3 //osPriorityAboveNormal1
#define NET_THREAD_PRIORITY osPriorityAboveNormal
任务优先级改了下还是不行 |
|