-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
timing: missing extern "C" in timing.h #45337
timing: missing extern "C" in timing.h #45337
Comments
@torres98 can you please post a reproducer? matrix_test is not an upstream application, so we cannot diagnose this issue without more information |
This is because the zephyr/include/zephyr/kernel.h Lines 24 to 26 in 83c7baf
|
@stephanosio Thank you for the answer, i tried adding that option to the |
Please feel free to create a PR if you would like; if not, I will do that to get this change in for 3.1.0. |
I'll surely do that. Thanks again! |
That's great, thanks. I will keep this issue open so that we do not forget to fix this for 3.1.0. When you create a PR, you can specify |
During the compilation of a C++ project i get an undefined reference error regarding the timing functions declared in zephyr/timing/timing.h. Even though the compilation flag 'CONFIG_TIMING_FUNCTIONS' is set and the include doesn't raise any error, the linker doesn't seem to add the function code in the binaries...
Here is the complete output of the build command:
This is the main.cpp file:
And here the prj.conf file:
This issue is with the latest stable version of zephyr (3.0.99) and with the LaunchXL-cc1352r1 board (OS: Linux Mint).
The text was updated successfully, but these errors were encountered: