Skip to main content
DDutt.3
Visitor II
May 25, 2023
Question

After converting my TensorFlow Lite model using Cube.AI as I save my project, the Middleware is not generated. Can anyone help me regarding this?

  • May 25, 2023
  • 1 reply
  • 842 views

..

This topic has been closed for replies.

1 reply

fauvarque.daniel
ST Employee
May 25, 2023

First make sure that you don't have any error when you click on the analyze button.

If no error, you may have hit a issue seen with recent version of STM32CubeMX where the middleware directory is deleted upon project regeneration.

To workaround the issue, uncheck the checkbox "Delete previously generated files when not regenerated" under Project Manager -> Code Generator -> Generated Files

In X-CUBE-AI 8.1 we make sure to restore the deleted files if they are needed post code generation by STM32CubeMX

Regards