cancel
Showing results for 
Search instead for 
Did you mean: 

Sudden Error

eunni
Associate III

Hi,

I am currently working on a project using an STM32U5 series microcontroller, and I have encountered a significant build issue with numerous errors related to the HAL driver.

Attached picture is just some of error code. (First and the last page)

It made1675 errors and 381 warnings.

I think my code doesn't have any problem becuase It worked well just few minutes ago.

Thank you. 

eunni_0-1712310111126.png

eunni_2-1712310264530.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
eunni
Associate III

I cannot resolve this issue.

but I made new project with same code, and It work!

 

Thank you all for help :)

View solution in original post

20 REPLIES 20
eunni
Associate III

Additional information,

I am using NUCLEO-U575ZI-Q board, and entire project is about I2C.

1 U575ZI-Q master and 3 LK432KC slave board.

 

eunni
Associate III

eunni_0-1712310710946.png

Project Explorer said some of my Inc, src files in Drivers foler had problems. 

Kakyouka
Associate II

What have you already tried to fix it ?

Nothing..

STTwo-32
ST Employee

Hello @eunni and welcome to the ST Community :smiling_face_with_smiling_eyes:.

can you share your project So that we can check. Also, what are the versions of the STM32CubeIDE, CubeMX and CubeH5 that you are using. Also, have you downloaded your CubeH5 Library As a .Zip from Github. 

Best Regards.

STTwo-32

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.

Andrew Neil
Evangelist III

@eunni wrote:

It made1675 errors and 381 warnings.


Typically, that happens because of 1 (or a few) early error which then causes a load of consequent errors.

A common example is omitting to #include a required header - which will, of course, result in an error on every single place that tries to use something from that header.

Therefore, you need to start by looking at the very first reported error.

 

 


@eunni wrote:

Attached picture is just some of error code. (First and the last page)


It would be better to include the errors as text, rather than a pictures.

Copy & paste using the code button:

AndrewNeil_0-1712310688344.png

 

AndrewNeil_1-1712310725298.png

"implicit declarations" occur when you haven't provided an explicit declaration for the function you're calling.

Again, this often means that a needed header file is missing - either the #include is missing, or it failed.

 

It doesn't look like your Console window has all the errors - it's presumably overflowed, and lost the very first ones.

There was a thread recently about how to find the full log ...

Hello,

Maybe you need to share your project to let other members to help you efficiently.

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 use STM32CubeIDE 1.15.0 version.

and I don't know what CubeH5 is. I've never downloaded CubeH5 before. 

It's my very first time to use STM32, sorry :(

Hello,

You need to share your project folder instead of the main file.

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.