How do I update the HAL on an existing STM32G0 project?
I have a Nucleo-32 STM32G031K8.
STMCubeIDE was installed around March 1.
I have been trying to debug and getting slave code working to respond to HAL_I2C_Mem_Read_DMA() and HAL_I2C_Mem_Write_DMA() commands from another STM32G032K8.
When I looked at the U2319 (Rev 2 October 2020) documentation it says that the HAL_I2C_Mem_Read_DMA() had a timeout variable, but the documentation did not specify what units the timeout was. I am guessing milliseconds like the tick counter.
So I searched for the code, and discovered my code in the HAL file stm32g0xx.hal_i2c.c did NOT have a timeout variable.
So I went to the internet and grabbed another UM2319 from a Google search, and it was different, and the HAL_I2C_Mem_Read_DMA() did not have a timeout variable.
I looked at the Rev and it was Rev 1 October 2018. So either the documentation is wrong or somehow I have an old version of the HAL on my computer.
I looked on the ST website and there is a Patch to 1.4.1 and and 1.5.0.
First I do not know what was loaded onto this computer. I did not load it, our IT department loaded it as I just started work here March 1.
Second, the STM32CubeIDE says there are no updates. I just checked. So I am guessing it does not check or download the HAL.
Third, so assuming I download 1.5.0 because I cannot tell or know how to tell what version I have (it is not mentioned in the STM32G0xx_hal_i2c.c file).. How do I use it in my two projects? (One for the Master I2C, and one for the Slave I2C). I have them in two different workspaces because I am running two instances of the STM32CubeIDE on one PC.
Are there step by step instructions how to update the HAL on an existing project? If so where are they?

