Skip to main content
Antoine1
Associate
October 2, 2019
Solved

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

  • October 2, 2019
  • 4 replies
  • 1133 views

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.
Best answer by Antoine1

Fixed in cubemx v5.4.0

Thank you

4 replies

Nesrine.JLASSI
Visitor II
October 3, 2019

Hello @Antoine​ 

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

Regards,

Nesrine

Antoine1
Antoine1Author
Associate
October 7, 2019

Hi Nesrine,

Please find attached .ioc file.

Regards,

Antoine

Nesrine.JLASSI
Visitor II
October 11, 2019

Hello @Antoine​ 

Thanks for the feedback,

It will be fixed next cubeMX version.

Best regards,

Nesrine

Antoine1
Antoine1AuthorBest answer
Associate
October 23, 2019

Fixed in cubemx v5.4.0

Thank you