Skip to main content
Klaus3
Associate
May 5, 2022
Solved

[SOLVED] - Why is stm32f4xx_hal_can source file not imported despite CAN configuration?

  • May 5, 2022
  • 2 replies
  • 1288 views

I'm using a stm32f469-disco in a project that require CAN bus connectivity, but after the CAN configuration from the file .ioc the hal_can source file is not imported, so i can't even build the project (error with HAL_CAN_Init).

This topic has been closed for replies.
Best answer by Klaus3

SOLVED : I tried to use an old version of CubeMX (v6.3.0) to generate code and then edited with CubeIDE. Doing this the hal_can source file is imported correctly.

2 replies

Klaus3
Klaus3AuthorAnswer
Associate
May 5, 2022

SOLVED : I tried to use an old version of CubeMX (v6.3.0) to generate code and then edited with CubeIDE. Doing this the hal_can source file is imported correctly.

Markus GIRDLAND
ST Employee
May 9, 2022

Hello there,

Just to be clear if any other users find this discussion in the future. You were using 6.3.0 but updated to the latest version of CubeMX which solved the issue?

Klaus3
Klaus3Author
Associate
May 21, 2022

I was using the latest version when i had the problem that I exposed. I solved it with the old version (6.3.0).