2024-11-12 12:29 AM
In the STM32H5 HAL, the file stm32h5xx_util_i3c.h was not included in the compilation list because it does not contain protection with the #if defined (USE_FULL_LL_DRIVER) flag, even though it uses the LL driver. This absence of protection results in a compilation error when the USE_FULL_LL_DRIVER flag is not defined.
Steps to Reproduce:
Suggested Solution:
Add conditional compilation protection around the code in stm32h5xx_util_i3c.h using #if defined (USE_FULL_LL_DRIVER). This would prevent compilation issues when the full LL driver is not in use.
Solved! Go to Solution.
2024-11-12 12:51 AM - edited 2024-11-12 01:41 AM
Hello @vaa2ovr and welcome to the ST Community.
I've been able to reproduce this behavior. As a temporary workaround, you can copy the stm32_util_i3c.h from "STM32Cube_FW_H5_V1.3.0\Drivers\STM32H5xx_HAL_Driver\Inc to the " to the "Drivers/STM32H5xx_HAL_Driver/Inc/" of your project. I will report this for correction on the future (under internal ticket number 196105).
Best Regards.
STTwo-32
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.
2024-11-12 12:51 AM - edited 2024-11-12 01:41 AM
Hello @vaa2ovr and welcome to the ST Community.
I've been able to reproduce this behavior. As a temporary workaround, you can copy the stm32_util_i3c.h from "STM32Cube_FW_H5_V1.3.0\Drivers\STM32H5xx_HAL_Driver\Inc to the " to the "Drivers/STM32H5xx_HAL_Driver/Inc/" of your project. I will report this for correction on the future (under internal ticket number 196105).
Best Regards.
STTwo-32
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.
2024-11-12 01:01 AM
Thanks, the workaround works for me!