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.
tridge
Posts: 141
Joined: Mon Sep 25, 2017 8:27 am
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 20 times
Contact:

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

Postby tridge » Mon Dec 23, 2019 12:18 pm

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 190 times

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

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

Postby Giovanni » Sun Dec 29, 2019 10:41 am

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
Location: Canberra, Australia
Has thanked: 10 times
Been thanked: 20 times
Contact:

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

Postby tridge » Mon Dec 30, 2019 11:21 am

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!


Return to “Small Change Requests”

Who is online

Users browsing this forum: No registered users and 9 guests