cancel
Showing results for 
Search instead for 
Did you mean: 

How do i add a second model to the STM32N6GettingStartedImageClassification Project?

lyannen
Associate III

Hello,

i want to adapt the STM32N6GettingStartedImageClassification Project (https://github.com/STMicroelectronics/STM32N6-GettingStarted-ImageClassification/tree/main) with a second model, so i can build a proper ai pipeline.
The coding isnt the problem currently. However im facing problems when trying to add a second model to the stm32cubeide application.
I noticed a stmaic_STM32N6570-DK.conf file, that seems to configure the project structure and manages the flash calls for the binaries.
And i thought adding the new files from the second model would maybe adapt the project so it adds the model to the cubeIDE Project which it obviously didnt.

So my question is:
What do i have to do in order to add a second model to the stm32CubeIDE Project? Is there a simple trick to achieve that or do i have to add the model manually to the include paths in the Project Properties?

Kind regards!

1 ACCEPTED SOLUTION

Accepted Solutions
lyannen
Associate III

Ok i managed to work around the problem by disabling the epoch controller when generating the C-Code with stedgeai.
However im still curious on how the Project from the Getting Started Application is set up.

So if anyone could help me out on this, its appreciated!

View solution in original post

2 REPLIES 2
lyannen
Associate III

Im currently trying to add the model manually in STM32CubeIDE, however when trying to use/build the Project it doesnt find the network_xx_ecblobs.h file within my network_xx.c file when trying to include it, despite the file being in the same folder as the network_ecblobs.h fromt he default model.

I feel kinda stuck right now, because i dont understand how the Project is being setup with or even without the second model.
So any help is appreciated!

lyannen
Associate III

Ok i managed to work around the problem by disabling the epoch controller when generating the C-Code with stedgeai.
However im still curious on how the Project from the Getting Started Application is set up.

So if anyone could help me out on this, its appreciated!