Skip to content

Start FPGA getting started guide in target.md #1083

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 3 commits into from
Jun 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions docs/porting/target/target.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,18 @@ The Mbed OS HAL provides a set of conformance tests for the Mbed OS HAL APIs. Yo
```
mbed test -t <toolchain> -m <target> -n mbed-os-tests-mbed_hal*
```

Copy link
Contributor

Choose a reason for hiding this comment

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

if PR ARMmbed/mbed-os#10820 will come in in current form, then:
mbed-os-tests-mbed_hal* -> tests-mbed_hal_fpga_ci_test_shield*.

Copy link
Contributor

Choose a reason for hiding this comment

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

I just realized that this line is for general HAL testing, so please ignore this comment.

### FPGA

You can test your port using the FPGA test shield component, which you can find in the `mbed-os` repository.

To run the FPGA test shield test, perform the following steps:

1. Ensure the FPGA test shield is programmed with the latest firmware version.
1. Connect the FPGA test shield to the Device Under Test.
1. Set the jumper on the FPGA test shield to select USB power.
1. Connect the power to the FPGA test shield using a USB cable.
1. Add the `FPGA_CI_TEST_SHIELD` component to the Device Under Test in the `targets.json` configuration file.
1. Run the test:

`tests-mbed_hal_fpga_ci_test_shield-spi`