Skip to main content
Associate III
July 26, 2024
Solved

How to port examples written with older wireless HAL lib to latest HAL lib?

  • July 26, 2024
  • 1 reply
  • 904 views

For STM32WLE5JC older example on FL_HAL 1.1 and 1.2 .  Is there a tool to do HAL WL Lib upgrade to latest 1.3?  Or it is easy and safer to leave it as with older HAL. 

Or, we need to create an empty STM32 porject with latest WL HAL Lib and then copy user C code manually files by files?  Many thank

Best answer by STTwo-32

If you want to do that, it should be manually. There is no tools y'for this operation.

Best Regards.

STTwo-32 

1 reply

STTwo-32
Technical Moderator
August 15, 2024

Hello @David_ 

For such cases, I think that any example developed by the Versions 1.1 or 1.2 of the STM32CubeWL should be perfectly working. So, no need for migration except if your program is impacted by any mistake that has been corrected on the last versions.

Best Regards.

STTwo-32

David_Author
Associate III
August 16, 2024

Still need more tests to investigate.  We are seeing some specific error that was repeatable.  Pressed hardware reset button and the issue disappeared.  Could be our bug??

Just in case we would like to upgrade to WL_FW1.3, is there a tool to do it? 

OR, we can create an empty project using the existing (older with FW1.1) MX .ioc and copy our source C file into the directory structure?

Best regards

STTwo-32
STTwo-32Best answer
Technical Moderator
August 17, 2024

If you want to do that, it should be manually. There is no tools y'for this operation.

Best Regards.

STTwo-32