cancel
Showing results for 
Search instead for 
Did you mean: 

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

Antoine1
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Antoine1
Associate II

Fixed in cubemx v5.4.0

Thank you

View solution in original post

4 REPLIES 4

Hello @Antoine​ 

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

Regards,

Nesrine

Antoine1
Associate II

Hi Nesrine,

Please find attached .ioc file.

Regards,

Antoine

Hello @Antoine​ 

Thanks for the feedback,

It will be fixed next cubeMX version.

Best regards,

Nesrine

Antoine1
Associate II

Fixed in cubemx v5.4.0

Thank you