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

Standard Pin Names #14381

Merged
merged 22 commits into from
Mar 22, 2021
Merged

Standard Pin Names #14381

merged 22 commits into from
Mar 22, 2021

Conversation

gpsimenos
Copy link
Contributor

@gpsimenos gpsimenos commented Mar 4, 2021

Summary of changes

This PR introduces standard pin names for Mbed and migrates a number of ST targets to this standard. It also includes compliance testing tools based on static analysis and Greentea tests, and adds target markers to PinNames.h files so that they can be reliably matched to their corresponding target.

Impact of changes

Migration actions required

Documentation

Porting and developer guide in place (waiting for this to be merged)
ARMmbed/mbed-os-5-docs#1417


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[X] 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)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[X] Tests / results supplied as part of this PR

Reviewers

@MarceloSalazar @jeromecoutant

@ciarmcom
Copy link
Member

ciarmcom commented Mar 4, 2021

@gpsimenos, thank you for your changes.
@MarceloSalazar @jeromecoutant @ARMmbed/team-gigadevice @ARMmbed/mbed-os-hal @ARMmbed/team-analogdevices @ARMmbed/team-nuvoton @ARMmbed/team-st-mcd @ARMmbed/team-maximintegrated @ARMmbed/team-nxp @ARMmbed/team-toshiba @ARMmbed/team-arm-oss-platform @ARMmbed/mbed-os-connectivity @ARMmbed/mbed-os-test @ARMmbed/team-samsung @ARMmbed/team-sparkfun @ARMmbed/team-nordic @ARMmbed/team-cypress @ARMmbed/team-renesas-rz @ARMmbed/team-silabs @ARMmbed/mbed-os-maintainers please review.

@mergify mergify bot dismissed 0xc0170’s stale review March 18, 2021 17:03

Pull request has been modified.

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 19, 2021

CI started

@mbed-ci
Copy link

mbed-ci commented Mar 19, 2021

Jenkins CI Test : ❌ FAILED

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

CLICK for Detailed Summary

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

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 19, 2021

CI restarted

@mbed-ci
Copy link

mbed-ci commented Mar 19, 2021

Jenkins CI Test : ❌ FAILED

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

CLICK for Detailed Summary

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

@mbed-ci
Copy link

mbed-ci commented Mar 19, 2021

Jenkins CI Test : ✔️ SUCCESS

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

CLICK for Detailed Summary

jobs Status
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_build-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-ARM ✔️
jenkins-ci/mbed-os-ci_build-greentea-ARM ✔️
jenkins-ci/mbed-os-ci_build-example-GCC_ARM ✔️
jenkins-ci/mbed-os-ci_cmake-example-test ✔️
jenkins-ci/mbed-os-ci_greentea-test ✔️
jenkins-ci/mbed-os-ci_tfm-integration ✔️

@0xc0170
Copy link
Contributor

0xc0170 commented Mar 22, 2021

Travis failure is expected to be red here as any other subsequent PR will be green again.

@0xc0170 0xc0170 merged commit 4ab347c into master Mar 22, 2021
@mergify mergify bot removed the ready for merge label Mar 22, 2021
#define MBED_PIN_NAME_ALIASES_H

/* Aliases for legacy reasons. To be removed in the next Mbed OS version */
#if defined (CONSOLE_TX) && (CONSOLE_RX)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CONSOLE_TX and CONSOLE_RX are defined as enum,
So #if defined will be always "false"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment