Skip to main content
Song Qiang
Associate
November 7, 2019
Question

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

  • November 7, 2019
  • 11 replies
  • 4147 views

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.

This topic has been closed for replies.

11 replies

Song Qiang
Associate
November 7, 2019

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
November 7, 2019

​Hello @Song Qiang​ ,

Thanks for your feedback , this will be internally checked.

Best Regards,

Khouloud.

Khouloud ZEMMELI
ST Employee
November 7, 2019

​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.

Song Qiang
Associate
November 7, 2019

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

Khouloud ZEMMELI
ST Employee
November 8, 2019

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

Best Regards,

Khouloud

Khouloud ZEMMELI
ST Employee
January 7, 2020

The native Graphics solution is removed on 5.5.0.

Regards,

Khouloud.

Song Qiang
Associate
January 9, 2020

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