Skip to main content
Associate III
June 25, 2026
Solved

Edit an STM32CubeMX project that uses motor control SDK from linux

  • June 25, 2026
  • 1 reply
  • 17 views

I know that Motor control workbench is only available on Windows but I hoped that it would be possible to open the generated .ioc file from Linux. I tried it and I got this error. Can this be fixed or I cannot even open the STM32CubeMx project from linux?

 

 

Best answer by Andrew Neil
  1. What does it mean that a project folder can be found in another folder inside ~/STM32Cube/Repository?

It means that one needs to be a subfolder (ie, subdirectory) of the other; so:

~/STM32Cube/Repository/MCSDK _v6.4.2-Full/MotorControl

 

You say it works in windows.

So look at your Repository in Windows, and make your Repository on Linux look like that

1 reply

Andrew Neil
Super User
June 25, 2026

That message tells you 3 things that it needs.

So did you try providing those 3 things ?

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
DamianoFAuthor
Associate III
June 25, 2026
  1. What does it mean that a project folder can be found in another folder inside ~/STM32Cube/Repository?
  2. is accessible? Yes, it does exist and can be accessed by any user/group
  3. It does not contain MotorControl_modes.xml and MotorControl_Configs.xml. But where do I find them?

 

Thank you for your answer!

Andrew Neil
Andrew NeilBest answer
Super User
June 25, 2026
  1. What does it mean that a project folder can be found in another folder inside ~/STM32Cube/Repository?

It means that one needs to be a subfolder (ie, subdirectory) of the other; so:

~/STM32Cube/Repository/MCSDK _v6.4.2-Full/MotorControl

 

You say it works in windows.

So look at your Repository in Windows, and make your Repository on Linux look like that

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.