Using MDK V5.22. Set up a base STM32L0 project. Compiled and worked ok.
Now wanted to add CMSIS RTOS2 RTX5. Used "Manage Run-Time Environment" to add "RTOS2 (API)" via its checkbox. Then added #include "cmsis_os.h" in main.c and tried to rebuild project.
First error: Compiler cannot find file cmsis_os.h. There are numerous files in \Keil_v5 subdirectories, but which one to use? Or: Which include file path to add to my Project?
Next errors in rtx_system.c (#20, line 213) and rtx_thread.c (#77-D, line 471): Compiler does not know of "__WEAK". All other rtx_...c files are translatable ok.
Best regards Juergen