Re: stm32 quadrature decoder general purpose timer functionality


Piotr Mienkowski
 

Hi Matias,

The best way to get stm32 quadrature decoder driver merged into Zephyr is to follow example of qdec_nrfx.c, qdec_sam.c drivers. Check PRs that introduced the respective drivers to see what files need to be added / modified. Yes, you'll need a new binding.

Regards,
Piotr

On 30.06.21 14:49, Matias N. wrote:
I thought I sent an answer but I don't see it here so I'll send again.

Thanks for the reply. What I was looking for is a way that could be acceptable for merging upstream, if possible.
So should I add a special binding for STM32 decoder functionality? Or what would be the preferred way?

Best,
Matias

Join devel@lists.zephyrproject.org to automatically receive all group messages.