2021-08-11 08:58 AM
I am trying to explore X-CUBE-TOF1 and I have several VL53L3CX breakout boards. I'm using the latest CubeMX and IDE (6.3.0 and 1.7, respectively) and therefor downloaded both the 2.0.0 and 1.0.0 X-CUBE-TOF1 cube modules.
I've selected the following software packs:
The performed the following configurations:
After generating the code, the directory is completely empty.
Removing the software pack results in a properly generated project (but without the software packs, obviously)
How can I generate starter code to use with the VL53L3CX breakout boards?
Solved! Go to Solution.
2021-08-18 02:00 AM
Hi @Community member ,
After checking your ioc received by private message , I confirm there is an issue when generating project using STM32CubeIDE as toolchain.
This issue is already raised internally and the recommendation is to generate project with "Under Root" option(ideally from scratch).
The project will be generated correctly under the main project folder.
Hope this helps you.
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2021-08-16 03:13 AM
Hi JGaut.1 ,
Using CubeMX 6.3.0 and CubeIDE 1.7 I'm not able to reproduce this issue , may be I miss something in your scenario .
Can you please send me your ioc to check?
Houda
2021-08-16 11:06 AM
Sure! I sent you a direct message with the file attached.
2021-08-17 06:36 AM
Hi JGaut.1
Before trying to generate the project from scratch I would suggest you to use the pre-compiled project available here below when you installed the CUBE-TOF1 pack
C:\Users\nguyenph\STM32Cube\Repository\Packs\STMicroelectronics\X-CUBE-TOF1\2.0.0\Projects\NUCLEO-F401RE\Examples\53L3A2\53L3A2_MultiSensorRanging.
You can either flash the Nucleo F401RE with the binary file or open the project with KEIL, IAR or STM32IDECube. Let me know if it works. Thanks. Julien.
2021-08-17 06:45 AM
I was able to get NUCLEO-L476RG\Examples\53L3A2\53L3A2_SimpleRanging working with my L476 Nucleo board.
But that's not my target board, nor is the F401. So, I needed to build that project from scratch.
In the meanwhile, I was able to get a project working by jumping through some hoops. But now I don't remember what they all are.
I might have started a new project for an L432 and imported the ioc from the L476.
But either way, generating the project from scratch for any MCPU should work.
2021-08-18 02:00 AM
Hi @Community member ,
After checking your ioc received by private message , I confirm there is an issue when generating project using STM32CubeIDE as toolchain.
This issue is already raised internally and the recommendation is to generate project with "Under Root" option(ideally from scratch).
The project will be generated correctly under the main project folder.
Hope this helps you.
If your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Houda
2021-08-18 06:48 AM
Perfect, thank you for the response! I should be able to move the project where I want after that.
I appreciate the time you took to find this answer.
2021-08-18 07:45 AM
Thanks Houda for your investigations.