在STM32CubeIDE中包含lwIP和FreeRTOS 我正在添加新线程(作为新任务),但不成功 /* Definitions for TCPip */ osThreadId_t mtcpConHandle; const osThreadAttr_t mtcpCon_attributes = { .name = “mtcpCon“, .stack_size = 384 * 4, .priority = (osPriority_t) osPriorityNormal, }; void mstartTcpCon(void *argument); int main(void) { /* creation of TCPip connection*/ mtcpConHandle = osThreadNew(mstartTcpCon, NULL, &mtcpCon_attributes); while (1) { } } void mstarTcpCon(void *argument) { .... } 在编译时出现以下make错误:
main.o: in function ‘main’ undefined reference to ‘mstartTcpCon’
|