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
1) Under Project -> Options For Target -> Target tab, on the top-right, I have "Use Default Compiler version 6" 2) In my project, When I open this file and go to line 464: C:\Keil_v5\ARM\PACK\ARM\CMSIS\5.8.0\CMSIS\RTOS2\RTX\Source\rtx_core_cm.h#if defined(__CC_ARM)static __asm uint8_t atomic_wr8 (uint8_t *mem, uint8_t val) {The static line is grayed out - as it should, because I am using compiler 6. My setup:µVision V5.34.0.0Copyright (C) 2021 ARM Ltd and ARM Germany GmbH. All rights reserved.Toolchain: MDK-ARM Professional Version: 5.34.0.0Toolchain Path: C:\Keil_v5\ARM\ARMCLANG\BinC Compiler: ArmClang.exe V6.16Assembler: Armasm.exe V6.16Linker/Locator: ArmLink.exe V6.16Library Manager: ArmAr.exe V6.16Hex Converter: FromElf.exe V6.16