This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error C202: 'osThreadId_t': undefined identifier

when trying to execute the below code,

osThreadId_t tid1; tid1 = osThreadNew(job1, NULL, NULL); // Create a new thread

I am facing the error "main.c(24): error C202: 'osThreadId_t': undefined identifier". Which header file I should include to solve this error? And could anyone please tell me how to include the default header files path