2022-03-02 08:15 AM
It's not a big deal but this got me confused for a moment when I suddenly got compiler warnings.
Steps to reproduce:
This can easily be fixed manually by adding the missing include below in the user includes but still, it should be fixed in the CubeMX code generator.
Thanks!
Solved! Go to Solution.
2022-03-04 12:14 AM
Hello @StefanRickli ,
Thanks for your feedback,
This is issue is the same as the one reported in this thread Missing <include "spi.h"> in STM32CubeMX V. 6.4.0. / HAL 1.9.1 (STM32H7). it is already raised to the dev team to be fixed. I will keep you posted with updates.
As you mentioned, the workaround for this issue is to manually add #include "spi.h" in the user section.
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
2022-03-04 12:14 AM
Hello @StefanRickli ,
Thanks for your feedback,
This is issue is the same as the one reported in this thread Missing <include "spi.h"> in STM32CubeMX V. 6.4.0. / HAL 1.9.1 (STM32H7). it is already raised to the dev team to be fixed. I will keep you posted with updates.
As you mentioned, the workaround for this issue is to manually add #include "spi.h" in the user section.
If your issue is solved, please close this post by clicking the "Select as Best" button. This will help other members of the community find this response more quickly :)
Sara.
2022-03-07 06:54 AM
Hello @StefanRickli,
This issue is fixed in STM32CubeMX latest release.
V6.5.0 is now available under this Link.
Thanks for your contribution.
Sara.