-
Notifications
You must be signed in to change notification settings - Fork 3k
mbed test with dual core targets #12630
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
Conversation
@jeromecoutant, thank you for your changes. |
Can you amend the commit message to explain there how That is also my question. Looking at the code change, I do not fully understand how removing these suffixes solves the dual core test issue (what is the actual issue there). |
OK Behind DISCO_H747I target, there are in fact 2 sub-targets, CM4 and CM7 targets. From USB connection point of view, there is only 1 cable. From mbedls point of view, and then greentea tests point of view, DISCO_H747I is defined.
Coming soon: hex format drag and drop feature |
For Dual Core targets, there are in fact 2 sub-targets, CM4 and CM7 targets. This allows to execute tests with boards detected by mbedls.
8a052f1
to
6c57c9f
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.
@jamesbeyond might have a view on this as it seems to affect test code only. I am not in favour of arbitrarily stripping parts of a device ID as this implies the ID is compound. There should be a better way of implementing boards with multiple build targets...
Hi @mark-edgeworth, I think this is not only related to tests. this is related to builds API as well. If I recalled the correctly, this is the exact case like what we been discussed in the new The old tool couldn't handle and clarify them very well. I hope the new tool could take those use cases into consideration. |
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.
as for this PR, I am OK with the changes, because there is no better option to do it on the current tools.
Yes, this is the same problem, and it is being considered in the new build tools. |
CI started |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Failure is unrelated so restarting CI |
Test run: FAILEDSummary: 1 of 6 test jobs failed Failed test jobs:
|
Tests have an issue, we are investigating |
test restarted |
Summary of changes
mbed test -m
is using mbedls result to detect the correct plugged target on host.
There is an issue with dual core chips,
because 2 different targets exist in the targets.json file for the same HW
Patch proposal:
@MarceloSalazar
Impact of changes
Migration actions required
Documentation
Pull request type
Test results
Tested with a beta version of STLinkFW supporting hex format
Reviewers