Skip to content

Commit

Permalink
test: Enable the GPIO tests on mec172xevb_assy6906
Browse files Browse the repository at this point in the history
Enable testcases under tests/drivers/gpio/gpio_basic_api
To run in twister, "-X gpio_loopback" parameter is needed

Signed-off-by: Hu Zhenyu <[email protected]>
  • Loading branch information
hunterhu3000 authored and carlescufi committed Jun 5, 2022
1 parent 0130594 commit 312ed25
Showing 1 changed file with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* Copyright (c) 2019 Intel Corporation
* Copyright (c) 2019 Nordic Semiconductor ASA
*
* SPDX-License-Identifier: Apache-2.0
*/

/ {
resources {
compatible = "test-gpio-basic-api";

/*
* Connect the JP71 pin 11 and 13 to test the GPIO loopback
*/
in-gpios = <&gpio_140_176 14 0>; /* GPIO_156, JP71 Pin 11 */
out-gpios = <&gpio_140_176 15 0>; /* GPIO_157, JP71 Pin 13 */
};
};

0 comments on commit 312ed25

Please sign in to comment.