undefined reference to
Hello!
Can somebody say what im doing wrong
I have project in STM32CubeIDE with lwip and freertos
Im trying to add new thread(as new task) with exist principles and cant do it
/* 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)
{
....
}
And at build I have got the following make errors:
main.o: in function ‘main’
undefined reference to ‘mstartTcpCon’
