-
Notifications
You must be signed in to change notification settings - Fork 58
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
Cpp compatibility #7
Cpp compatibility #7
Conversation
…ent. To be able to be included from C++ code.
Hello @sergeyblagodarnyy, |
Hello @arnopo , I created a separate repository special for testing this issue. The problem occurs when you include the openamp / open_amp.h header file. In my case, if I work with STM32CubeMP1 version 1.4.0 or 1.5.0, I get the following errors: The proposed fixes resolve this issue. Best regards! |
I wrote the README to show how to build the project. It uses:
|
I can not find the gcc-arm-none-eabi repository on Faramax github |
Yes it was by mistake. Sorry. I've opened it now. |
If you have any trouble with this repository again, please, download gcc-arm-none-eabi-10-2020-q4-major to the arm-tools/gcc directory. It is a usual toolchain. Nothing specific. |
the 7z file seems corrupted. |
That's weird. I've just now repeated the build steps. Everything is ok. The archive is normal. Could you show me the error message? I didn't mention the need to execute |
And you have to have installed git-lfs |
The git-lfs was missing. Now i'm able to reproduce the issue.
Thanks! |
See STMicroelectronics/STM32CubeMP1#7 The header files including must be outside of the extern "C" { statement. To be able to be included from C++ code
See STMicroelectronics/STM32CubeMP1#7 The header files including must be outside of the extern "C" { statement. To be able to be included from C++ code
See STMicroelectronics/STM32CubeMP1#7 The header files including must be outside of the extern "C" { statement. To be able to be included from C++ code
See STMicroelectronics/STM32CubeMP1#7 The header files including must be outside of the extern "C" { statement. To be able to be included from C++ code
delivered in v1.6.0. |
There were simple drawback which didn't allow OpenAMP labrary code to be used in C++ code.