cancel
Showing results for 
Search instead for 
Did you mean: 

ST Motor Control Source Code generation fails

bm2
Associate III

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

2 REPLIES 2
bm2
Associate III

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
ST Employee

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