Skip to main content
GHolc.1
Associate III
June 24, 2021
Question

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

  • June 24, 2021
  • 2 replies
  • 1739 views

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.

This topic has been closed for replies.

2 replies

Houda GHABRI
ST Employee
July 1, 2021

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

Associate II
November 21, 2023

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

GHolc.1
GHolc.1Author
Associate III
July 1, 2021

0693W00000BcaWhQAJ.png