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'm trying to learn the workings of/with the Keil RTX5, using the supplied tutorial.
During the first steps I do encounter a compiling error in the function "uint32_t os_Error (uint32_t code, void *object_id)". All the error codes os_ErrorStackUnderflow, os_ErrorISRQueueOverflow, os_ErrorTimerQueueOverflow, case os_ErrorClibSpace and os_ErrorClibMutex are unknown.
What I'm doing wrong?
Any help appreciated, Hans
I don't know exactly where this comes from, but it seems that there is a mismatch of the compiler versions. When you get an error message for this line, it means that the definition __CC_ARM is set. This is usually only set when the Arm compiler version 5 is selected. If this is the case, you should not get any errors. I assume, that you have selected the Arm compiler version 6 but maybe __CC_ARM is manually defined somewhere in your project. If you can't fix this issue, please tell me which versions of MDK, CMSIS and which Arm compiler you use (hint: MDK 5.35 was released yesterday, CMSIS 5.8.0 two days before). You could also create a support ticket with your project attached to it.
Hans
They might have more than one version installed?