Skip to main content
raptorhal2
Lead
Feb 16, 2023 6:41 PM UTC
Solved

HAL H7xx Library ll_utils.c Warning

stm32h7xx_ll_utils.c throws a warning "no LL_RCC_CalcPLLClockFreq" function at line 930. The function exists in stm32h7xx_ll_rcc.c but has a conditional compile USE_FULL_LL_Driver.

Calls to conditional compiles should be under the same conditional conditions.

Cheers, Hal

This topic has been closed for replies.
Patrice LF
Patrice LFBest answer
ST Employee
Feb 27, 2023 9:17 AM UTC

Hello @raptorhal2​ ,

Thank you for bringing these issues to our attention.

I confirm and I reported Internally.

Firmware related issue tracked under the number 146496. 

This is an internal tracking number and is not accessible or usable by customers.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Regards

Patrice

6 replies

ST Technical Moderator
Feb 17, 2023 4:03 PM UTC

Hello @raptorhal2​ 

Please check you are using the latest version of CubeH7 firmware.

You may check this report

implicit declaration LL_RCC_CalcPLLClockFreq · Issue #210 · STMicroelectronics/STM32CubeH7 (github.com)

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL
Piranha
Principal III
Feb 18, 2023 9:33 PM UTC

Such a trivial issue and a year later absolutely nothing has been done. Good job!

raptorhal2
Lead
Feb 17, 2023 4:21 PM UTC

I am using the latest, 1.11.0 dated 15 November 2022.

Pavel A.
Feb 19, 2023 12:43 AM UTC

So what's the problem? Just define USE_FULL_LL_DRIVER. Any unused functions will be removed by the linker.

raptorhal2
Lead
Feb 19, 2023 1:38 AM UTC

->Just define USE_FULL_LL_DRIVER. Any unused functions will be removed by the linker.

Very true. And since it a warning, subsequent Builds (but not Rebuilds) will not raise the warning. But I am asking for some code discipline.

Cheers, Hal

Patrice LF
Patrice LFBest answer
ST Employee
Feb 27, 2023 9:17 AM UTC

Hello @raptorhal2​ ,

Thank you for bringing these issues to our attention.

I confirm and I reported Internally.

Firmware related issue tracked under the number 146496. 

This is an internal tracking number and is not accessible or usable by customers.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Regards

Patrice