cancel
Showing results for 
Search instead for 
Did you mean: 

CUBEMX 6.15 with Keil Full Assert bug

regjoe
Senior

Same problem here (Cube 6.15.0, Keil uVision 

Although HAL is selected,

regjoe_2-1758639075547.png

Cube installed both HAL and LL files for ADC and some other peripherals by mistake. 

regjoe_0-1758638667389.png

which results in a compile error

regjoe_1-1758639027356.png

../Drivers/STM32F4xx_HAL_Driver/Src/stm32f4xx_ll_adc.c(25): error: 'stm32_assert.h' file not found

To get rid of this, I excluded the unnecessary file in the project as shown above and the error is gone.

Edit: Moved from CUBE MX with Keil 5.39 Full Assert bug in stm32l0xx DFP

 

2 REPLIES 2
Mahmoud Ben Romdhane
ST Employee

Hello @regjoe ,

 

Let me thank you for posting.

For more investigation, I suggest please that you provide your Ioc.File.

 

Thanks.

Mahmoud

 

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've attached the .ioc and generated files by Cube.

Thanks