Skip to main content
bm2
Associate III
September 5, 2024
Question

ST Motor Control Source Code generation fails

  • September 5, 2024
  • 1 reply
  • 700 views

Hello,

I have buy the NUCLEO-F302R8 board with the X-NUCLEO-IHM07M1 with the motor BR2807. Now I search for the library and code generation with STM32CubeMX. It is stand on the web page that is "Workflow supporting the STM32CubeMX GUI configurator". But I dosn't found the package for STM32CubeMX for this.

So I have download and install software X-CUBE-MCSDK. After starting of this I can select the correct hardware. But afte start the generation of the source code I become a error:

bm2_0-1725542595196.png

How can I solve it? Which package must I install in STM32CubeMX? I dosn't found a package for this.

Why can't I do this in STM32CubeMX?

Best regard, Bernd

1 reply

bm2
bm2Author
Associate III
September 5, 2024

Now I have check the same with the newer version X-CUBE-MCSDK-6. But here I become other errors during the generation:

bm2_0-1725543293248.png

 

GMA
Technical Moderator
September 5, 2024

Hello @bm2,

As mentioned in this post, do not take into account this error and if generation reaches main.c file, please proceed with generated project.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA