-
Notifications
You must be signed in to change notification settings - Fork 3k
Q12018 stm32 ustickers #6463
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Q12018 stm32 ustickers #6463
Conversation
@LMESTM Since the last commit is already in its own PR, would you mind removing it from this PR? Looking forward to see those test results! |
0271ff6
to
4cfed18
Compare
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.
It quite simplified implementation (removing targets/TARGET_STM/us_ticker_16b code file)
/morph build |
Build : FAILUREBuild number : 1580 |
Maybe we should wait for #6469 ? |
afd66ab
to
6daa7fc
Compare
It's in, please rebase |
4cfed18
to
d1945b2
Compare
@0xc0170 rebased now |
/morph build |
Build : SUCCESSBuild number : 1591 Triggering tests/morph test |
Tests results =>us tickers results are OK |
Exporter Build : SUCCESSBuild number : 1228 |
Test : FAILUREBuild number : 1379 |
@LMESTM What is the failure for F7, can you review? I think it is not related to this change (not using 16bit ticker??) or it is? in any case, might be real failure that is there |
Hi |
The new HAL allows to share the timer bit width and frequency, the actual handling of mapping 16 bits counter up to 32 bits or 64 bits is now managed by mbed common layer. This makes this ticker layer very similar to 32bits one and much easier than before.
|
d1945b2
to
79e6851
Compare
/morph build |
Build : SUCCESSBuild number : 1634 Triggering tests/morph test |
Test : SUCCESSBuild number : 1421 |
Exporter Build : FAILUREBuild number : 1264 |
/morph export-build |
Exporter Build : SUCCESSBuild number : 1269 |
Description
This PR contains adaptations to STM32 targets to fit with new HAL tickers specifications.
It benefits from this new specification to also make STM target layer simpler as now the 16 bits vs. 32 bits counter differences are managed in mbed common layer.
Review comments are welcome. First tests results are positive : tested OK on F4, F7, L4 and L0 target so far. More tests results will follow.
This PR also contains a fix in the test that as been sent in parallel also in #6462.
Once #6462 or equivalent fix gets merged, I can rebase this pull request.
Pull request type
[ ] Fix
[x ] Refactor
[ ] New target
[ ] Feature
[ ] Breaking change