Wednesday, October 18th 2017, 7:27am UTC+2

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to SEGGER Forum. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

KumA

Beginner

Date of registration: Nov 24th 2016

Posts: 1

1

Wednesday, February 22nd 2017, 10:05am

no definition for "OS_ConvertCycles2us" when calling OS_STAT_GetLoad

Hi,

I am using emBOS version 3.82u on STM32F4 processor board which support OS_STAT_GetLoad API,

in my application i want to calculate the current task CPU Load, but if i compile my Code it throws compilation error:
Error[Li005]: no definition for "OS_ConvertCycles2us" [referenced from OSSTATGL.o(os7m_tl__dp.a)]


Please suggest


Best regards,
Ankit Kumar

SEGGER - Til

Super Moderator

Date of registration: Nov 14th 2007

Posts: 255

2

Thursday, February 23rd 2017, 8:26am

Hello,


OS_ConvertCycles2us() is part of the RTOSinit.c
All our shipped RTOSInit.c include this function.

Please contact us via our support email address with your embOS license number and which board support package or exact device/evalboard you are using.
We will send you then everything you will need.

Best regards,
Til