Skip to main content
Robmar
Senior II
August 8, 2024
Question

Best method to transfer an STM32CubeIDE project to another PC

  • August 8, 2024
  • 2 replies
  • 1573 views

I recently tried to copy a project developed in the STM32Cube IDE to another laptop, but of course the repository is in user space, and the other machine has a different username, so there were scores of link errors.

Other than tediously changing all the links manually, is there a way to export a large project to another Windows PC with a different user?

2 replies

Pavel A.
Super User
August 8, 2024

A quick hack: create a symbolic link to match the user name of the original project. point it to the actual location on the new machine. Next time plan the projects for portability.

 

Robmar
RobmarAuthor
Senior II
August 8, 2024

Great, so who would have guessed STM32CubeIDE doesn't create machine portable projects!

So now I have to create a new user on the other machine with the same name, that's far faster than adding a symbolic path and then editing a hundred or so links!

STM is not going to survive in this business long at this rate of poor support, IMHO.

Pavel A.
Super User
August 8, 2024

 

 create a new user on the other machine with the same name

Yep, this is known as "convention over configuration" ))