-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
sys: add hwtimer compatibility layer for periph timers #2913
Conversation
I don't like those compatibility layers, but very probably hwtimer will get dropped, anyways. |
* | ||
* The hardware timer implementation uses the Cortex build-in system timer as back-end. | ||
* This hwtimer implementation wraps one periph timer | ||
* | ||
* @author Thomas Eichinger <thomas.eichinger@fu-berlin.de> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could put your name in here, as you introduce this module...
Looks good to me, it's up to you if you want to address my comment above... ACK |
Well, I like my name, so I added it. It's still a copy of Thomas' file. :) |
No, actually I was the one to write it originally :-) re-ACK, merge when Travis is happy |
|
and GO. |
sys: add hwtimer compatibility layer for periph timers
some platforms don't implement hwtimer_arch directly on timer hardware, but using one periph timer.
In order to reduce code duplication, factor that layer into a module in sys.
This PR also switches samd21 CPU to use this layer.