cancel
Showing results for 
Search instead for 
Did you mean: 

CUBE MX with Keil 5.39 Full Assert bug in stm32l0xx DFP

MaxFlatline
Associate

Encountered an annoying project generation bug recently. By default CubeMX adds to keil project a hwhole bunch of files:

MaxFlatline_1-1707994561233.png

Even if you don't need any of the LL. So, when you tick "Enable Full Assert" checkbox, it causes an error, because no "stm32_assert.h" file was created. Probably because cube unnecesarily adds LL lib, but never generates it's templates. I'd suggest to look into it's pack xml or whenever list of necessary files is stored

MaxFlatline_0-1707994799324.pngMaxFlatline_1-1707994814780.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
Amel NASRI
ST Employee

Hi @MaxFlatline ,

 

I used latest version of STM32CubeMX (6.11.0) and enabled full assert option.

I don't face a compilation issue with generated project.

So, could you please try on your side with the same version or share your ioc file to have same configuration of peripherals.

-Amel

 

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.

View solution in original post

1 REPLY 1
Amel NASRI
ST Employee

Hi @MaxFlatline ,

 

I used latest version of STM32CubeMX (6.11.0) and enabled full assert option.

I don't face a compilation issue with generated project.

So, could you please try on your side with the same version or share your ioc file to have same configuration of peripherals.

-Amel

 

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.