Skip to main content
Antoine1
Associate
Oct 2, 2019 2:25 PM UTC
Solved

compilation failed with cubemx generated code when configuring i2c interface in smbus mode

Hi,

I'm trying to configure an I2C interface in SMBUS mode on an STM32F4. However, cubemx (v5.3.0) does not correctly generate code (missing include and file about HAL SMBUS, missing handle, empty init function, etc.). Compilation failed.

Is there a plan to fix it?

Thanks

This topic has been closed for replies.
Antoine1
Antoine1Best answer
Associate
Oct 23, 2019 8:05 AM UTC

Fixed in cubemx v5.4.0

Thank you

4 replies

Nesrine.JLASSI
Visitor II
Oct 3, 2019 9:37 AM UTC

Hello @Antoine​ 

Could you please send me your .ioc file to check the problem.

Regards,

Nesrine

Antoine1
Antoine1Author
Associate
Oct 7, 2019 1:11 PM UTC

Hi Nesrine,

Please find attached .ioc file.

Regards,

Antoine

Nesrine.JLASSI
Visitor II
Oct 11, 2019 1:20 PM UTC

Hello @Antoine​ 

Thanks for the feedback,

It will be fixed next cubeMX version.

Best regards,

Nesrine

Antoine1
Antoine1AuthorBest answer
Associate
Oct 23, 2019 8:05 AM UTC

Fixed in cubemx v5.4.0

Thank you