-
Notifications
You must be signed in to change notification settings - Fork 150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Missing CMSIS RTOS abstraction for i.MX RT #199
Comments
Hi @stefanct, currently the CMSIS RTOS2 is not used by any of the SDK examples.
|
That's basically what I have tried in my own project. However, in my case the config.cmake gets overwritten with the CONFIG_USE_CMSIS_Device_API_RTOS2 line removed when launching kconfig/menuconfig and before/while building. You probably can already tell where this is going by now but I'll continue explaining how I came to my own conclusions: I could re-create the build error in the hello world example you mentioned but only in an older version. Namely before Assuming I have now grasped the situation better I wonder how to continue. You wrote in #179 your team is working on a re-design of the whole kconfig integration. Is there a timeline for this? I'd rather not migrate away from mcux.cmake at this point as I spent quite some time to make it work satisfactorily in my environment :) So I'd rather look at the kconfig implementation myself to fix this include file problem but any comments/insight from you are very welcome. Thank you. |
Oh and I forgot to mention that we had this problem initially in Eclipse on a pristine system that does not use my build system. In Eclipse there is simply no way to add |
Describe the bug
We would like to port a library to our project that relies on the functions declared in
cmsis_os2.h
. I can see this file is included in the SDK and referenced by the manifests of the RT series including the rt1020 that we are using. However, neither within Eclipse nor within a CMake-based project it seems to be available (i.e., the include directory is not added to the compiler command). From the CMake code it looks like maybe it was a user-visible/selectable component (set(CONFIG_USE_CMSIS_Device_API_RTOS2 true)
is contained in the RTs'all_lib_device.cmake
). There doesn't seem to be any example in the examples repository that uses it but I see no explicit indication whatsoever that it shouldn't be available. I presume it is a bug. Do I missing something?To Reproduce
Add an
#include <cmsis_os2.h>
preprocessor statement and try to compile.Expected behavior
A working build :)
Additional context
I haven't checked at all if the actual library is available for linking yet.
The text was updated successfully, but these errors were encountered: