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

microlib option

Hello Everyone,

I am using Use Microlib option in keil uvision4 for my project due to this Error: L6218E: Undefined symbol time (referred from main.o)
When i search it on Google i came to know that when we convert a project from ARMCC to Micro lib we will not be able to use time exit,abort and many other standard function.

Is There is any alternative to use that Time() function ?

Thanks
R.Kumar

  • Where do you think exit() and abort() go? exit and abort would expect some wizard behind the curtain to hand the magic numbers off to.

    Thing is that "standard" functions that require an OS to work typically need some code provided by the developer to actually tailor them for the embedded platform they've created. Time would need to associate with an internal RTC or counter implementation, which will be board/chip specific.

    You'd either need to integrate your own support functions, or perhaps just read the RTC directly and deal with time in a manner which more closely models your hardware or use case.