mirror of https://github.com/ARMmbed/mbed-os.git
FPGA test shield: Allow any defined form factor
Build in the FPGA tests if either MBED_CONF_TARGET_DEFAULT_FORM_FACTOR or TARGET_FF_ARDUINO is defined.pull/11023/head
parent
5a007262b4
commit
b0de32c07c
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] Analog in not supported for this target
|
#error [NOT_SUPPORTED] Analog in not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] Analog out not supported for this target
|
#error [NOT_SUPPORTED] Analog out not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
#if !COMPONENT_FPGA_CI_TEST_SHIELD
|
#if !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] test not supported
|
#error [NOT_SUPPORTED] test not supported
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] I2C not supported for this target
|
#error [NOT_SUPPORTED] I2C not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] PWM not supported for this target
|
#error [NOT_SUPPORTED] PWM not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] SPI not supported for this target
|
#error [NOT_SUPPORTED] SPI not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@
|
||||||
#error [NOT_SUPPORTED] SERIAL not supported for this target
|
#error [NOT_SUPPORTED] SERIAL not supported for this target
|
||||||
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
|
||||||
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
|
||||||
#elif !TARGET_FF_ARDUINO
|
#elif !defined(TARGET_FF_ARDUINO) && !defined(MBED_CONF_TARGET_DEFAULT_FORM_FACTOR)
|
||||||
#error [NOT_SUPPORTED] Test not supported for this form factor
|
#error [NOT_SUPPORTED] Test not supported for this form factor
|
||||||
#else
|
#else
|
||||||
|
|
||||||
|
@ -340,4 +340,4 @@ int main()
|
||||||
Harness::run(specification);
|
Harness::run(specification);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* !DEVICE_SERIAL */
|
#endif /* !DEVICE_SERIAL */
|
||||||
|
|
Loading…
Reference in New Issue