tests: gpio_basic_api: Enable test on stm32 boards

Add boards overlay to enable gpio_basic tests.
Selected boards should reflect various stm32 series.

Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
This commit is contained in:
Erwan Gouriou 2019-10-04 21:02:28 +02:00 committed by Carles Cufí
commit 50984b17a1
13 changed files with 160 additions and 0 deletions

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 6 0>; /* Arduino D0 */
in-gpios = <&arduino_header 7 0>; /* Arduino D1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 11 0>; /* Arduino D5 */
in-gpios = <&arduino_header 12 0>; /* Arduino D6 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 6 0>; /* Arduino D0 */
in-gpios = <&arduino_header 7 0>; /* Arduino D1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 20 0>; /* Arduino D14 */
in-gpios = <&arduino_header 21 0>; /* Arduino D15 */
};
};

View file

@ -0,0 +1,4 @@
# Copyright (c) 2019 Linaro Limited
# SPDX-License-Identifier: Apache-2.0
CONFIG_RAM_CONSOLE_BUFFER_SIZE=80000

View file

@ -0,0 +1,13 @@
/*
* Copyright (c) 2019 Linaro Limited
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test,gpio_basic_api";
out-gpios = <&arduino_header 0 0>; /* Arduino A0 */
in-gpios = <&arduino_header 1 0>; /* Arduino A1 */
};
};