Test that the new port API functions all behave as expected, including physical vs logical level for input and output as well as masked and set-based output operations. Also tests the new pin API functions. For running on real hardware this test now uses a local test-specific devicetree binding. For build-only tests any platform with a GPIO alias should be tested. The new code increases flash requirements so add a filter to exclude platforms that won't link. Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
14 lines
251 B
Plaintext
14 lines
251 B
Plaintext
/*
|
|
* Copyright (c) 2019 Nordic Semiconductor ASA
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/ {
|
|
resources {
|
|
compatible = "test,gpio_basic_api";
|
|
out-gpios = <&gpioc 16 0>; /* Arduino D0 */
|
|
in-gpios = <&gpioc 17 0>; /* Arduino D1 */
|
|
};
|
|
};
|