2022-08-25 02:03 PM
with different paths and versions of STM32CubeIDE and Embedded Firmware Packages?
In other words, if we want to share a STM32CubeIDE among our colleagues, what is the way to migrate/duplicate/re-create a STM32CubeIDE project?
We are new to ST's MCU and STM32CubeIDE. We just found it is difficult in STM32CubeIDE.
Thanks for help in advance.
-Wenwei
2022-08-25 03:20 PM
Just copy the whole directory containing the project (the top directory should contain the .cproject file), then open STM32CubeIDE, making a new workspace if necessary, then select File, "Open project from file system", browse to the directory with the project and press OK.
2022-08-25 03:42 PM
Hi, JMala.3, it didnt work. Here is what I got:
15:29:41 **** Clean-only build of configuration Debug for project projectxxxx_v3 ****
make -j8 clean
rm -rf default.size.stdout sensorwafer_v3.elf projectxxxx_v3.list projectxxxx_v3.map
15:29:42 Build Finished. 0 errors, 0 warnings. (took 232ms)
15:29:42 **** Build of configuration Debug for project projectxxxx_v3 ****
make -j8 all
make: *** No rule to make target 'C:/Users/Person12345/STM32Cube/Repository/STM32Cube_FW_WB_V1.13.3/Utilities/lpm/tiny_lpm/stm32_lpm.c', needed by 'Utilities/stm32_lpm.o'. Stop.
"make -j8 all" terminated with exit code 2. Build might be incomplete.
15:29:42 Build Failed. 1 errors, 0 warnings. (took 409ms)
The projectxxxx_v3 was zipped and sent by Person12345. I am the Person67890 and have different version of STM32Cube_FW_WB_V1.14.1 : 'C:/Users/Person67890/STM32Cube/Repository/STM32Cube_FW_WB_V1.14.1/Utilities/lpm/tiny_lpm/stm32_lpm.c'
I tried to manually change the path settings in project property. But it seems there are still other places I don't know.
I can install the version in the copied project. But I cant definitely have the same absolute paths of the original.
-WQ
2022-08-26 03:55 AM
Hello @Community member
Are you using a version control system or just export and import?
Regardless you have to clean the project from absolute paths :
Kind regards,
Semer.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2022-08-26 11:11 AM
No, we don't use any version control.
I just found there are many places to do manual editing.
This is our first project with STM32 MCU (with our custom designed STM32WB5MMG PCB). It is quite surprised to know STM32CubeIDE is for single handed development.
-WQ
2022-08-26 01:09 PM
That weilrd, How was the project start ed originally. We do use Source control and we have 3 or 4 people using the same source files .. Here are the compiler settings in our code.
2022-08-27 07:53 AM
> It is quite surprised to know STM32CubeIDE is for single handed development.
The one "single handed" thing in CubeIDE or CubeMX is that the "repository" by default is installed into per-user location.
You can move the "repository" root directory to a global location.
For example /usr/src/STM32Cube works both on Linux and Windows (well with a quirk. On Windows it actually is C:\usr\src\ but Eclipse correctly substitutes the paths).
Then generate Cube projects, and the shared libraries will be in the portable location.,
2022-08-29 01:08 AM
Hello
What is the progress? Have you managed to fix the relative paths?
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2023-05-07 12:06 PM
프로�?트 진행중 STM32CubeIDE 개발환경�?� 다른 컴퓨터로 �?��?�하는 방법.
개발 진행중�? 개발컴퓨터�?� 윈�?�우 부팅�?� 불가능하게 �?�어
예전 컴퓨터�? 설정�?� 것과 �?��?�하게 새 컴퓨터로 �?��?�하는�?� 성공했습니다.
1) workspace를 �?��?�한 path로 복사해 둔다.
D:>stworks>(many project folders)
2) 버전�?� �?�치시켜�?�.
예전컴퓨터�? 설치�?� 것�?� 최신 버전으로 업�?��?�트하고
새 컴퓨터�? 설치�?� 것�?� 최신버전으로 업�?��?�트해 준다.
3) configuration �?��?�를 복사하�?�.
예전컴퓨터�? 설치�?� C:>ST>...>STM32CubeIDE>configuration�?�
새 컴퓨터�? 설치한 X:>ST>...>STM32CubeIDE>configuration으로
복사해 준다.
�?�렇게 해서 잘 �?�작하고 있습니다.