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.
