Skip to main content
Graduate
February 16, 2023
Solved

HAL H7xx Library ll_utils.c Warning

  • February 16, 2023
  • 5 replies
  • 2211 views

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.
    Best answer by Patrice LF

    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

    5 replies

    Technical Moderator
    February 17, 2023

    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)

    Graduate II
    February 18, 2023

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

    Graduate
    February 17, 2023

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

    Super User
    February 19, 2023

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

    Graduate
    February 19, 2023

    ->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

    Technical Moderator
    February 27, 2023

    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