2016-11-23 08:30 AM
The absolute path of a CubeMX project is embedded in the .ioc file. This makes a little more difficult moving the project elsewhere or restarting with the project for example when retrieving it from a remote Git repository.
It would be better having the option to keep the project location-agnostic and to regenerate the project-derived files in the directory which contains the .ioc file. #feature-request #stm32cubemxSolved! Go to Solution.
2017-03-30 06:50 AM
Hi
Schober.Bryce
,You can change the use default firmware location and give a relative path to the project (at the bottom of ProjectSettings/Project as below and untick ''Use Default Firmware Location) :
In you ioc, you will have the path you want.
BR. Eric
2016-11-24 03:04 AM
Dear User,
Thank you for highlighting this. Please note that your feedback is reported internally to our CubeMx team. Your comments and suggestions are welcome to improve our solutions. Best Regards STM32.forum2016-12-09 12:06 AM
Hello adriano_melis,
When you edit an ioc file, you can see that it contains only configuration settings and no path.
The issue you reported may be linked to another topic than the ioc file itself.
I hope it will help you.
BR.
Eric Dampierre
2017-03-29 05:55 PM
This just isn't true. My .ioc project files, including a new one just created with 4.20, record an absolute path for the Cube repository directory:
ProjectManager.CustomerFirmwarePackage=/home/<user>/STM32Cube/Repository/STM32Cube_FW_F4_V1.15.0
I would really really, really love to have the STM32Cube repository be able to be stored in a path relative to the project. That would enable me to keep the Cube FW in a source repository so that it could be centrally managed for all project users.
2017-03-30 06:50 AM
Hi
Schober.Bryce
,You can change the use default firmware location and give a relative path to the project (at the bottom of ProjectSettings/Project as below and untick ''Use Default Firmware Location) :
In you ioc, you will have the path you want.
BR. Eric