cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I'm trying to use MotorControl Workbench 5.4.5 with STM32CubeIDE 1.2.0. (STM32F303) Generate the project, and when added all library ( it's really strange because, in IAR, it was automatically added).

OMarc.1
Associate III

And I have 171 errors.

Errors like this:

undefined reference to `STM_NextState'

MotorControl/mc_interface.o: In function `MCI_StopMotor':

undefined reference to `STM_NextState'

MotorControl/mc_interface.o: In function `MCI_FaultAcknowledged':

undefined reference to `STM_FaultAcknowledged'

MotorControl/mc_interface.o: In function `MCI_EncoderAlign':

undefined reference to `STM_NextState'

MotorControl/mc_interface.o: In function `MCI_ExecBufferedCommands':

undefined reference to `STC_SetControlMode'

undefined reference to `STC_ExecRamp'

undefined reference to `STC_SetControlMode'

undefined reference to `STC_ExecRamp'

MotorControl/mc_interface.o: In function `MCI_GetSTMState':

undefined reference to `STM_GetState'

MotorControl/mc_interface.o: In function `MCI_StopRamp':

undefined reference to `STC_StopRamp'

MotorControl/mc_interface.o: In function `MCI_GetAvrgMecSpeedUnit':

In IAR ewerything is ok. 0 errors.

1 REPLY 1
Laurent Ca...
Lead II

Dear @OMarc.1​ 

Could you try with a more recent STM32CubeIDE version?

Best regards

==

Laurent Ca...