Skip to content

Bring FPGA SPI tests to feature-hal-spec-spi #10816

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 9 commits into from
Jul 8, 2019

Conversation

mprse
Copy link
Contributor

@mprse mprse commented Jun 12, 2019

Description

This PR provides the following changes:

  • brings SPI master/slave tests designed for the FPGA-Test-Shield to the spi feature branch,
  • enables FPGA test shield component for: K64F, K66F, NUCLEO_F429ZI (can FPGA-Test-Shield be connected to these CI boards ?),
  • adds limitation for supported clock modes (K64F),
  • adds documentation for FPGA-Test-Shield SPI tests (new HAL API)

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[ ] Functionality change
[ ] Docs update
[X] Test update
[ ] Breaking change

Reviewers

@jamesbeyond Can you check the test documentation?

@ciarmcom ciarmcom requested review from jamesbeyond and a team June 12, 2019 15:00
@ciarmcom
Copy link
Member

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

@adbridge
Copy link
Contributor

@jamesbeyond could you review please?

@mprse mprse force-pushed the bring_fpga_spi_tests branch from feb576e to 3a9b530 Compare June 21, 2019 09:06
@mprse
Copy link
Contributor Author

mprse commented Jun 21, 2019

Removed commit which adds FPGA test shield component for: K64F, K66F, NUCLEO_F429ZI. With this component, spi tests would be executed on CI and probably Ci boards do not have FPGA-Test-Shields connected.
To run the tests this component must be added manually.

@jamesbeyond
Copy link
Contributor

Hi @ARMmbed/mbed-os-maintainers this PR is for workshop next week, please mark this as high importance.

Copy link
Contributor

@jamesbeyond jamesbeyond left a comment

Choose a reason for hiding this comment

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

The header files for the tests are required

@mprse
Copy link
Contributor Author

mprse commented Jul 3, 2019

Added test header files and mapped test functions to the defined behavior.
PR is ready for review and CI.

Copy link
Contributor

@jamesbeyond jamesbeyond left a comment

Choose a reason for hiding this comment

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

The header files look good

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 5, 2019

In CI now

@mbed-ci
Copy link

mbed-ci commented Jul 5, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 1
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM
  • jenkins-ci/mbed-os-ci_build-IAR

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 5, 2019

This needs to be rebased now

@mprse mprse force-pushed the bring_fpga_spi_tests branch from 844cc62 to b92b497 Compare July 5, 2019 09:56
@mprse
Copy link
Contributor Author

mprse commented Jul 5, 2019

Rebased feature branch and this PR.

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 5, 2019

In CI now

@mbed-ci
Copy link

mbed-ci commented Jul 5, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 2
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-GCC_ARM
  • jenkins-ci/mbed-os-ci_build-IAR
  • jenkins-ci/mbed-os-ci_build-ARM

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 5, 2019

CI restarted

@mprse
Copy link
Contributor Author

mprse commented Jul 5, 2019

If this will pass please DO NOT MERGE I will add test restrictions as here: PR #10975

@mbed-ci
Copy link

mbed-ci commented Jul 5, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 3
Build artifacts

@mprse
Copy link
Contributor Author

mprse commented Jul 5, 2019

@0xc0170 Added restriction for Arduino form factor only. We can start CI again and remove do not merge.

@mprse mprse force-pushed the bring_fpga_spi_tests branch from 6300dc3 to bd8142e Compare July 8, 2019 06:24
@0xc0170
Copy link
Contributor

0xc0170 commented Jul 8, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Jul 8, 2019

Test run: FAILED

Summary: 3 of 4 test jobs failed
Build number : 4
Build artifacts

Failed test jobs:

  • jenkins-ci/mbed-os-ci_build-ARM
  • jenkins-ci/mbed-os-ci_build-GCC_ARM
  • jenkins-ci/mbed-os-ci_build-IAR

@mprse mprse force-pushed the bring_fpga_spi_tests branch from 83c8c11 to b06b57c Compare July 8, 2019 11:38
@mprse
Copy link
Contributor Author

mprse commented Jul 8, 2019

Looks like now CI is building Mbed-os for all targets and some issues have been found.
All should be fixed now.

@0xc0170 Can we try again?

@0xc0170
Copy link
Contributor

0xc0170 commented Jul 8, 2019

CI restarted

@mbed-ci
Copy link

mbed-ci commented Jul 8, 2019

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 5
Build artifacts

@mprse
Copy link
Contributor Author

mprse commented Jul 8, 2019

@0xc0170 Ready do go!

@0xc0170 0xc0170 merged commit f88b7cb into ARMmbed:feature-hal-spec-spi Jul 8, 2019
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.

6 participants