RTOS – osWait Sysprogs forums › Forums › VisualGDB › RTOS – osWait This topic has 1 reply, 2 voices, and was last updated 8 years, 4 months ago by support. Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 28, 2016 at 03:37 #8489 brunoParticipant Hello, Unable to use osWait() Error: undefined reference to ‘osWait’ I have already set: osFeature_Wait 1 Code: void lcdTask(void const *argument) { osEvent evt_lcd; for (;;) { evt_lcd = osWait(osWaitForever); switch(evt_lcd.status) { case osEventSignal: break; case osEventMessage: break; } } } June 28, 2016 at 22:23 #8494 supportKeymaster Hi, osWait() should normally be defined in cmsis_os.c. Please check that the file is included in your project and then see if the function is present in the file and is not surrounded by an inactive #ifdef block. Author Posts Log In Register Lost Password Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In