cpu/stm32x: unified timer driver#6184
Conversation
df7fc13 to
9620be6
Compare
|
fixed one more issue with the clock speed calculation. |
aabadie
left a comment
There was a problem hiding this comment.
I had a problem with nucleo-f401 (same with f446): the xtimer drift test build failed. It appears that there are some remaining xtimer definitions in board.h for those boards (and TIMER_0 no longer exists). Commenting out #define XTIMER_DEV TIMER_0 fixed the issue but that might not be enough.
|
japp, missed those old deprecated defines. Would you mind testing it again? |
|
Also, in case the drift test still fails, would you mind to check if it's working on the current master to make sure this PR is actually breaking it?! Thanks |
aabadie
left a comment
There was a problem hiding this comment.
Thanks for applying the change. Now it builds and works (and it's also working in master).
ACK
e80c37b to
ab12d60
Compare
|
Fixed missing |
|
restarted Murdock, apparently it got upset with the 'NEEDS SQUASHING' label... |
|
ACKed and Murdock is happy -> go |
This PR brings some slight ROM savings on most STM-based boards, but most significantly it saves a huge amount of code:
290 additions and 1,849 deletions.Unfortunately I had to remove thepwmdriver for thestm32f2temporarily, will re-add it with a unified PWM implementation later today. So until this is done, I mark this PR aswaiting for other PR.EDIT: PWM driver for the
stm32f2is re-introduces with #6186Successfully tested for