2024-03-07 12:20 AM - last edited on 2024-04-15 03:36 AM by Sarra.S
Hi everyone. I'm currently working on a legacy project that only runs on Zephyr V3.2.0. I have to use the hal_stm32 to get some peripherals running (https://github.com/zephyrproject-rtos/hal_stm32). The latest version of hal_stm32 is not compatible with Zephyr V3.2.0. How can I switch to an older release of hal_stm32? I haven't seen any branches or tags that would hint to the right STM32_hal version.
Best regards
Maikel
Solved! Go to Solution.
2024-04-15 03:46 AM
Hello @Heisenberg, sorry for the delayed answer,
If you are using west to manage your Zephyr modules, you will need to update the west.yml manifest file in your Zephyr project to point to the specific version of hal_stm32 you have checked out
Open the west.yml file and find the section that defines the hal_stm32 module. It should look something like this:
- name: hal_stm32
revision: <revision or tag>
path: modules/hal/stm32
and then synchronize your project with with new module version.
I hope that helps!
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-15 03:46 AM
Hello @Heisenberg, sorry for the delayed answer,
If you are using west to manage your Zephyr modules, you will need to update the west.yml manifest file in your Zephyr project to point to the specific version of hal_stm32 you have checked out
Open the west.yml file and find the section that defines the hal_stm32 module. It should look something like this:
- name: hal_stm32
revision: <revision or tag>
path: modules/hal/stm32
and then synchronize your project with with new module version.
I hope that helps!
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.