2021-01-13 03:51 AM
i am trying to compile the third party OpenAMP folder in IAR with C++ and am facing a lot of errors.
how can these be resolved.
2021-01-19 07:00 AM
Hi @SMang.1
Which version of ecosystem are you using ?
CubeMX version ? Firmware package ?
Thanks
Olivier
2021-08-31 10:27 AM
Hello,
I am facing a similar issue. If i keep my main file with .c extension it works, but except for the generated code, we have entire code base in cpp.
Can you please help
2021-08-31 11:45 PM
Hi @JTari.1 ,
This remind me limitation we got in old version ecosystem V1 :
But their are no more mention in last V3.
So it should works using latest CubeMP1 package V1.4.0
Did you generate your project with CubeMX ?
Did you check if provided exemple in Cube Package are working ?
STM32Cube_FW_MP1_V1.4.0\Projects\STM32MP157C-DK2\Applications\OpenAMP\OpenAMP_raw
STM32Cube_FW_MP1_V1.4.0\Projects\STM32MP157C-DK2\Applications\OpenAMP\OpenAMP_TTY_echo
Olivier
2021-09-01 12:50 AM
Hello,
Thankyou for the reply. i am not using MP1 package but STM32H7 package for dual core microcontrollers. Yes i used the CubeMX to generate the code.
The problem arises because of using c++ instead of c. I guess OpenAMP doesnt support c++. Is there any help on this?
2021-09-01 12:53 AM
Hi, you mean you work on H7 platform ?
In that case worth to open a new post in STM32H7 community.
Olivier