2024-10-10 04:45 AM
Hi,
i want to import BLE_p2pServer example in CubeIDE 1.16.0 i got the message "This file has been generated with STM32CubeMX version '6.12.1'.Your current STM32CubeMX version is '6.12.0'."
When i check for Updates, then I only have the option of updating CubeIDE itself to V1.16.1. How can I update CubeMx to V6.12.1 without updating CubeIDE? I think CubeMx is part of CubeIDE or do I have to install cubeMx separately?
2024-10-10 04:59 AM
Hello @ledi001
CubeMX 6.12.1 is integrated in CubeIDE 6.12.1 so just update the CubeIDE and you will be able to work with your IOC generated with CubeMX 6.12.1
THX
Ghofrane
2024-10-10 07:35 AM
Hello @Ghofrane GSOURI
thanks for help!
I think you mean CubeMX 6.12.1 is integrated in CubeIDE 1.16.1 and not in CubeIDE 6.12.1, right?
Ok, i did the update to CubeIDE 1.16.1, and first it seams to work, but unfortunately i got some erros after compiling.
Then i cleaned up the project, but the errors remained (it seems that ble_wrap.c is not found:
C:/Users/Admin/STM32CubeIDE/workspace_1.16.0/BLE_p2pServer/STM32_WPAN/Target/bleplat.c:28:10: fatal error: ble_wrap.c: No such file or directory
28 | #include "ble_wrap.c"
| ^~~~~~~~~~~~
compilation terminated.
make: *** [Application/User/STM32_WPAN/Target/subdir.mk:34: Application/User/STM32_WPAN/Target/bleplat.o] Error 1
make: *** Waiting for unfinished jobs....
"make -j8 all" terminated with exit code 2. Build might be incomplete.
16:23:03 Build Failed. 3 errors, 0 warnings. (took 7s.789ms)
2024-10-10 07:39 AM
Use standalone CubeMX. Can install several versions side by side.
2024-10-10 07:44 AM
And what I also noticed is that nothing is displayed in the Build Analyzer window...
2024-10-10 09:00 AM - edited 2024-10-10 09:06 AM
Hello @ledi001
I was able to reproduce the issue , I will check this internally and get back to you asap.
For the moment as a workaround add this file ble_wrap.c you can find it under this path \STM32Cube\Repository\STM32Cube_FW_WBA_V1.4.1\Middlewares\ST\STM32_WPAN\ble\stack\include\auto to your project then rebuild
2024-10-11 12:22 AM
Hello @ledi001
This issue has been reported to our dev team in this ticket 193443 .
I will keep you posted with updates.
Thx
Ghofrane
2024-10-11 12:36 AM
@ledi001 wrote:And what I also noticed is that nothing is displayed in the Build Analyzer window...
If you can't get the project to build without errors, clicking on the refresh button icon won't update any info.