Skip to main content
M.Saleh
Associate
March 16, 2022
Question

After Configuring My Artificial Intelligence Network Using stm32cubeide for Nucleo-144 STM32H745 and then running build, "error: invalid initializer" is Received

  • March 16, 2022
  • 1 reply
  • 1372 views

Hello,

I have created an Artificial intelligence project to be implemented on Nucleo-144 (stm32h745) board. The stm32cubeide created a set of related source and header files all grouped in the X-CUBE-AI folder.

I defined variables in my main.c following an online tutorial. But when I run build I received the error bolded below indicating something wrong in one of the X-CUBE-AI folder created by the software.

The error is as follows: "../X-CUBE-AI/App/gru_network.h:42:3: error: invalid initializer". This error is due to lines 41 and 59 in gru_network.h, as you can see in the attached figures. Note that gru_network.h is a header file auto-generated by the stm32cubeide

What would be the issue?

Thank you.

This topic has been closed for replies.

1 reply

EColl.2
Visitor II
May 30, 2022

I have the exact same problem. Does anyone have an answer ? Thank you !