mbed-os/hal/tests/TESTS/mbed_hal_fpga_ci_test_shield
Rajkumar Kanagaraj 7d7159d20f
Apply suggestions from code review
Co-authored-by: Hugues Kamba <41612201+hugueskamba@users.noreply.github.com>
2021-01-08 03:21:03 -08:00
..
analogin CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
gpio CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
gpio_irq CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
i2c CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
pwm CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
spi CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
uart CMake: Add support for mbed_hal_fpga_ci_test_shield greentea test 2021-01-05 09:10:45 -08:00
CMakeLists.txt Apply suggestions from code review 2021-01-08 03:21:03 -08:00
README.md - Remove components reference from travis 2020-09-11 14:33:18 +01:00
fpga_test_shield.jpg Move greentea tests closure to library 2020-08-25 15:15:53 +01:00

README.md

Testing with FPGA CI TEST shield

Setup

30% center

mbed test -n hal-tests-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/source/mbed_pinmap_default.cpp#L28-L32

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

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

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

Some peripherals are restricted: https://github.com/ARMmbed/mbed-os/blob/master/hal/source/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