cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX DMA code not generate in IDE 2.0 project (Nucleo F746ZG)

Segal
Associate

Hi,

I'm probably doing wrong as a newbie in STM32 programmation:

I try to generate this configuration code for dma but I can't see any dma.c file in the project folder.

(I did refresh the project after generating the code)

Thanks for help

 

Segal_0-1767733670669.png

Segal_1-1767733826565.pngSegal_2-1767733906164.png

 

4 REPLIES 4
Mahmoud Ben Romdhane
ST Employee

Hello @Segal 

Let me thank you for posting and welcome to the ST Community.

For more investigation, I suggest that you provide your Ioc.File.

Thanks.

Mahmoud

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Segal
Associate

Hi Mahmoud,

I attached the .ioc 

Thank you

 

 

Segal
Associate

Hi there,

Maybe a part of my issue: the project was not save in the CubeIDE workspace.

Now that I copied it in the workspace I can see the right files tree:

Segal_0-1768057581706.png

But I get a new problem: I can't build the project neither save it. Some Icons are not actives in the Toolbar.

Segal_1-1768058027340.png

What I Am doing wrong?

 

Thanks for help

 

TDK
Super User

The project needs to be added to the workspace correctly.

First, remove it from the workspace. Then, either:

  • After clicking Generate Code, press the "Open Project" button
  • or, Open the .project file from the filesystem.

If you do that, it will build successfully:

TDK_0-1768063291418.png

 

If you feel a post has answered your question, please click "Accept as Solution".