cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: CubeMX Code Generation (6.15.0) ST_Cryptolib

hga3
Associate

Missing pre-processor symbol check in file "Middlewares/ST/ST_Cryptolib/Inc/Commonn/types.h"

current line 49:

#if !defined(_STDINT_H) && !defined(__stdint_h) && !defined(_STDINT) 

new line 49:

#if !defined(_STDINT_H) && !defined(__stdint_h) && !defined(_STDINT) && !defined(_GCC_STDINT_H)

To solve this bug add ``&& !defined(_GCC_STDINT_H)`` on line 49.

 

Cheers,

Andreas

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @hga3 

First let me thank you for posting.

I would appreciated if you could share your IOC or at least  provide more details about the MCU .

THX

Ghofrane

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.

Hi Ghofrane

Thank you for looking into this. I am using GCC (13.2.1 20231009) on GNU/Linux. The details about the MCU and some relevant CubeMX and FW versions are listed below.

  • Mcu.UserName=STM32L010K8Tx
  • MxCube.Version=6.15.0
  • MxDb.Version=DB.6.0.150
  • ProjectManager.FirmwarePackage=STM32Cube FW_L0 V1.12.3

Please ask if you need more information to reproduce it. I receive a compile error without patching the mentioned file. I use the following patch -- see attached file, to solve the issue after a fresh creation or update via CubeMX.

 

Best wishes,

Andreas