zephyr/tests/drivers/gpio/gpio_basic_api/boards/native_sim.overlay
Alberto Escolar Piedras 982425f818 tests/drivers/gpio/*: Switch to native_sim
Switch from native_posix to native_sim as default test platform
And switch overlays to native_sim.

For gpio_enable_disable_interrupt, also filter with
platform_allow to save time, as the dt filter requires cmake
to be run, but only the platforms with overlays provided
by the test can be run.

Signed-off-by: Alberto Escolar Piedras <alberto.escolar.piedras@nordicsemi.no>
2023-11-22 09:53:20 +01:00

18 lines
287 B
Plaintext

/*
* Copyright (c) 2020 Friedt Professional Engineering Services, Inc
*
* SPDX-License-Identifier: Apache-2.0
*/
/ {
resources {
compatible = "test-gpio-basic-api";
out-gpios = <&gpio0 0 0>; /* Pin 0 */
in-gpios = <&gpio0 1 0>; /* Pin 1 */
};
};
&gpio0 {
ngpios = <2>;
};