AnsweredAssumed Answered

Problem to compile my project with Motor Control Workbench

Question asked by Ferrari.Manuele on May 19, 2017
Latest reply on Oct 17, 2017 by Fredrik Pande

Good morning, I can’t compile my project to use the Motor Control Workbench 4.3 Monitor

I summarize the initial process: Open Workbench, New Project, select Power and control after select NUCLEO-F303RE and STEVAL-IPM05F 3Sh and a my custom motor profile.

Now can Save my project, use this folder:

C:\Program Files (x86)\STMicroelectronics\FOC SDK\v4.3.0\STM32 PMSM FOC LIB\Web

After set all motor, power stage, Drive management and Control Stage parameters, save the project.


Press “generation” and select the default folder. Now it’s appear a pop-up to remember to program my nucleo. I will use AC6, I open this file:

C:\Program Files (x86)\STMicroelectronics\FOC SDK\v4.3.0\STM32 PMSM FOC LIB\Web\Project\AC6\STM32F30x_UserProject/.project

AC6 start, I will compile but I can select  4 option but none for my STM32F303.


When I try to compile there are a 2 problem:

#error "Invalid configuration: MCU definition in Control stage parameters.h not compatible with selected board. Please use the ST Motor Control Workbench to configure the firmware according your system."  STM32F30x_UserProject                             line 88, external location: C:\Data\Software\STM32\Workbench\Web\Project\CrossCheck.h

make: *** [UI Library/src/UserInterfaceClass.o] Error 1              STM32F30x_UserProject


what am I doing wrong?