-
Notifications
You must be signed in to change notification settings - Fork 3k
Add baremetal example to testing #10131
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
Add baremetal example to testing #10131
Conversation
ec6564f
to
0abe178
Compare
@kegilbert, thank you for your changes. |
Baremetal is part of 5.12. One note about naming - shouldn't be baremetal as suffix (blinky-baremetal) rather? |
0abe178
to
6139b01
Compare
@0xc0170 Updated the example names and pointed to the Mbed OS 5.12 branch. |
CI started |
@kegilbert Plz fix, k thx. |
Test run: FAILEDSummary: 4 of 9 test jobs failed Failed test jobs:
|
6139b01
to
288d339
Compare
@cmonr Limited the list of targets to ignore boards that are not built for Mbed OS 2 (mainly targets that were pulling in WifiInterface files that required RTOS classes). |
CI started |
Test run: FAILEDSummary: 1 of 13 test jobs failed Failed test jobs:
|
CI job restarted: Hate it when an exporter job fails because the JVM threw a fit (gnuarmeclipse ide). |
Exporters restarted again |
Exporters failing for multiple boards and 2nd time, please review |
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.
That's confusing. Well not these changes but the new example. There's not explanation what it illustrates and why is it there. We should at least add a description for external users saying what does it do and what's bare metal (with link to docs).
I'm touching up some of the baremetal/migration guide docs. I'm planning on adding a blurb there pointing to this is an out of the box baremetal example. |
@kegilbert You might need to take a look at the failure logs. There might be problem with the PR/targets after all: |
Don't seem to have access to that link @cmonr. |
@theotherjimmy We spoke offline, it sounds like a fundamental limitation in gnuarmeclipse requiring a large amount of effort to update in our tools. Proposed path forward is to remove gnuarmeclipse testing for this example, update the docs to reflect that baremetal does not currently work in gnuarmeclipse, and throw a warning in the tools when a baremetal project is exported for the contemptuous IDE. |
@kegilbert I'm not sure that I can fix this in a short order, because I don't know how I would fix this. I would expect this to take > 1day of work (which is all we have left before RC4) |
It has not been updated, neither any PR referencing this one. This might not be in rc4 if it does not get an update within next few hours. |
@kegilbert @theotherjimmy Could you not just add the list of exporters that do work to the exporters list in examples.json ? Though that would obviously only help our internal testing. @kegilbert BTW you will need to talk to @screamerbg to get this example mirrored to os.mbed.com..... |
baremetal does not currently work with gnuarmeclipse
Apologies for the delay, updated the exporter list and updated the OS teams example @adbridge |
CI restarted |
Test run: FAILEDSummary: 1 of 13 test jobs failed Failed test jobs:
|
@kegilbert still failing exporters by the looks of it :( |
Bumping this out to 5.12.1 |
It's failing for uvision6 on the LPC55S69_NS, which is not a target included in my list for the baremetal example. Any idea why that one would be failing? |
Oh hey that target is failing on my PR as well: #10193 |
CI restarted. |
Test run: SUCCESSSummary: 13 of 13 test jobs passed |
…ples-test Add baremetal example to testing
Description
Add a basic baremetal blinky example to the test framework to get a smoketest of baremetal (currently have none in CI). @bulislaw Does this look like a more reasonable solution than modifying blinky?
@cmonr Should bare-metal be in 5.11.5? It was merged a couple of weeks before that release branch was made but I don't see it in there. I can either remove the bare-metal build profile from the example until the example is updated to 5.12 or point to a RC branch for the example's mbed-os hash. I wasn't 100% on the examples policy on what we can point to.See Martin's reply: #10131 (comment)
Pull request type
Reviewers
@bulislaw @SenRamakri
Release Notes