cancel
Showing results for 
Search instead for 
Did you mean: 

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

Klaus3
Associate II

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).

1 ACCEPTED SOLUTION

Accepted Solutions
Klaus3
Associate II

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.

View solution in original post

3 REPLIES 3
Klaus3
Associate II

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.

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
Associate II

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