-
Notifications
You must be signed in to change notification settings - Fork 3k
NUCLEO_F411RE - problems with InterruptIn object #2939
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
Comments
@adbridge Could interrupts be messing with utest at all? |
Utest uses the us_ticker to schedule it's handlers (including test cases) once the next handler to run is identified it is passed to the main thread for execution. If there are strange things going on in the test cases themselves then all bets are off... |
it works just find on K64F |
mm Sounds more target related then... |
@jamike - I think he found out a new / recent issue with GCC init phases that may cause tickers to stop working - this might be related |
Ran it with GCC too, failed as well
|
@BlackstoneEngineering That log says it was using the |
correct, armcc, they said it was just a gcc issue, so I tried it with armcc, both exhibit the behavior. Hence why I think its a platform issue. |
Ok thanks - so this is not related to GCC only ! |
For the interruptin tests yes, they are simple loopbacks. |
Hi, |
Hello, is it ok now ? Can we close this issue ? |
I'll go ahead and close this since #3303 was merged. @BlackstoneEngineering please reopen this if the issue persists. |
Description
#abc
Bug
Target
NUCLEO_F411RE, maybe more Nucleo boards?
Toolchain:
GCC_ARM
Toolchain version:
4.9.3 20141119
mbed-cli version:
(
mbed --version
)0.9.5
meed-os sha:
(
git log -n1 --oneline
)24e1218
Expected behavior
CI Test Shield InterruptIn tests should pass.
Actual behavior
InterruptIN tests do not pass. It seems that something about the InterruptIn object doesnt play nice with greentea on this platform. Possibly the destructor?
Steps to reproduce
Run
mbed test -n tests-api-interruptin -v
to see it fail.mbed test -n tests-assumptions-pwmout
will pass, but if you uncomment the line about `x.disable_irq()' it will stop workinghttps://github.com/ARMmbed/ci-test-shield/blob/master/TESTS/API/InterruptIn/InterruptIn.cpp
The text was updated successfully, but these errors were encountered: