2023-12-13 04:28 AM - edited 2023-12-13 04:29 AM
Reproduction steps:
Expected outcome: the project should build cleanly.
Actual outcome: compilation fails with an error:
arm-none-eabi-gcc "../Core/Src/system_stm32h5xx.c" -mcpu=cortex-m33 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32H503xx -c -I../Core/Inc -I../Drivers/STM32H5xx_HAL_Driver/Inc -I../Drivers/STM32H5xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32H5xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"Core/Src/system_stm32h5xx.d" -MT"Core/Src/system_stm32h5xx.o" --specs=nano.specs -mfpu=fpv5-sp-d16 -mfloat-abi=hard -mthumb -o "Core/Src/system_stm32h5xx.o"
../Drivers/STM32H5xx_HAL_Driver/Src/stm32h5xx_util_i3c.c:20:10: fatal error: stm32h5xx_util_i3c.h: No such file or directory
20 | #include "stm32h5xx_util_i3c.h"
| ^~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
If I manually copy `stm32h5xx_util_i3c.h` from the HAL driver package into `Drivers/STM32H5xx_HAL_Driver/Inc/` in the project directory, the build does complete successfully. And regenerating code from STM32CubeMX removes the file from the source tree, requiring that it be manually copied in again.
This is a regression from STM32CubeMX 6.8.0.
I'm using STM32CubeIDE version 1.14.0, build “19471_20231121_1200 (UTC)”; and STM32CubeMX version 6.10.0-RC9, build “20231120-2037 (UTC)”.
Solved! Go to Solution.
2023-12-14 04:26 AM
Hello @rbr_scoleman ,
I escalated the problem to CubeMx team in an internal ticket (ID: 168810) to take a closer look at this issue.
(PS: ID 168810 is an internal tracking number and is not accessible or usable by customers).
Thanks.
Mahmoud.
2023-12-14 01:15 AM
Hello @rbr_scoleman ,
First let me thank you for posting and welcome to the ST Community.
Your request is under investigation, and I will get back to you ASAP.
Thanks.
Mahmoud.
2023-12-14 04:26 AM
Hello @rbr_scoleman ,
I escalated the problem to CubeMx team in an internal ticket (ID: 168810) to take a closer look at this issue.
(PS: ID 168810 is an internal tracking number and is not accessible or usable by customers).
Thanks.
Mahmoud.
2023-12-14 04:26 AM
Thank you for the update!
2024-03-19 01:59 AM
Hello @rbr_scoleman ,
Further to this comment I want to inform that this issue was resolved and the official release of STM32CubeMX V6.11.0 is available on ST website.
You can download it through this link:
STM32CubeMX - STM32Cube initialization code generator - STMicroelectronics
Thanks.
Mahmoud.