Unable to Generate Command Line in STM32CubeIDE After Adding AI Network Files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-06 7:24 AM - last edited on 2025-02-06 10:15 AM by Andrew Neil
I generated the network code using the STM32Cube.AI CLI and now have network.c/.h files. I want to integrate them into my existing STM32CubeIDE project and use the main() function as mentioned in the documentation("file:///C:/Users/user2/STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-AI/9.1.0/Documentation/how_to_run_a_model_locally.html") (attached).
Since the documentation suggests creating a Makefile, I am instead trying to configure it within STM32CubeIDE. Here’s what I’ve done so far:
- Added network files: Moved network.c to Src/ and network.h to Inc/.
- Included AI Middleware Headers: Added all necessary files from C:\ST\STEdgeAI\2.0\Middlewares\ST\AI\Inc to Inc/.
- Linked the AI Library: Configured the linker settings to include the required AI libraries.(https://community.st.com/t5/stm32-mcus/how-to-add-external-libraries-in-stm32cubeide/ta-p/628619)
However, when I try to build the project, I get the following error:
The error seems to be triggered by the following code in the Makefile:
I’m stuck at this point. Is my integration process incorrect? Should I be doing something differently to properly include the AI network files? Any suggestions or workarounds would be highly appreciated!
- Labels:
-
STM32CubeIDE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-02-09 8:28 PM
?????
