Solved
How to check what version is STM32WLxx_HAL_Driver?
I got this from github. It compiles ok. The package has source for STM32WLxx_HAL_Driver. How can I find out what version is the STM32WLxx_HAL_Driver? TIA


I got this from github. It compiles ok. The package has source for STM32WLxx_HAL_Driver. How can I find out what version is the STM32WLxx_HAL_Driver? TIA


Hello
I suggest you take a look at the following defines on the stm32wlxx_hal.c file:
#define __STM32WLxx_HAL_VERSION_MAIN (0x01U) /*!< [31:24] main version */
#define __STM32WLxx_HAL_VERSION_SUB1 (0x03U) /*!< [23:16] sub1 version */
#define __STM32WLxx_HAL_VERSION_SUB2 (0x00U) /*!< [15:8] sub2 version */
#define __STM32WLxx_HAL_VERSION_RC (0x00U) /*!< [7:0] release candidate */
#define __STM32WLxx_HAL_VERSION ((__STM32WLxx_HAL_VERSION_MAIN << 24U)\
|(__STM32WLxx_HAL_VERSION_SUB1 << 16U)\
|(__STM32WLxx_HAL_VERSION_SUB2 << 8U )\
|(__STM32WLxx_HAL_VERSION_RC))
Best Regards.
STTwo-32
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.