Skip to main content
YDann.7
Associate III
May 8, 2019
Question

STM32F1xx CAN library error

  • May 8, 2019
  • 2 replies
  • 554 views

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

This topic has been closed for replies.

2 replies

ST Technical Moderator
May 9, 2019

Hello,

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

Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
ST Technical Moderator
May 9, 2019

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks