2024-04-26 07:54 AM
Hello,
I use STM32CubeMX V6.11.1 with cmake version 3.28.1 (the one embedded in STM32CubeCLT_1.15.1) to generate a project for STM32F746G Discovery kit.
When trying the new cmake project generation feature in conjunction with CubeAI, the generated project is not building.
I get the error:
2024-04-26 12:35 PM
Hello @jjaccard and welcome to the ST Community :smiling_face_with_smiling_eyes:.
Can you share your .ioc file so we can try to reproduce (with a description on how you did it if possible).
Best Regards.
STTwo-32
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.
2024-04-29 01:55 AM
Hello,
Thanks for the welcome : )
Sure, you can find linked the .ioc file. As mentionned above, I created a project with STM32CubeMX V6.11.1 for STM32F746G Discovery kit (all default periph.). I then added X-CUBE-AI V9.0.0 with the application template and added a simple dense .tflite model. Finally I generated the code for cmake toolchain.
Then I followed your video to open and import the cmake project in vscode: https://www.youtube.com/watch?v=DDVdq47Dd94
And when I try to build, the issue mentioned in my original post arise. As mentioned above, I can fix it but every time I want to change something in CubeMx and regenerate the code I have to re-fix the build system (when I update the .tflite model for example, which happens quite often).
Thanks in advance for the help.
Jérémie
2024-06-03 08:48 AM
Hello,
Any news on this issue?
Thanks