mbed-os / TESTS / mbed_hal_fpga_ci_test_shield /
@jeromecoutant jeromecoutant authored on 14 Apr 2020
..
analogin Change explicit pinmap to static pinmap 4 years ago
gpio Tests: GPIO: Use the get_capabilities() 4 years ago
gpio_irq Add header files to fpga tests, update test names 4 years ago
i2c FPGA: Enlarge timeout with mbed_hal_fpga_ci_test_shield-i2c 4 years ago
pwm - Fix the CI build issue. 4 years ago
spi SPI FPGA test: Test all possible pin configurations to init SPI 4 years ago
uart FPGA UART test: disable 7 bits test for K64F 4 years ago
README.md FPGA test: Add ReadMe file 4 years ago
fpga_test_shield.jpg FPGA test: Add ReadMe file 4 years ago
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