mbed-os/TESTS/mbed_hal_fpga_ci_test_shield
jeromecoutant 1a64d6e525 FPGA UART test: disable 7 bits test for K64F 2020-05-18 11:48:27 +02:00
..
analogin Change explicit pinmap to static pinmap 2019-11-28 08:32:12 +01:00
gpio Tests: GPIO: Use the get_capabilities() 2020-02-19 18:35:19 +01:00
gpio_irq Add header files to fpga tests, update test names 2019-10-28 13:10:51 +01:00
i2c FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c 2020-02-10 17:39:54 +08:00
pwm - Fix the CI build issue. 2020-04-08 10:35:07 +01:00
spi SPI FPGA test: Test all possible pin configurations to init SPI 2020-02-19 11:46:44 +01:00
uart FPGA UART test: disable 7 bits test for K64F 2020-05-18 11:48:27 +02:00
README.md FPGA test: Add ReadMe file 2020-05-18 11:48:26 +02:00
fpga_test_shield.jpg FPGA test: Add ReadMe file 2020-05-18 11:48:26 +02:00

README.md

Testing with FPGA CI TEST shield

Setup

30% center

mbed test -n tests*fpga* --app-config tests/configs/fpga.json

FPGA_CI_TEST_SHIELD needed macro
and specific test capabilities per target
are defined in:
https://github.com/ARMmbed/mbed-os/blob/master/TESTS/configs/fpga.json

MBED-OS

Tested from factor is defined by MBED_CONF_TARGET_DEFAULT_FORM_FACTOR
"default-form-factor" default value is null.

When "default-form-factor" is not set, ARDUINO form factor is used.

Default ff_arduino_pins is defined in: https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L28-L32

Default ff_arduino_names is defined in: https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L34-L38

Default empty_gpio_pinmap is defined in: https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_gpio.c#L89-L114

Some pins are restricted: https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L69-L73

Some peripherals are restricted: https://github.com/ARMmbed/mbed-os/blob/master/hal/mbed_pinmap_default.cpp#L94-L100

Known issues

https://github.com/ARMmbed/fpga-ci-test-shield

https://github.com/ARMmbed/fpga-ci-test-shield-updater

https://github.com/ARMmbed/fpga-ci-test-shield-terminal