cancel
Showing results for 
Search instead for 
Did you mean: 

STM32 cloud AI

chanchal94
Senior

I am generating a project from scratch with the help of STm32 cloud AI for STM32N6570 MCU. When I loaded in STM32 IDE , the main.c inside application is getting build but as after that when I am trying to do changes in its .ioc file to add other features its middleware files are getting corrupted, path gets broken as soon as I press generate code in cube MX file. Kindly help me.

 

 

Thanks & Regards

Chanchal

7 REPLIES 7
Julian E.
ST Employee

Hi @chanchal94,

 

You need to fix the paths to the middlewares in cubeIDE settings.

If the problematic middlewares are related to the N6, you can find them in the N6 cubefirmware in the cubeMX install folder.

If they are related to AI middlewares, you can find them in C/ST/stedgeai/<version>/middlewares

 

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.
chanchal94
Senior

I have checked the middleware paths and corrected two of them as according to they are available in C/ST/stedgeai/<version>/middlewares. Still the build is failing with the error. I am attaching the error here. Can you please check it what can be the possibility?

 

 

The core problem is when I download the whole project from STM32 AI studio, it seems fine, build was okay with zero errors, As soon as I make changes according to my project in MX configuration and generate code, it empties the NPU folder. I checked it inside middleware folder there was empty NPU folder , that is why build is failing. What can we do for that.

This is a kind reminder request to look into this problem.

Looking forward for your reply.

 

 

Thanks & Regards

Chanchal

hamitiya
ST Employee

Hello @chanchal94 ,

When regenerating, please uncheck this box to see if it corrects your issue

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.

I tried unchecking the box as suggested by you, @hamitiya, but the issue still persists. The problem remains the same — corrupted files and the path issue that I explained earlier in detail.

This is the error that is coming during build:

Description Resource Path Location Type make: *** No rule to make target 'C:/Users/hp/.stm32cubeaistudio/workspace/Modified_STM32/Middlewares/ST/AI/Npu/ecloader.c', needed by 'Middlewares/ST/AI/Npu/ecloader.o'. Stop. Modified_STM32_Appli C/C++ Problem

@hamitiya @Julian E.  Kindly look into this problem as I am stuck in between of a project. It would be a great help.

Looking forward for your reply

Thanks & Regards

Chanchal