Skip to content

Commit d425dc9

Browse files
author
Filip Jagodzinski
committed
FPGA test shield: Restrict tests to Arduino FF only
Currently only the Arduino form factor is supported. Support for other form factors will be added in the future.
1 parent a415dfa commit d425dc9

File tree

8 files changed

+16
-0
lines changed

8 files changed

+16
-0
lines changed

TESTS/mbed_hal_fpga_ci_test_shield/analogin/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] Analog in not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/analogout/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] Analog out not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/gpio/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717

1818
#if !COMPONENT_FPGA_CI_TEST_SHIELD
1919
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
20+
#elif !TARGET_FF_ARDUINO
21+
#error [NOT_SUPPORTED] Test not supported for this form factor
2022
#else
2123

2224
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/gpio_irq/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] test not supported
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/i2c/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] I2C not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/pwm/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] PWM not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/spi/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] SPI not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

TESTS/mbed_hal_fpga_ci_test_shield/uart/main.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
#error [NOT_SUPPORTED] SERIAL not supported for this target
2020
#elif !COMPONENT_FPGA_CI_TEST_SHIELD
2121
#error [NOT_SUPPORTED] FPGA CI Test Shield is needed to run this test
22+
#elif !TARGET_FF_ARDUINO
23+
#error [NOT_SUPPORTED] Test not supported for this form factor
2224
#else
2325

2426
#include "utest/utest.h"

0 commit comments

Comments
 (0)