mbed test with dual core targets#12630
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
mark-edgeworth
left a comment
There was a problem hiding this comment.
@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. |
jamesbeyond
left a comment
There was a problem hiding this comment.
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