cancel
Showing results for 
Search instead for 
Did you mean: 

Possible bug: CubeMX is not generating MSP Init code for some peripherals in HW_Init.c under Linux

Song Qiang
Associate II

Recently I'm planning on moving development environment from Win to Linux since trueSTUDIO and cubeMX is all supported under Linux. My project created under Windows created by cubeMX works fine with trueSTUDIO. But After one regeneration of code under Linux, many errors arise at run-time. After a quick look about the registers, I found out that clocks and IO of LTDC, SDRAM and DMA2D is not generated, which should have been generated in HW_Init.c.

Attachment is the ioc file of the project and two HW_Init.c generated under Windows and Linux, respectively.

11 REPLIES 11
Song Qiang
Associate II

Moreover, I tested the ioc file with cubeMX 5.2.0, 5.2.1, 5.3.0 and 5.4.0, they all act the same.

Khouloud ZEMMELI
ST Employee

​Hello @Song Qiang​ ,

Thanks for your feedback , this will be internally checked.

Best Regards,

Khouloud.

Khouloud ZEMMELI
ST Employee

​You're right! issue will be fixed in the next release.

We are deeply sorry for any inconvenience this may have caused.

Best Regards,

Khouloud.

Thanks! Good to hear that. Could you tell me when is the scheduled time for the next release?

​W49 , I'll inform you for any update.

Best Regards,

Khouloud

OK, thanks!

Khouloud ZEMMELI
ST Employee

The native Graphics solution is removed on 5.5.0.

Regards,

Khouloud.

Is there any explanation for that? Graphics support is an important feature for so many applications. Will this feature be added back later?

I will have to use old cubeMX to maintain my project then.