cancel
Showing results for 
Search instead for 
Did you mean: 

hal_stm32 on Zephyr 3.2.0

Heisenberg
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
Sarra.S
ST Employee

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.

View solution in original post

1 REPLY 1
Sarra.S
ST Employee

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.