Skip to content

Commit ba94adb

Browse files
committed
FPGA test: Add ReadMe file
1 parent 6900ec6 commit ba94adb

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Testing with FPGA CI TEST shield
2+
3+
## Setup
4+
5+
![30% center](fpga_test_shield.jpg)
6+
7+
```
8+
mbed test -n tests*fpga* --app-config tests/configs/fpga.json
9+
```
10+
11+
FPGA_CI_TEST_SHIELD needed macro
12+
and specific test capabilities per target
13+
are defined in:
14+
https://github.com/ARMmbed/mbed-os/blob/master/TESTS/configs/fpga.json
15+
16+
17+
18+
## MBED-OS
19+
20+
Tested from factor is defined by MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
21+
"default-form-factor" default value is null.
22+
23+
When "default-form-factor" is not set, ARDUINO form factor is used.
24+
25+
Default ff_arduino_pins is defined in:
26+
https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L28-L32
27+
28+
Default ff_arduino_names is defined in:
29+
https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L34-L38
30+
31+
Default empty_gpio_pinmap is defined in:
32+
https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_gpio.c#L89-L114
33+
34+
Some pins are restricted:
35+
https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L69-L73
36+
37+
Some peripherals are restricted:
38+
https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L94-L100
39+
40+
41+
## Known issues
42+
43+
44+
## LINKS
45+
46+
https://github.com/ARMmbed/fpga-ci-test-shield
47+
48+
https://github.com/ARMmbed/fpga-ci-test-shield-updater
49+
50+
https://github.com/ARMmbed/fpga-ci-test-shield-terminal
51+
Loading

0 commit comments

Comments
 (0)