STMicroelectronics / STM32CubeG4

STM32Cube MCU Full Package for the STM32G4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
182 stars 98 forks source link

Obsolete type caddr_t #46

Closed doodeca closed 8 months ago

doodeca commented 10 months ago

When building STM32CubeG4 examples using STM32CubeIDE Version 1.13.2, I get the following error: 'unknown type name 'caddr_t' ' in [example]/STM32CubeIDE/Application/User/sysmem.c:63:1

Including <sys/types.h> fixes the error. However, caddr_t is an obsolete typedef. It's recommended to replace these with void*.

TOUNSTM commented 8 months ago

Hello @doodeca,

Thank you for your report. In order to support GCC11, we need to update the sysmem.c and syscall.c files in all STM32CubeIDE projects. The fix will be available in the next release.

With regards,

ALABSTM commented 8 months ago

Hi @doodeca,

Issue fixed in the frame of release 1.5.2. Thank you for your report.

With regards,