Adrian Figueroa
Adrian Figueroa
@Dirbaio I created a single file in the following way: - Copy `timer_v2.yaml` to `timer_h7.yaml`. - Remove all definitions from `timer_h7.yaml` that are the exactly same in `timer_v1.yaml`. - Rename...
As you said, `embassy-stm32::timer` does not yet support multiple driver versions at once. Only now did I understand the full extent of this issue. For example, `set_trigger_source` only accepts an...
Is this a good approach, or should we change it?
@Dirbaio I know, the disabled timers are the v1 timers. This PR deliberately makes it so that only v2 timers are active. Up to now, all timers (even v2) were...
> The HAL will have to deal with this ... somehow. Ok, I will think of something for handling two versions at once without excessive duplication. I need some of...
@kalkyl I didn't have time to work on it yet. It requires a rewrite/duplication of the timer drivers in embassy.
STM32H7 does not use v2 timers, as previously assumed. It uses TS enum entries that were not included in the v1 definition yet.
Hi @etiennecollin , that's great to hear! This PR is only pending review by a maintainer, but if you are interested, you can do that too. I am happy to...
Thanks for your comments, I will check as soon as I can!
> Great, thanks! The suggested changes were implemented. You can check them out at [elagil#1](https://github.com/elagil/embassy/pull/1). Thanks, I saw that!