support for system timer 12, 13 and 14 for STM32 TIMv1 Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
Post Reply
tridge
Posts: 141
Joined: Mon Sep 25, 2017 8:27 am
Has thanked: 10 times
Been thanked: 20 times

support for system timer 12, 13 and 14 for STM32 TIMv1

Post by tridge »

This adds support for using TIM12, TIM13 or TIM14 as the system timer for STM32 TIMv1. Tested on a STM32F765.
I needed this for a board where all the existing supported system timers were occupied for other tasks (PWM output, RC input etc). I couldn't see any reason we shouldn't use the other timers if they exist.
Attachments
0001-TIMv1-support-timers-12-13-and-14-for-system-timer.zip
(1.28 KiB) Downloaded 488 times
User avatar
Giovanni
Site Admin
Posts: 14892
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: support for system timer 12, 13 and 14 for STM32 TIMv1

Post by Giovanni »

Hi,

I had to do a lot of rework in order to integrate the ST driver with the new IRQ infrastructure so the patch was not up to date. Now the new infrastructure is ready and I added support for timers from 9 to 14 to ST.

Giovanni
tridge
Posts: 141
Joined: Mon Sep 25, 2017 8:27 am
Has thanked: 10 times
Been thanked: 20 times

Re: support for system timer 12, 13 and 14 for STM32 TIMv1

Post by tridge »

Giovanni wrote:I had to do a lot of rework in order to integrate the ST driver with the new IRQ infrastructure so the patch was not up to date. Now the new infrastructure is ready and I added support for timers from 9 to 14 to ST.

thanks!
Post Reply