2021-06-24 09:05 AM
Using STM32CubeMX version 6.2.1.
1) Create a project using STM32H755ZI, I named the project CubeMXError.
2) Generate code.
3) Open code with IAR, version 8.50.6.
4) In IAR, right click in the workspace to adjust options for node "CubeMXError".
5) In IAR, Pick category C/C++ Compiler and then tab Preprocessor
6) In IAR, Under Additional include directories, add on a line all by itself, $PROJ_DIR$
7) In IAR save the workspace.
8) Go back to STM323CubeMX and generate code again.
Error: The Code is successfully generated under : C:/Users/Public/HgRepos/CubeMXError Project language : C but EWARM V8.32project generation have a problem.
2021-07-01 07:26 AM
Hi @Community member ,
Let me sure that I understand the scenario, the error happens after you add an additional include in Preprocessor Tab?
Can you please give me the exact line added?
Houda
2021-07-01 07:45 AM
2023-11-21 12:09 AM
I have a similar problem. Is there already a solution?