cancel
Showing results for 
Search instead for 
Did you mean: 

Deleted file *.h with CubeMx

CAPOSIENA.Philippe
Associate II
Posted on March 16, 2016 at 14:47

Hello,

i'm using CubeMx 4.13 and I have this problem :

Sometimes one file *.h generated by CubeMx is deleted when regenerating the project.

In the Project settings in Code generator i use 'Generate peripherals initalization as a pair of '.c/.h' files per IP'.

I have to regenerate the project to recreate the deleted file but all my user code included is lost.

This problem happens at least once in ten and was already present in earlier version of CubeMx.

Thanks.

Philippe
3 REPLIES 3
Nesrine M_O
Lead II
Posted on March 16, 2016 at 15:19

Hi Philippe,

Thank you for your feedback. The issue has been reported internally.

-Syrine-

stm32cube-t
Senior III
Posted on March 16, 2016 at 16:04

Dear user,

We don't reproduce your issue. Also, can you please provide your .ioc file and indicate in which mode (standalone application, eclipse plug-in, command lines) and on which operating system you're running.

Any specific .h file gets deleted?

 

Thank you
CAPOSIENA.Philippe
Associate II
Posted on March 18, 2016 at 15:53

Hello,

here is my project. The main.c file is also rarely deleted.

I use True Studio and my project is opened in True Studio when generating the project under CubeMx.

The problem is very strange. Some days, no bug and some days it often happens .

Thanks

Philippe

________________

Attachments :

ProjectBugDeleted_hFiles.ioc : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzWX&d=%2Fa%2F0X0000000bN9%2FSpqZOKcKBB3zc5ulrxTdgr8lOmQZ7wVdUghO5ceaWNc&asPdf=false