2025-02-06 07:24 AM
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:
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!