Skip to main content
john doe
Senior III
Jul 9, 2017 3:12 PM UTC
Question

What is HAL_GetHalVersion() really returning?

Posted on July 09, 2017 at 17:12

STM32Cube_FW_L4_V1.8.1 returns 1.7.1

STM32Cube_FW_F7_V1.7.0 returns 1.2.1

STM32Cube_FW_F1_V1.4.0 returns 1.0.4 

STM32Cube_FW_F4_V1.16.0 returns 1.7.1

So does this mean its all HAL 1. and the other numbers are implementation specific?

    This topic has been closed for replies.

    2 replies

    ST Technical Moderator
    Jul 10, 2017 8:42 AM UTC
    Posted on July 10, 2017 at 10:42

    Hi

    doe.john.016

    ,

    The

    HAL_GetHalVersion function returns the HAL revision and not the

    Cube firmware version.

    Regards

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
    waclawek.jan
    Super User
    Jul 10, 2017 10:55 AM UTC
    Posted on July 10, 2017 at 10:55

    This is why it's called abstraction. ;)

    (Sorry, I couldn't resist).

    Jan