Question
STM32N6: Many compile errors after changing NN model with CubeMX + X-CUBE-AI
Hi,
I'm working on STM32N6 with CubeMX + X‑CUBE‑AI to deploy a neural network model.
- The first AI model works fine: no compile errors, runs normally.
- When I replace the neural network model in CubeMX and regenerate code, I get dozens of compile errors (undefined reference, multiple definition, missing files, etc.).
- Clean project in IDE
- Delete build / Objects / Listings folders
- Reimport the new model in CubeMX
- Regenerate code completelyI have tried:
But the issue still exists. It seems old AI files are not cleaned properly when changing models.
Has anyone faced similar issues on STM32N6 when switching AI models with CubeMX + X‑CUBE‑AI?
How did you solve this?
How did you solve this?
Thanks for help.
