Skip to main content
john doe
Senior III
July 9, 2017
Question

What is HAL_GetHalVersion() really returning?

  • July 9, 2017
  • 1 reply
  • 650 views
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.

    1 reply

    Technical Moderator
    July 10, 2017
    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
    July 10, 2017
    Posted on July 10, 2017 at 10:55

    This is why it's called abstraction. ;)

    (Sorry, I couldn't resist).

    Jan