2024-02-21 12:16 AM - edited 2024-02-21 12:16 AM
Hello,
I am trying to figure out what is the version of the LL drivers used in a project. Where can I find this information, is it stated in any header file? I could not find anything so far.
Thanks in advance!
Andreea
Solved! Go to Solution.
2024-02-23 04:08 AM - edited 2024-02-23 04:09 AM
@aoltean wrote:Yes, it matters, otherwise I wouldn't have asked the question :)
:face_with_tears_of_joy: :face_with_tears_of_joy: :face_with_tears_of_joy:
The file headers have a copyright year; eg,
I guess you could use that to narrow down a set of firmware pack versions to download, and then diff to see which one matches?
@aoltean wrote:I need if for documentation and traceability reasons.
I presume the original developer is not available?
2024-02-21 01:21 AM
Hello @aoltean ,
First let me thank you for posting and welcome to the ST Community.
Every STM32 comes with a STM32Cube MCU package composed of the STM32Cube hardware abstraction layer (HAL) and the low-layer (LL) APIs, plus a consistent set of middleware components (RTOS, USB, FAT file system, etc).
In order to find the version, I suggest that you open the release notes file of the STM32Cube package for your project’s target STM32 device under this path :
C:\Users\STM32Cube\Repository\STM32Cube_FW_L0_V1.12.2\Drivers\STM32L0xx_HAL_Driver
Thanks.
Mahmoud.
2024-02-21 01:24 AM
Hello @aoltean and welcome to the ST Community :smiling_face_with_smiling_eyes:.
I suggest you take a look at the following post. It could help you.
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-02-21 01:31 AM - edited 2024-02-21 01:33 AM
@Mahmoud Ben Romdhane wrote:In order to find the version, I suggest that you open the release notes file of the STM32Cube package for your project’s target STM32 device under this path :
C:\Users\STM32Cube\Repository\STM32Cube_FW_L0_V1.12.2\Drivers\STM32L0xx_HAL_Driver
The version is right there in the path - so no need to even go any further than that!
8)
However, that just tells you what version(s) is/are installed on the development host system; not what a given Project requires - which, I think, is what @aoltean was asking?
2024-02-21 01:35 AM
Hi all, and thanks for the warm welcome.
That is right. I have an old project and I don't have this driver path (C:\Users\STM32Cube\Repository\STM32Cube_FW_L0_Vx.y.z\Drivers\STM32L0xx_HAL_Driver) available anymore.
Is there anywhere else I could get a hint?
2024-02-21 02:12 AM
Did you follow the link given by @STTwo-32 ?
2024-02-21 02:22 AM
Yes. I am using just the LL drivers, and not the HAL drivers, and that version is only written in the HAL drivers as far as I see.
2024-02-21 02:49 AM
Did you look in the .ioc file?
2024-02-21 03:07 AM
Unfortunately, I don't have the .ioc file.
2024-02-21 03:18 AM
This is why I always prefer to copy the used files into the project's folder structure!
8)
(which seems to be the default for CubeIDE anyhow?)