Skip to main content
Associate III
February 8, 2026
Question

cannot build application after generating C code model with St edge AI core CLI

  • February 8, 2026
  • 2 replies
  • 188 views

I'm following this guide to deploy an AI model on a NUCLEO-H7S3L8, because appearently it is not possible to build and edge AI application through X-CUBE-AI on STM32CubeMX (because it does not generate network.h etc. but only app_x-cube-ai.c and app_x-cube-ai.h).

https://stedgeai-dc.st.com/assets/embedded-docs/stm32_how_to_run_a_model_locally.html

however, I'm having trouble on the build process wehre it is written 

"Build the test application"

where it is needed to link different libraries, because there is no indication on what to do precisely and where to insert the commands.

Could anybody provide a clearer and more precise guide to implement this step?

Thanks for the reply

2 replies

Julian E.
Technical Moderator
February 20, 2026

Hi @s319189,

 

I would suggest to use the new tool STM32CubeAI studio and the ST Edge AI Core 3.0.

https://community.st.com/t5/developer-news/introducing-stm32cubeai-studio/bc-p/880860#M368

 

Have a good day,

Julian

 

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
s319189Author
Associate III
February 26, 2026

I've tried to use it, but when I try to modify my project through CubeMX and generate new code I cannot view/modify .h files such as main.h inside STM32CubeIDE because the project generated by Cube AI studio  is not under the root 

hamitiya
ST Employee
March 4, 2026

Hello,

Generating under root for STM32CubeIDE project can cause conflicts if you have other projects in your subfolder.

I answered you in a previous ticket about the fact that you cannot see header files by default in your file tree, that does not mean that you can't edit it.

If you want to edit it, you can go to your main.c, unfold file, and double-click on your header file.

 

image.png

 

Best regards,

Yanis

​In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.