1、fix compile bug;2、delete unused defconfig on nuttx;3、optimize w5500 socket test cmd for edu-riscv64 board from Wangguozhu

it is OK
This commit is contained in:
xuedongliang
2023-04-13 12:05:47 +08:00
9 changed files with 179 additions and 523 deletions
@@ -142,8 +142,8 @@ void UdpSocketRecvTest(int argc, char *argv[])
#endif
#ifdef ADD_NUTTX_FETURES
pthread_attr_t attr = PTHREAD_ATTR_INITIALIZER;
attr.priority = LWIP_TCP_DEMO_TASK_PRIO;
attr.stacksize = LWIP_TCP_DEMO_TASK_STACK_SIZE;
attr.priority = LWIP_UDP_DEMO_TASK_PRIO;
attr.stacksize = LWIP_UDP_DEMO_TASK_STACK_SIZE;
#endif
PrivTaskCreate(&udp_server_task, &attr, &UdpSocketRecvTask, NULL);
@@ -208,8 +208,8 @@ void UdpSocketSendTest(int argc, char *argv[])
#endif
#ifdef ADD_NUTTX_FETURES
pthread_attr_t attr = PTHREAD_ATTR_INITIALIZER;
attr.priority = LWIP_TCP_DEMO_TASK_PRIO;
attr.stacksize = LWIP_TCP_DEMO_TASK_STACK_SIZE;
attr.priority = LWIP_UDP_DEMO_TASK_PRIO;
attr.stacksize = LWIP_UDP_DEMO_TASK_STACK_SIZE;
#endif
PrivTaskCreate(&udp_client_task, &attr, &UdpSocketSendTask, NULL);