2024-08-08 01:54 PM
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?
2024-08-08 01:58 PM
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.
2024-08-08 02:01 PM - edited 2024-08-08 02:01 PM
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.
2024-08-08 02:09 PM
> create a new user on the other machine with the same name
Yep, this is known as "convention over configuration" ))