|
发表于 2020-8-5 10:44:19
|
显示全部楼层
/* èÎÎñμÄêôDÔéèÖà */
const osThreadAttr_t ThreadStart_Attr =
{
/* Î′ê1óÃ */
// .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 = "ThreadStart",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal4,
.stack_size = 2048,
};
const osThreadAttr_t ThreadEthCheck_Attr =
{
.name = "osRtxEthCheckThread",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal3,
.stack_size = 1024,
};
const osThreadAttr_t ThreadLwIPPro_Attr =
{
.name = "osRtxLwIPProThread",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal2, //osPriorityNormal2
.stack_size = 1024,
};
const osThreadAttr_t ThreadMsgPro_Attr =
{
.name = "ThreadMsgPro",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal2,//osPriorityNormal2
.stack_size = 1024,
};
const osThreadAttr_t ThreadLED_Attr =
{
.name = "ThreadLED",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal1,
.stack_size = 1024,
};
const osThreadAttr_t ThreadUserIF_Attr =
{
.name = "ThreadUserIF",
.attr_bits = osThreadDetached,
.priority = osPriorityNormal,
.stack_size = 1024,
};
用的是这个配置,ping一段时间后会超时,使用atkkpin软件进行ping,忽略ping时间间隔 |
|