Skip to main content
Associate III
Jun 25, 2026 8:49 AM UTC
Solved

Edit an STM32CubeMX project that uses motor control SDK from linux

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?

 

 

Andrew Neil
Andrew NeilBest answer
Super User
Jun 25, 2026 1:29 PM UTC
  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.

5 replies

Andrew Neil
Super User
Jun 25, 2026 9:15 AM UTC

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
Jun 25, 2026 12:06 PM UTC
  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
Jun 25, 2026 1:29 PM UTC
  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.