cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F1xx CAN library error

YDann.7
Associate III

Dear,

There is probably an error in the STM32F1xx CubeMX library V1.7.0.

In the "stm32f1xx_hal_can.c" in the "Legacy" folder, the preprocessor compilation (ligne 117) is "#ifdef HAL_CAN_MODULE_ENABLED" but I think it must be "#ifdef HAL_CAN_LEGACY_MODULE_ENABLED".

Regards

2 REPLIES 2
Imen.D
ST Employee

Hello,

We will check this issue and come back to you soon with update.

Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hi @Community member​ ,

Thanks for reporting this error.

After check, this issue is confirmed and already passed along to our development team for fix in the next release.

Keep an eye out for the next update on STM32CubeF1!

Thanks,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen