Patch to use TIM14 for ICU on STM32

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
bernroth
Posts: 1
Joined: Sat May 24, 2014 12:46 pm

Patch to use TIM14 for ICU on STM32

Postby bernroth » Mon Nov 10, 2014 8:59 am

Hello!
I have been working on a project for a customer with a STM32F407VG processor.
I had to use TIM14 for input capture (ICU) and as this feature is not yet implemented I would like to post a patch and maybe it finds its way into the main sources of ChibiOS.

The patch for ChibiOS 2.6.4 is attached to this post.

To use TIM14 add following line to mcuconf.h in the ICU section:

#define STM32_ICU_USE_TIM14 TRUE

This is my first contribution so please be nice if I did something wrong :)

Best regards,

Bernhard

Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 4 guests