cancel
Showing results for 
Search instead for 
Did you mean: 

cubeMX from CubeIDE in H7 dual core does not add driver in porject files

ASche.5
Associate III

every time I am changing CubeMX and generate code in my STM32H755 project in CubeIDE 1.6 it forgets to add the section with the drivers that is shared between the M7 and M4 cores I end up using git diff every time after CubeMx update. I this fixed in newer versions it is very annoying. And it was not easy to find do to the fact that the IDE claims the source path is included but it is not realy ...

.cproject:
this line is deleted by CubeMX but it is needed:
<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="Drivers"/>

.project

all the section pointing to drivers are deleted by CubeMX 
<link>
<name>Drivers/STM32H7xx_HAL_Driver/stm32h7xx_hal.c</name>
<type>1</type>
<locationURI>PARENT-1-PROJECT_LOC/Drivers/STM32H7xx_HAL_Driver/Src/stm32h7xx_hal.c</locationURI>
</link>


this happens only when using cubeMX from the IDE if the project is set up new from ioc all is fine ...  

 

2 REPLIES 2
SofLit
ST Employee

Hello,

Are you using CubeIDE 1.6?

The latest version is 1.17.0.

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.
ASche.5
Associate III

@Alexshafi 
Thanks for the summery - I know but this is very bad tool behavior. So to your experience there is no better way then known the bug and working around it. 

@SofLit 
I need to stick to 1.16 for now project binding for now, but I will try it on 1.17 soon (IT need to allow me first ^^) 
Do you know if gets better in this regard or just pointing out that there is a newer version regardless, thanks