Skip to content

Disable restricted uart peripheral for NRF52840 #12407

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

Merged
merged 1 commit into from
Feb 13, 2020

Conversation

mprse
Copy link
Contributor

@mprse mprse commented Feb 11, 2020

Summary of changes

While testing it has been found that all tests are skipped in the FPGA uart test on the NRF52840 target.

This is caused by the following change: PR #12379

The above PR adds STDIO UART as restricted for FPGA testing for all targets.

NRF targets have MUXed pins and mainly do not provide pin-maps. There are only dummy pin-maps for testing.
These pin-maps hold only pins and do not specify the peripheral or function of the pin (always 0). Because of that if we restrict STDIO uart peripheral (0) all FPGA uart test cases will be skipped.
To fix this we will remove this restriction for NRF52840. Restriction for testing the USBTX, USBRX pins is sufficient in this case.

@fkjagodzinski Thanks for catching this!

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
@maciejbocianski @fkjagodzinski @jamesbeyond


While testing it has been found that all tests are skipped in the FPGA uart test on the NRF52840 target.

This is caused by the following change:
ARMmbed#12379 - Add STDIO UART as restricted for FPGA testing for all targets

NRF targets have MUXed pins and mainly do not provide pin-maps. There are only dummy pin-maps for testing.
These pin-maps hold only pins and do not specify the peripheral or function of the pin (always 0). Because of that if we restrict STDIO uart peripheral (0) all FPGA uart test cases will be skipped.
To fix this we will remove this restriction for NRF52840. Restriction for testing the USBTX, USBRX pins is sufficient in this case.
@ciarmcom
Copy link
Member

@mprse, thank you for your changes.
@fkjagodzinski @maciejbocianski @jamesbeyond @0xc0170 @ARMmbed/mbed-os-maintainers please review.

@0Grit
Copy link

0Grit commented Feb 11, 2020

@trowbridgec @AGlass0fMilk

@mergify mergify bot added needs: CI and removed needs: review labels Feb 11, 2020
@0xc0170
Copy link
Contributor

0xc0170 commented Feb 12, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Feb 13, 2020

Test run: FAILED

Summary: 1 of 11 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_dynamic-memory-usage

@mprse
Copy link
Contributor Author

mprse commented Feb 13, 2020

@0xc0170 I think that this CI failure is not related.

@0xc0170
Copy link
Contributor

0xc0170 commented Feb 13, 2020

Job restarted (internal fault)

@0xc0170 0xc0170 added the release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0 label Feb 13, 2020
@0xc0170 0xc0170 merged commit df6d072 into ARMmbed:master Feb 13, 2020
@mergify mergify bot removed the ready for merge label Feb 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-version: 6.0.0-alpha-2 Second pre-release version of 6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants