Skip to main content
FGron.1
Associate II
April 15, 2020
Question

How to build STEVAL-SPIN3201 firmware with makefile?

  • April 15, 2020
  • 5 replies
  • 1144 views

For a project I need to use SPIN3201 but it's required to be build with make. Therefore I wrote a makefile and when I try to compile the project, some functions are missing. I have found the function prototype in a .h file but I cannot found the function itself. The functions considered by this post are:

RUC_GetNumberOfPhases

RUC_GetPhaseDurationms

RUC_GetPhaseFinalMecSpeedUnit

RUC_GetPhaseFinalTorque

RUC_SetPhaseDurationms

RUC_SetPhaseFinalMecSpeedUnit

RUC_SetPhaseFinalTorque

Can someone help me to find or write those functions?

This topic has been closed for replies.

5 replies

Cristiana SCARAMEL
ST Employee
April 15, 2020

If you have the standard MCSDK part of code is pre-compiled (and not available).

The functions above mentioned are present in the pre-compiled library in folder MCSDK_vx.y.z\MotorControl\lib

If you want the full code, you have to download the full version of X-CUBE-MCSDK-FUL

"If you feel a post has answered your question, please click ""Accept as Solution"""
FGron.1
FGron.1Author
Associate II
April 16, 2020

Thanks a lot for your fast answer. I want to try the full version but I have a problem when I try to fill the request form. The application field is an empty list and therefor I cannot select an option an send the form. Is that possible to have it by an other way?

FGron.1
FGron.1Author
Associate II
April 16, 2020

Thanks a lot for your fast answer. I want to try the full version but I have a problem when I try to fill the request form. The application field is an empty list and therefor I cannot select an option an send the form. Is that possible to have it by an other way?

Cristiana SCARAMEL
ST Employee
April 16, 2020

​The only way to download the Full version is apply the online request.

I can only suggest to logout e re-login or try with a different browser.

Please check and let me know.

"If you feel a post has answered your question, please click ""Accept as Solution"""
FGron.1
FGron.1Author
Associate II
April 16, 2020

After restarting me browser it's work. Thanks a lot and sorry for the inconvenience.