Skip to content
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

EP_ATLAS: Fix mbedtools build errors #14418

Merged
merged 2 commits into from
Mar 15, 2021

Conversation

hugueskamba
Copy link
Collaborator

Summary of changes

The EP_ATLAS Mbed board file structure creates a dependency on mbed-cellular and mbed-usb. However, these two library are not always needed when building applications that do not make use of the cellular connectivity or USB port.
This PR makes changes to remove the dependency on mbed-cellular and mbed-usb to make them optional.

For more information see individual commit messages in this PR.

Impact of changes

Migration actions required

Documentation


Pull request type

[x] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[x] Covered by existing mbed-os tests (Greentea or Unittest)
[] Tests / results supplied as part of this PR

Reviewers

@0xc0170 @pan- @Patater @ARMmbed/team-nordic @MarceloSalazar


@ciarmcom ciarmcom added the release-type: patch Indentifies a PR as containing just a patch label Mar 11, 2021
@ciarmcom ciarmcom requested review from 0xc0170, MarceloSalazar, pan-, Patater and a team March 11, 2021 14:00
@ciarmcom
Copy link
Member

@hugueskamba, thank you for your changes.
@pan- @MarceloSalazar @0xc0170 @Patater @ARMmbed/mbed-os-maintainers please review.

@trowbridgec
Copy link

@ARMmbed/team-embeddedplanet

Enable Onboard TELIT ME310 driver only when cellular library is included.

This allows us to remove the cellular library as a requirement

to build applications that do not require it (i.e Blinky).
Move inclusion of USB header file within the existing
conditional pre-processor directive so the USB library
is not required if USB stdio console is disable
@hugueskamba hugueskamba force-pushed the hk_cmake_fix_ep_atlas branch from 36c34c5 to 811a72a Compare March 12, 2021 12:19
@mergify mergify bot added needs: CI and removed needs: review labels Mar 12, 2021
@0xc0170
Copy link
Contributor

0xc0170 commented Mar 12, 2021

I started CI meanwhile

@mbed-ci
Copy link

mbed-ci commented Mar 12, 2021

Jenkins CI Test : ✔️ SUCCESS

Build Number: 1 | 🔒 Jenkins CI Job | 🌐 Logs & Artifacts

CLICK for Detailed Summary

jobs Status
jenkins-ci/mbed-os-ci_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_build-cloud-example-ARM ✔️
jenkins-ci/mbed-os-ci_unittests ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️

@mbedmain mbedmain removed release-type: patch Indentifies a PR as containing just a patch Release-pending labels Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants