We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi,
I am using cubeMx based blinky example written for RTOS1. Now I am trying to migrate to RTOS2. After changing necessary things. I am getting error: .\LED_RTOS2.axf: Error: L6218E: Undefined symbol os_time (referred from main.o).
I checked that following include already added in to project -ID:/Keil_v5/ARM/PACK/ARM/CMSIS/5.1.1/CMSIS/RTOS2/RTX/Include
So what is the alternative for os_time? It is defined in rt_time.c in RTOS folder but not in RTOS2 folder.
One of the following would probably work.
osKernelGetTickCount();
osKernelGetSysTimerCount();
SysTick_GetVal();