cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeMX and HAL error after project generation

paul sauv
Associate III
Posted on March 28, 2018 at 22:42

Hi everyone,

I use Keil v5.23

STM32Cube 4.25

I always worked with stdperiph lib and I would like to switch to HAL

I tried to start a simple project with my STM32F103C8T6 but when I want to compile a project from cube, I have a lot of errors in Keil and can't manage to get rid of them.

Here is my setup:

0690X0000060AIYQA2.png

and the bunch of error messages

0690X0000060AIiQAM.png

what is strange is that I changed nothing to the original setup so it should work...

Any idea?

Cube setup:

0690X0000060AIdQAM.png

Thank you for your help

#stm32cubemx-4.25
1 ACCEPTED SOLUTION

Accepted Solutions
paul sauv
Associate III
Posted on March 29, 2018 at 08:20

I made some progress:

The package was not correctly installed in STM32CubeMX, I removed and installed it again, it seems to be better, less error message

Edit: and now it's working well  the second mistake was here:

0690X0000060AInQAM.png

I copied only necessary library and it's good

View solution in original post

1 REPLY 1
paul sauv
Associate III
Posted on March 29, 2018 at 08:20

I made some progress:

The package was not correctly installed in STM32CubeMX, I removed and installed it again, it seems to be better, less error message

Edit: and now it's working well  the second mistake was here:

0690X0000060AInQAM.png

I copied only necessary library and it's good