Skip to main content
Associate
December 14, 2025
Solved

STM32CubeMX project generation fails for MP157D

  • December 14, 2025
  • 3 replies
  • 905 views

Hello,

I am trying to generate a STM32CubeIDE project using CubeMX (version 6.16.1) for MP157D-DK1 board. It generates some device trees (linux, u-boot, tp-a) but it fails to generate the CubeIDE project.

I also tried older versions of CubeMX (as late as 6.12) and none work.

The error it displays is attached. Any idea what might be going wrong with the code/project generation? I have STM32CubeIDE v2.0.0 installed.

Thanks.

Best answer by Issamos

Hello @0xdeadbeef 

You may find this post helpful.

Best Regards.

II

3 replies

Issamos
IssamosBest answer
Lead III
December 14, 2025

Hello @0xdeadbeef 

You may find this post helpful.

Best Regards.

II

Associate
December 14, 2025

Allright, it seems that setting the hostname to "localhost" fixes the problem. I am also using openSUSE (Tumbleweed). Thanks.

Associate
December 14, 2025

Since this seems like a bug that is now over 3 years old and the workaround is working on openSUSE,I'll perhaps also try using Ubuntu/Fedora distrobox container for my STM tools to avoid further problems for the time being.