Skip to main content
February 15, 2024
Solved

CUBE MX with Keil 5.39 Full Assert bug in stm32l0xx DFP

  • February 15, 2024
  • 1 reply
  • 1441 views

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

 

This topic has been closed for replies.
Best answer by Amel NASRI

Hi @unknown ,

 

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

 

1 reply

Amel NASRI
Amel NASRIBest answer
Technical Moderator
April 2, 2024

Hi @unknown ,

 

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.