cancel
Showing results for 
Search instead for 
Did you mean: 

Bug --- but EWARM V8.32project generation have a problem.

GHolc.1
Associate III

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.

3 REPLIES 3
Houda GHABRI
ST Employee

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

GHolc.1
Associate III

0693W00000BcaWhQAJ.png

I have a similar problem. Is there already a solution?