2024-04-10 12:07 PM
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
Solved! Go to Solution.
2024-04-10 12:18 PM
Hello @David_
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
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-04-10 12:18 PM
Hello @David_
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
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.