File tree Expand file tree Collapse file tree 2 files changed +35
-0
lines changed
hal/tests/TESTS/pin_names Expand file tree Collapse file tree 2 files changed +35
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2021 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ include (mbed_greentea )
5
+
6
+ if (NOT "TARGET_FF_ARDUINO_UNO" IN_LIST MBED_TARGET_DEFINITIONS )
7
+ set (TEST_SKIPPED "Test needs Arduino Uno form factor" )
8
+ endif ()
9
+
10
+ mbed_greentea_add_test (
11
+ TEST_NAME
12
+ mbed-hal-pin-names-arduino_uno
13
+ TEST_SOURCES
14
+ main.cpp
15
+ TEST_SKIPPED
16
+ ${TEST_SKIPPED}
17
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2021 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ include (mbed_greentea )
5
+
6
+ # This test is enabled via CMake command-line argument -DMBED_HAL_PIN_NAMES_GENERIC_TEST=ON.
7
+ if (NOT MBED_HAL_PIN_NAMES_GENERIC_TEST )
8
+ set (TEST_SKIPPED "Pin names generic test is not enabled for this Target" )
9
+ endif ()
10
+
11
+ mbed_greentea_add_test (
12
+ TEST_NAME
13
+ mbed-hal-pin-names-generic
14
+ TEST_SOURCES
15
+ main.cpp
16
+ TEST_SKIPPED
17
+ ${TEST_SKIPPED}
18
+ )
You can’t perform that action at this time.
0 commit comments